
/* -------------------------------------------------------------------------
   Auth & User System Styles
   ------------------------------------------------------------------------- */
   
.user-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 12px;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 4px 16px 4px 4px; /* Less padding on left where avatar is */
    border-radius: 50px;
    background: #f1f5f9;
    border: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.user-dropdown-btn:hover {
    background: #e2e8f0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.user-gold-badge {
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
    animation: pulseGoldSmall 2s infinite ease-in-out;
}

@keyframes pulseGoldSmall {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.6)); }
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 12px 0;
    border: 1px solid var(--border-color);
}

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

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.user-dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.user-dropdown-menu a i {
    width: 16px;
    text-align: center;
}

/* Fixed header specific overrides (if any) can be placed here, though the default is now correct for white backgrounds */

/* Auth Page specific styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    padding: 40px 20px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-card h1 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: white;
    color: #444;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: var(--shadow-sm);
}

.btn-google img {
    width: 24px;
    height: 24px;
}

/* Dashboard Cards & Layout */
.dashboard-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.profile-header-card h2 {
    color: white;
    margin-bottom: 4px;
}

.form-section {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.form-section-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-success {
    background-color: #10b981;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-hidden {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid #6b7280;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b; /* Amber/Orange */
    border: 1px solid #f59e0b;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444; /* Red */
    border: 1px solid #ef4444;
}

/* Reactions Styles */
.property-reactions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: all 0.2s ease;
}
.reaction-btn i { font-size: 1rem; }
.reaction-btn:hover { background: #f3f4f6; }
.reaction-btn.liked { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: #10b981; }
.reaction-btn.disliked { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: #ef4444; }

.empty-state-box {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.empty-state-box i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.profile-avatar-upload {
    text-align: center;
    margin-bottom: 32px;
}

.profile-avatar-upload img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

/* Notification Types */
.notif-icon.success { background-color: #ecfdf5; color: #10b981; }
.notif-icon.warning { background-color: #fef2f2; color: #ef4444; }
.notif-icon.info { background-color: #eff6ff; color: #3b82f6; }
.notif-icon.user { background-color: rgba(212, 175, 55, 0.1); color: var(--accent-color); }
