/* 1. APP BASE & VARIABLES */
:root {
    --rose-bg: #fff1f2;
    --rose-800: #9f1239;
    --rose-600: #e11d48;
}

html, body {
    background-color: var(--rose-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    
    /* Native App Behavior */
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior-y: none;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

#app {
    height: 100%;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 2. PHASE GRADIENTS (The Visual Highlights) */

/* Menstrual: Red/Pink Gradient */
.bg-gradient-menstrual {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.4);
}

/* PMS: Orange/Warning Gradient */
.bg-gradient-pms {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}

/* Ovulation: Teal/Green (Positive) */
.bg-gradient-ovulation {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

/* Follicular: Blue/Sky */
.bg-gradient-follicular {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.4);
}

/* Luteal: Indigo/Calm */
.bg-gradient-luteal {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* 3. COMPONENT STYLES */
.card {
    border-radius: 24px;
    overflow: hidden;
}

.hero-card {
    border-radius: 32px;
    transition: transform 0.2s;
}

.advice-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.text-rose-800 { color: var(--rose-800); }
.text-rose-600 { color: var(--rose-600); }

/* Inputs */
input.form-control {
    -webkit-user-select: text !important;
    user-select: text !important;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #fecdd3; /* Rose border */
    background-color: white;
}
input.form-control:focus {
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
    border-color: #e11d48;
}
h1:focus {
    outline: none;
}

/* ... keep existing styles ... */

/* Animation for the Accordion */
.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.cursor-pointer {
    cursor: pointer;
}

/* Make sure the x-small font size works */
.x-small {
    font-size: 0.75rem;
}