/* Dusty Rose Theme - Premium Redesign */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Dusty Rose Palette */
    --rose-primary: #9D5C75; 
    --rose-secondary: #E0C0C8;
    --rose-dark: #763E53; 
    --rose-light: #FDF6F8;
    --rose-hover: #884A62; 

    /* Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #4B5563;

    /* Gradients */
    --aurora-bg: radial-gradient(circle at 15% 50%, rgba(157, 92, 117, 0.12), transparent 25%),
                 radial-gradient(circle at 85% 30%, rgba(224, 192, 200, 0.25), transparent 25%);
    
    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

body {
    background: var(--rose-light) !important;
    color: var(--text-primary);
}

.ios-background {
    background: var(--aurora-bg) !important;
}

/* Nav Link Redesign */
.nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1rem !important;
    border-radius: 999px !important;
    font-weight: 500 !important;
    background: transparent !important;
}

.nav-link:hover {
    color: var(--rose-primary) !important;
    background: rgba(157, 92, 117, 0.05) !important;
}

.nav-link.active { 
    background: rgba(157, 92, 117, 0.1) !important;
    color: var(--rose-primary) !important;
    font-weight: 700 !important;
}

/* Profile/Cabinet Button Fix */
#profileBtn {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(157, 92, 117, 0.2) !important;
    color: var(--rose-primary) !important;
}

#profileBtn.active, #profileBtn:hover {
    background: var(--rose-primary) !important;
    color: white !important;
    border-color: var(--rose-primary) !important;
}

#profileBtn .text-gray-700, #profileBtn .text-gray-500 {
    color: inherit !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .ios-title {
    font-family: var(--font-serif) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Buttons */
.ios-button, .btn-primary {
    background: var(--rose-primary) !important;
    border-radius: 12px;
    font-family: var(--font-sans);
    padding: 1rem 2rem !important;
    box-shadow: 0 4px 15px rgba(157, 92, 117, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white !important;
}

.ios-button:hover, .btn-primary:hover {
    background: var(--rose-hover) !important;
    transform: translateY(-2px);
}

/* Filter Buttons - Outline Style */
.filter-btn {
    border: 1px solid rgba(157, 92, 117, 0.2) !important;
    background: white !important;
    color: var(--text-secondary) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

.filter-btn.active {
    background: rgba(157, 92, 117, 0.05) !important;
    border: 2px solid var(--rose-primary) !important;
    color: var(--rose-primary) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.filter-btn:hover:not(.active) {
    border-color: var(--rose-primary) !important;
    color: var(--rose-primary) !important;
}

/* Stat Cards & Color Fixes */
.text-green-600 { color: var(--rose-primary) !important; }
.text-pink-600, .text-pink-500 { color: var(--rose-primary) !important; }
.bg-pink-600, .bg-pink-500 { background-color: var(--rose-primary) !important; }

/* Glass Card */
.glass-card, .contact-card {
    background: rgba(255, 255, 255, 0.75) !important; 
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
}
