/* User Auth Styles */

.user-auth-container {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #334155;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.user-menu-wrapper {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 250px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-header {
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dropdown-email {
    display: block;
    font-weight: 600;
    color: #1e293b;
}

.dropdown-status {
    font-size: 0.8rem;
    color: #64748b;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    color: #334155;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: #f1f5f9;
}

.dropdown-item-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
}

.dropdown-arrow {
    font-size: 0.7rem;
    opacity: 0.5;
}

@media (max-width: 640px) {
    .login-text, .user-email {
        display: none;
    }
}

/* Dark Mode */
[data-theme="dark"] .btn-user {
    background: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .user-dropdown {
    background: #1e293b;
}

[data-theme="dark"] .dropdown-header {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .dropdown-email {
    color: #f1f5f9;
}

[data-theme="dark"] .dropdown-item {
    color: #e2e8f0;
}

[data-theme="dark"] .dropdown-item:hover {
    background: #334155;
}

[data-theme="dark"] .dropdown-divider {
    background: #334155;
}
