/* Auth Button Styles */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.login-btn {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.login-btn:hover {
    background-color: #f5f5f5;
}

.signup-btn {
    background-color: #a33de2;
    color: white;
}

.signup-btn:hover {
    background-color: white;
    color: #a33de2;
    border: 1px solid #a33de2;
}

/* Auth Popup Styles */
.auth-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.auth-popup-content {
    width: 400px;
    max-width: 90%;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.auth-popup.active .auth-popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

.close-popup:hover {
    color: #333;
}

.auth-popup h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #a33de2;
    outline: none;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.forgot-password {
    color: #a33de2;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #a33de2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-submit-btn:hover {
    background-color: white;
    color: #a33de2;
    border: 2px solid #a33de2;
}

.auth-message {
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

.auth-message.error {
    color: #f44336;
}

.auth-message.success {
    color: #4CAF50;
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.auth-switch a {
    color: #a33de2;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* User Account Dropdown */
.user-account {
    position: relative;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.account-btn:hover {
    background-color: #f5f5f5;
}

.account-btn i {
    font-size: 18px;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-top: 10px;
    display: none;
    z-index: 100;
}

.account-dropdown.active {
    display: block;
}

.user-info {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.user-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.user-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.user-stats {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.user-stats h5 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.user-stats ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-stats li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 5px;
    color: #666;
}

.user-stats li span {
    font-weight: 600;
    color: #333;
}

.account-links {
    padding-top: 15px;
}

.account-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.account-links a:hover {
    color: #a33de2;
}

.account-links a i {
    width: 20px;
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    .header-actions {
        margin-right: 60px;
        margin-top: 12px;
    }
    
    .auth-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .whatsapp-btn {
        display: none;
    }
    
    .account-dropdown {
        width: 260px;
        right: -114px;
        top: -250px;
    }
    
    .account-dropdown:before {
        right: 60px;
    }
}

@media (max-width: 480px) {
    .auth-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .account-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .account-btn span {
        display: none;
    }
}