/* ============================================
   PINK FEMININE PROFESSIONAL THEME
   Premium palette: Pink, Rose, Champagne
   ============================================ */

:root {
    /* PRIMARY PALETTE - Pink Feminine */
    --primary: #ec4899;
    --primary-dark: #be185d;
    --primary-light: #f9a8d4;
    --primary-lighter: #fbcfe8;
    --primary-lightest: #fdf2f8;
    
    /* SECONDARY - Rose */
    --secondary: #f43f5e;
    --secondary-dark: #9f1239;
    --secondary-light: #fda4af;
    
    /* ACCENT - Champagne Gold */
    --accent: #fbbf24;
    --accent-dark: #d97706;
    
    /* STATUS COLORS */
    --success: #10b981;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* NEUTRALS */
    --dark: #4a1d3b;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #e5e7eb;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --cream: #fef7f3;
    
    /* GRADIENTS */
    --bg-gradient: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    --bg-gradient-dark: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --bg-gradient-soft: linear-gradient(135deg, #fdf2f8 0%, #fef7f3 100%);
    --bg-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --bg-rose: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
    
    /* SHADOWS */
    --shadow-xs: 0 1px 2px rgba(236, 72, 153, 0.05);
    --shadow-sm: 0 2px 8px rgba(236, 72, 153, 0.08);
    --shadow-md: 0 4px 20px rgba(236, 72, 153, 0.12);
    --shadow-lg: 0 12px 40px rgba(236, 72, 153, 0.18);
    --shadow-xl: 0 20px 60px rgba(236, 72, 153, 0.25);
    --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.3);
    
    /* RADIUS */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;
    
    /* TYPOGRAPHY */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Quicksand', 'Poppins', sans-serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    
    /* TRANSITIONS */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    min-height: 100vh;
    padding: 20px;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decorative background elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 207, 232, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 164, 175, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hidden { display: none !important; }

.view-container {
    animation: viewFadeIn var(--transition-slow);
}

@keyframes viewFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ APP HEADER ============ */
.app-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 28px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-dark);
}

.app-header h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    background: var(--bg-gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.header-subtitle {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
    font-weight: 400;
}

.header-brand {
    display: flex;
    flex-direction: column;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.user-info {
    font-size: 13px;
}

.section-title {
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--bg-gradient-dark);
    border-radius: var(--radius-full);
}

.required {
    color: var(--secondary);
    font-weight: 700;
}

/* ============ GLOBAL LOADER ============ */
.global-loader {
    position: fixed;
    inset: 0;
    background: rgba(253, 242, 248, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-smooth);
}

.global-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    background: white;
    padding: 40px 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 280px;
    border: 2px solid var(--primary-lighter);
}

.loader-heart {
    font-size: 48px;
    animation: heartBeat 1.2s ease-in-out infinite;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
}

.loader-text {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
    font-size: 15px;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: var(--primary-lightest);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--bg-gradient-dark);
    border-radius: var(--radius-full);
    animation: loadProgress 2s ease-in-out infinite;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-lightest);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
    border: 2px solid var(--primary-lightest);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============ SELECTION ============ */
::selection {
    background: var(--primary-lighter);
    color: var(--primary-dark);
}
