/* Custom styles for the authentication API */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navigation styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    font-weight: 600;
    color: var(--bs-info) !important;
}

/* Code blocks */
.code-block {
    position: relative;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #f8f9fa;
    padding: 1rem;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
    border: 1px solid #2a2a2a;
}

/* Section styles */
section {
    scroll-margin-top: 80px; /* For smooth scrolling with fixed navbar */
}

/* Card animations */
.endpoint-card {
    transition: all 0.3s ease;
}

.endpoint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* API method badges */
.method-badge {
    font-size: 0.8rem;
    width: 70px;
    text-align: center;
}

.method-post {
    background-color: var(--bs-success);
}

.method-get {
    background-color: var(--bs-primary);
}

.method-put {
    background-color: var(--bs-warning);
}

.method-delete {
    background-color: var(--bs-danger);
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 5rem 0;
    border-bottom: 4px solid var(--bs-info);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-icon {
        font-size: 3.5rem !important;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        font-size: 2rem !important;
    }
}

/* Footer style */
footer {
    border-top: 1px solid #2a2a2a;
}
