/* Authentication Buttons */
.signin-btn, .signup-btn {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.signin-btn:hover, .signup-btn:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3) !important;
}

.signup-btn {
    background: linear-gradient(135deg, #d4af37, #f4d03f) !important;
    color: #1e3c72 !important;
}

.signup-btn:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-greeting {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown li {
    list-style: none;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: #f8f9fa;
    color: #1e3c72;
}

/* Auth Section Styles */
.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.auth-visual {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.visual-content {
    text-align: center;
    color: white;
}

.logo-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.logo-section span {
    font-size: 1rem;
    opacity: 0.9;
}

.human-image {
    margin-top: 2rem;
}

.human-image img {
    max-width: 250px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.auth-form {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form h2 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-form p {
    color: #666;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.btn-full {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-full:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.auth-links {
    text-align: center;
    margin-top: 1rem;
}

.auth-links a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    color: #d4af37;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .auth-visual {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .signin-btn, .signup-btn {
        margin: 0.5rem 0 !important;
        display: block !important;
    }
    
    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 1rem;
    }
}