/* Mimi Custom Styles */

/* Color Palette */
:root {
    --primary: #E89B9B;
    --secondary: #F2C4A8;
    --accent: #F5DEB3;
    --menstrual: #E89B9B;
    --follicular: #A8D5C4;
    --ovulation: #F5C87A;
    --luteal: #D4A574;
    --warm-white: #fefefe;
    --soft-gray: #f8f9fa;
    --text-muted: #8B7B75;
    --gradient-primary: linear-gradient(135deg, #E89B9B 0%, #F2C4A8 100%);
    --gradient-accent: linear-gradient(135deg, #F5DEB3 0%, #F2C4A8 100%);
}

/* Simplified Hero */
.hero-tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.3;
}

/* Simple Benefits */
.simple-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.benefit-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit-simple:hover {
    transform: translateY(-2px);
}

.benefit-simple-icon {
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-simple span {
    color: #333;
    font-weight: 500;
}

/* Hero CTA */
.hero-cta {
    max-width: 400px;
    margin: 0 auto;
}

/* Today's Insights - Prominent Display */
.insights-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
}

.insights-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.insights-header-icon {
    color: #FFD700;
    width: 28px;
    height: 28px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Enhanced Form Animations */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(232, 155, 155, 0.25);
    transform: scale(1.01);
}

.form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    font-size: 1.1rem;
}

/* Progress Indicators */
.progress-ring {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    fill: transparent;
    animation: progress-fill 1s ease-in-out;
}

@keyframes progress-fill {
    from { stroke-dashoffset: 251.2; }
    to { stroke-dashoffset: var(--progress-offset); }
}

/* Interactive Cards */
.plan-section, .thrive-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-section:hover, .thrive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Phase Progress Animation */
.phase-progress {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.phase-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.phase-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(200px); }
}

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.quick-action-btn {
    background: rgba(255,255,255,0.9);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Insight Bubbles Enhancement */
.insight-bubble {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 15px;
    padding: 12px 18px;
    margin: 8px 0;
    display: inline-block;
    font-size: 0.95rem;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.insight-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,215,0,0.2);
}

.insight-bubble::before {
    content: '✨';
    position: absolute;
    left: -5px;
    top: -5px;
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Success Celebrations */
.celebration {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.celebration.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.celebration::before {
    content: '🎉';
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

/* Smart Form Enhancements */
.smart-input {
    position: relative;
}

.smart-input .form-control:focus + .smart-label {
    color: var(--primary);
    transform: translateY(-25px) scale(0.9);
}

.smart-label {
    position: absolute;
    top: 15px;
    left: 16px;
    background: white;
    padding: 0 5px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #6c757d;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .simple-benefits {
        gap: 0.8rem;
    }
    
    .benefit-simple {
        padding: 0.8rem 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .quick-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Simple Energy Timeline */
.energy-timeline {
    margin: 20px 0;
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-header h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.timeline-header p {
    font-size: 0.9rem;
    margin: 0;
}

.energy-phases {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.phase-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.phase-row.current-phase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-color: #2196f3;
    box-shadow: 0 3px 15px rgba(33, 150, 243, 0.1);
}

.phase-info {
    flex: 1;
    min-width: 160px;
}

.phase-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.phase-focus {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2px;
}

.current-indicator {
    display: block;
    font-size: 0.8rem;
    color: #2196f3;
    font-weight: 600;
}

.energy-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 2;
}

.energy-bar-track {
    flex: 1;
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.energy-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease;
}

.energy-bar-fill.menstrual {
    background: linear-gradient(90deg, #E89B9B 0%, #d18888 100%);
}

.energy-bar-fill.follicular {
    background: linear-gradient(90deg, #A8D5C4 0%, #8fbd9a 100%);
}

.energy-bar-fill.ovulation {
    background: linear-gradient(90deg, #F5C87A 0%, #f0b94e 100%);
}

.energy-bar-fill.luteal {
    background: linear-gradient(90deg, #D4A574 0%, #c4945e 100%);
}

.energy-percentage {
    font-weight: 600;
    color: #333;
    min-width: 40px;
    text-align: right;
}

.insight-box {
    background: linear-gradient(135deg, #fff8e1 0%, #f3e5ab 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #f9e79f;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.insight-icon {
    font-size: 1.2rem;
}

.insight-content {
    color: #5d4e75;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Eye-Catching Insights Hero */
.insights-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.insights-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M30 30L60 30L60 0L30 0L30 30Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.insights-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-main {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-icon i {
    font-size: 48px;
    position: relative;
    z-index: 2;
}

.pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-card.primary {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.stat-card.secondary {
    background: rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.3);
}

.stat-card.accent {
    background: rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.3);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .insights-hero {
        padding: 40px 0;
        text-align: center;
    }
    
    .insights-hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-main {
        min-width: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 15px;
    }
    
    .phase-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .phase-info {
        min-width: auto;
    }
    
    .energy-bar-container {
        width: 100%;
        max-width: 300px;
    }
}

.bar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.bar-fill {
    width: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, var(--primary) 100%);
    border-radius: 25px 25px 0 0;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 10px;
}

.menstrual-bar .bar-fill {
    background: linear-gradient(to top, rgba(232, 155, 155, 0.3) 0%, #E89B9B 100%);
}

.follicular-bar .bar-fill {
    background: linear-gradient(to top, rgba(168, 213, 196, 0.3) 0%, #A8D5C4 100%);
}

.ovulation-bar .bar-fill {
    background: linear-gradient(to top, rgba(245, 200, 122, 0.3) 0%, #F5C87A 100%);
}

.luteal-bar .bar-fill {
    background: linear-gradient(to top, rgba(212, 165, 116, 0.3) 0%, #D4A574 100%);
}

.bar-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 4px;
    text-align: center;
}

.bar-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.phase-info-display {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.info-content {
    text-align: center;
}

.info-content h5 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .energy-bars-container {
        gap: 15px;
    }
    
    .energy-bar {
        width: 60px;
    }
    
    .bar-fill {
        width: 40px;
    }
}

.chart-explanation {
    margin-bottom: 20px;
}

/* Today's Focus Section */
.today-focus-section {
    padding: 10px 0;
}

.current-phase-highlight {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.phase-badge {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}

.phase-badge.luteal {
    background: linear-gradient(135deg, #D4A574 0%, #C8956A 100%);
}

.phase-badge.menstrual {
    background: linear-gradient(135deg, #E89B9B 0%, #D48B8B 100%);
}

.phase-badge.follicular {
    background: linear-gradient(135deg, #A8D5C4 0%, #98C9B4 100%);
}

.phase-badge.ovulation {
    background: linear-gradient(135deg, #F5C87A 0%, #F0BC6A 100%);
}

.phase-summary {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Current Phase Action Plan Styles */
.current-phase-focus {
    padding: 0;
}

.phase-status-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.phase-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--phase-color), var(--phase-color-light));
}

.phase-status-card.phase-follicular {
    --phase-color: #A8D5C4;
    --phase-color-light: #C4E5D4;
    border-color: rgba(168, 213, 196, 0.3);
}

.phase-status-card.phase-ovulation {
    --phase-color: #F5C87A;
    --phase-color-light: #F8D49A;
    border-color: rgba(245, 200, 122, 0.3);
}

.phase-status-card.phase-luteal {
    --phase-color: #D4A574;
    --phase-color-light: #DDB894;
    border-color: rgba(212, 165, 116, 0.3);
}

.phase-status-card.phase-menstrual {
    --phase-color: #E89B9B;
    --phase-color-light: #EDADAD;
    border-color: rgba(232, 155, 155, 0.3);
}

.phase-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.energy-indicator {
    font-size: 0.9rem;
    font-weight: 600;
}

.energy-level {
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.energy-level.high {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.energy-level.peak {
    background: linear-gradient(135deg, #fd7e14, #f39c12);
}

.energy-level.moderate {
    background: linear-gradient(135deg, #6f42c1, #6610f2);
}

.energy-level.low {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.phase-guidance h5 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.phase-guidance > p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.today-priorities {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.priority-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.priority-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.priority-icon {
    width: 20px;
    height: 20px;
    color: var(--phase-color);
    flex-shrink: 0;
}

.priority-item strong {
    color: #333;
    margin-right: 8px;
}

.priority-item {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .phase-info-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .phase-status-card {
        padding: 20px;
    }
    
    .priority-item {
        padding: 12px;
        gap: 10px;
    }
    
    .phase-guidance h5 {
        font-size: 1.2rem;
    }
}

.focus-areas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.focus-area {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.focus-area:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.focus-area.priority-high {
    border-left-color: #E89B9B;
    background: linear-gradient(135deg, rgba(232, 155, 155, 0.05) 0%, white 100%);
}

.focus-area.priority-medium {
    border-left-color: #F5C87A;
    background: linear-gradient(135deg, rgba(245, 200, 122, 0.05) 0%, white 100%);
}

.focus-area.priority-low {
    border-left-color: #A8D5C4;
    background: linear-gradient(135deg, rgba(168, 213, 196, 0.05) 0%, white 100%);
}

.focus-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.priority-high .focus-icon {
    background: linear-gradient(135deg, #E89B9B 0%, #D48B8B 100%);
}

.priority-medium .focus-icon {
    background: linear-gradient(135deg, #F5C87A 0%, #F0BC6A 100%);
}

.priority-low .focus-icon {
    background: linear-gradient(135deg, #A8D5C4 0%, #98C9B4 100%);
}

.focus-content {
    flex-grow: 1;
}

.focus-content h5 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.focus-content p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.focus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.action-tag {
    background: rgba(0,0,0,0.05);
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.action-tag:hover {
    background: rgba(0,0,0,0.1);
}

/* Companion Chat Bubble */
.companion-chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.companion-chat-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.chat-bubble-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-bubble-header:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.chat-bubble-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.avatar-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.chat-bubble-info {
    flex: 1;
}

.chat-bubble-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: white;
}

.chat-bubble-status {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.chat-bubble-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.chat-bubble-content {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    display: block;
}

.companion-response-container {
    padding: 20px;
}

.companion-message-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.companion-message-content.comforting {
    border-left-color: #E89B9B;
    background: linear-gradient(135deg, rgba(232, 155, 155, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.companion-message-content.energetic {
    border-left-color: #F5C87A;
    background: linear-gradient(135deg, rgba(245, 200, 122, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.companion-message-content.calming {
    border-left-color: #A8D5C4;
    background: linear-gradient(135deg, rgba(168, 213, 196, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.companion-message-content.encouraging {
    border-left-color: #D4A574;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.companion-message-content.supportive {
    border-left-color: #B8A3D4;
    background: linear-gradient(135deg, rgba(184, 163, 212, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.companion-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0;
    font-weight: 500;
}

.suggestions-container {
    background: white;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.suggestions-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.companion-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.companion-suggestion:hover {
    background: rgba(0,0,0,0.05);
    transform: translateX(3px);
}

.suggestion-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.companion-suggestion span {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-bubble-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 20px 20px;
    text-align: center;
}

.btn-soft-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-soft-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

.btn-soft-primary.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .companion-chat-bubble {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 10px;
    }
    
    .companion-message-content {
        padding: 12px;
    }
    
    .suggestions-container {
        padding: 12px;
    }
    
    .companion-suggestion {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

.chart-summary {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.phase-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.phase-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.phase-summary.menstrual .phase-dot {
    background: var(--menstrual);
}

.phase-summary.follicular .phase-dot {
    background: var(--follicular);
}

.phase-summary.ovulation .phase-dot {
    background: var(--ovulation);
}

.phase-summary.luteal .phase-dot {
    background: var(--luteal);
}

.phase-summary strong {
    font-size: 0.9rem;
    color: #333;
}

.phase-summary small {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Better chart responsiveness */
@media (max-width: 768px) {
    .chart-container {
        height: 250px;
    }
    
    .phase-summary {
        margin-bottom: 15px;
    }
}

.insights-header h4 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1.3rem;
}

.insights-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.insight-bubble {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 200px;
    flex: 1;
    text-align: center;
}

.insight-bubble:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.insight-bubble:nth-child(1) {
    border-color: rgba(255, 182, 193, 0.4);
}

.insight-bubble:nth-child(2) {
    border-color: rgba(173, 216, 230, 0.4);
}

.insight-bubble:nth-child(3) {
    border-color: rgba(144, 238, 144, 0.4);
}

.insight-bubble:nth-child(4) {
    border-color: rgba(255, 218, 185, 0.4);
}

/* Symptom Tracking Styles */
.rating-slider {
    position: relative;
    margin: 1rem 0;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.range-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pain-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.symptoms-timeline {
    max-height: 400px;
    overflow-y: auto;
}

.symptom-entry {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    align-items: flex-start;
}

.symptom-date {
    min-width: 80px;
    text-align: center;
}

.symptom-details {
    flex: 1;
}

.symptom-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.1rem;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.symptom-badge.pain-1, .symptom-badge.pain-2, .symptom-badge.pain-3 {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.symptom-badge.pain-4, .symptom-badge.pain-5, .symptom-badge.pain-6 {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.symptom-badge.pain-7, .symptom-badge.pain-8, .symptom-badge.pain-9, .symptom-badge.pain-10 {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.symptom-notes {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Partner Dashboard Styles */
.partner-overview {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.phase-indicators {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.indicator {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.indicator-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.indicator-value {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.indicator-value.energy-low {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.indicator-value.energy-medium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.indicator-value.energy-high {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.indicator-value.conflict-low {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.indicator-value.conflict-medium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.indicator-value.conflict-high {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.support-card {
    border-left: 4px solid #28a745;
}

.avoid-card {
    border-left: 4px solid #ffc107;
}

.support-list, .avoid-list {
    list-style: none;
    padding: 0;
}

.support-item, .avoid-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
}

.support-item {
    background: rgba(40, 167, 69, 0.05);
}

.avoid-item {
    background: rgba(255, 193, 7, 0.05);
}

.support-icon {
    color: #28a745;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.avoid-icon {
    color: #ffc107;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.communication-tip {
    padding: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.communication-tip h6 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

/* Career Planner Styles */
.phase-card {
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1rem;
}

.phase-card.menstrual {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.phase-card.follicular {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.phase-card.ovulation {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.phase-card.luteal {
    background: linear-gradient(135deg, rgba(102, 16, 242, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(102, 16, 242, 0.2);
}

.phase-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.phase-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.phase-activities {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
}

.phase-activities li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.phase-activities li:last-child {
    border-bottom: none;
}

.current-phase-info {
    background: rgba(0, 123, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.phase-recommendations ul {
    margin-bottom: 0;
}

.phase-recommendations li {
    padding: 0.25rem 0;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#007bff 0% {{ cycle_info.phase_progress }}%, #e9ecef {{ cycle_info.phase_progress }}% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    position: absolute;
}

.progress-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.progress-percentage {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #007bff;
}

.progress-label {
    display: block;
    font-size: 0.7rem;
    color: #6c757d;
}

.events-timeline {
    max-height: 400px;
    overflow-y: auto;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
}

.event-date {
    min-width: 60px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
}

.event-day {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007bff;
}

.event-month {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-title {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.event-type {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.optimization-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.score-value {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.score-value.score-1, .score-value.score-2, .score-value.score-3 {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.score-value.score-4, .score-value.score-5, .score-value.score-6 {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.score-value.score-7, .score-value.score-8, .score-value.score-9, .score-value.score-10 {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Event Planning Styles */
.score-explanation {
    background: rgba(0, 123, 255, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    border-left: 3px solid #007bff;
}

.score-explanation small {
    color: #495057;
    line-height: 1.4;
}

.event-phase {
    margin-top: 0.5rem;
}

.phase-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-right: 0.5rem;
}

.phase-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.phase-badge.phase-menstrual {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.phase-badge.phase-follicular {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.phase-badge.phase-ovulation {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.phase-badge.phase-luteal {
    background: rgba(102, 16, 242, 0.1);
    color: #6610f2;
}

.phase-badge.large {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Alternative Dates Styles */
.alternative-dates {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.alternative-date-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.alternative-date-card:hover {
    background: rgba(0, 123, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

.alt-date-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alt-date-info strong {
    color: #007bff;
    margin-right: 0.5rem;
}

.use-date-btn {
    white-space: nowrap;
    font-size: 0.875rem;
}

.use-date-btn:hover {
    background-color: #007bff;
    color: white;
}

@media (max-width: 768px) {
    .alternative-date-card {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .alt-date-info {
        justify-content: center;
    }
}

.cta-text {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(232, 155, 155, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 155, 155, 0.4);
    background: var(--gradient-primary);
    border: none;
}

/* Immediate Benefits */
.immediate-benefits .benefit-card {
    background: var(--gradient-accent);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.immediate-benefits .benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    background: rgba(255,255,255,0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FDF8F5 0%, #F5DEB3 100%);
    min-height: 100vh;
    color: #6B5B4F;
}

.container {
    max-width: 1200px;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 3rem 0;
}

.hero-feather {
    width: 80px;
    height: 80px;
    color: var(--primary);
}

.hero-icon {
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Thrive Card */
.thrive-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thrive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.thrive-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.thrive-header {
    margin-bottom: 2rem;
}

/* Phase Badges */
.phase-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.phase-menstrual { background-color: var(--menstrual); }
.phase-follicular { background-color: var(--follicular); }
.phase-ovulation { background-color: var(--ovulation); }
.phase-luteal { background-color: var(--luteal); }

/* Intention Section */
.intention-section {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.intention-icon {
    margin-right: 1rem;
    opacity: 0.8;
}

.intention-content h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.intention-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Plan Sections */
.plan-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.plan-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--soft-gray);
}

.section-icon {
    margin-right: 0.75rem;
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.section-header h4 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.plan-item {
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.plan-item strong {
    color: var(--primary);
}

/* Affirmation Card */
.affirmation-card {
    background: var(--gradient-accent);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.affirmation-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.affirmation-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* Week Timeline */
.week-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-day {
    position: relative;
}

.timeline-day.today .timeline-card {
    border: 3px solid var(--primary);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.timeline-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid;
}

.timeline-card.phase-menstrual { border-left-color: var(--menstrual); }
.timeline-card.phase-follicular { border-left-color: var(--follicular); }
.timeline-card.phase-ovulation { border-left-color: var(--ovulation); }
.timeline-card.phase-luteal { border-left-color: var(--luteal); }

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.day-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.date {
    color: var(--text-muted);
}

.cycle-info {
    text-align: right;
}

.cycle-day {
    display: block;
    font-weight: 600;
    color: var(--primary);
}

.phase-name {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tip-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.tip-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Current Phase Card */
.current-phase-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Phase Legend */
.phase-legend {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.legend-item {
    display: flex;
    align-items: center;
    text-align: left;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.legend-content strong {
    display: block;
    margin-bottom: 0.25rem;
}

.legend-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Share Styles */
.share-phase-info {
    background: var(--soft-gray);
    border-radius: 10px;
    padding: 1.5rem;
}

.share-intention {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 10px;
    padding: 1.5rem;
}

.share-section {
    background: var(--soft-gray);
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
}

.share-affirmation {
    background: linear-gradient(135deg, #a8e6cf 0%, #7fcdcd 100%);
    border-radius: 10px;
    padding: 1.5rem;
}

.support-tips {
    background: var(--soft-gray);
    border-radius: 10px;
    padding: 1.5rem;
}

.support-tip ul {
    margin: 0;
    padding-left: 1.5rem;
}

.support-tip li {
    margin-bottom: 0.5rem;
}

/* Push Notification Modal Styles */
.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.notification-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

.notification-modal .modal-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-modal .modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.notification-modal .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-modal .close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.notification-modal .modal-body {
    padding: 24px;
}

.notification-modal .modal-body ul {
    padding-left: 0;
    list-style: none;
}

.notification-modal .modal-body li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.notification-modal .modal-body li:last-child {
    border-bottom: none;
}

.notification-modal .modal-footer {
    padding: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.notification-modal .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.notification-modal .btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.notification-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.notification-modal .btn-outline-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.notification-modal .btn-outline-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments for notification modal */
@media (max-width: 768px) {
    .notification-modal {
        width: 95%;
        margin: 20px;
    }
    
    .notification-modal .modal-header {
        padding: 20px;
    }
    
    .notification-modal .modal-body,
    .notification-modal .modal-footer {
        padding: 20px;
    }
    
    .notification-modal .modal-footer {
        flex-direction: column;
    }
    
    .notification-modal .btn {
        width: 100%;
    }
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Input Group */
.input-group-text {
    background: var(--soft-gray);
    border: 2px solid #e9ecef;
    border-left: none;
    border-radius: 0 10px 10px 0;
}

/* Productivity Hub Styles */
.productivity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.phase-status-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.phase-progress .progress {
    border-radius: 10px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.goal-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-3px);
}

.goal-card.priority-high {
    border-left-color: #E89B9B;
}

.goal-card.priority-medium {
    border-left-color: #F5C87A;
}

.goal-card.priority-low {
    border-left-color: #A8D5C4;
}

.goal-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.goal-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-high {
    background-color: #E89B9B;
    color: #FFFFFF;
}

.badge-medium {
    background-color: #F5C87A;
    color: #6B5B4F;
}

.badge-low {
    background-color: #A8D5C4;
    color: #6B5B4F;
}

.badge-phase {
    background-color: var(--primary);
}

.goal-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.goal-due-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.goal-actions {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Insights Styles */
.insights-header {
    text-align: center;
    margin-bottom: 2rem;
}

.current-phase-card {
    border-left: 4px solid var(--primary);
}

.insight-stat {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
}

.stat-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
}

.insight-card.insight-productivity {
    border-left-color: var(--ovulation);
}

.insight-card.insight-energy {
    border-left-color: var(--follicular);
}

.insight-card.insight-mood {
    border-left-color: var(--menstrual);
}

.insight-card.insight-pattern {
    border-left-color: var(--luteal);
}

.insight-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.confidence-badge, .confidence-score {
    background: var(--soft-gray);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.insight-description {
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.insight-actions h6, .insight-tips h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.action-list {
    margin: 0;
    padding-left: 1.5rem;
}

.action-list li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pattern-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pattern-card.phase-menstrual {
    border-top: 4px solid var(--menstrual);
}

.pattern-card.phase-follicular {
    border-top: 4px solid var(--follicular);
}

.pattern-card.phase-ovulation {
    border-top: 4px solid var(--ovulation);
}

.pattern-card.phase-luteal {
    border-top: 4px solid var(--luteal);
}

.pattern-header {
    margin-bottom: 1rem;
}

.productivity-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.pattern-details {
    text-align: left;
}

.detail-item {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.detail-item strong {
    color: var(--primary);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.recommendation-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.rec-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    flex-shrink: 0;
}

.rec-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.rec-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Landing Page Components */
.value-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.value-card h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.how-it-works {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 2rem;
}

.step-card {
    text-align: center;
    padding: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-card h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.benefits-section {
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.benefit-card h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefit-list {
    margin: 0;
    padding-left: 1.5rem;
}

.benefit-list li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.privacy-note {
    background: var(--soft-gray);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .thrive-title {
        font-size: 2rem;
    }
    
    .thrive-subtitle {
        font-size: 1rem;
    }
    
    .intention-section {
        flex-direction: column;
        text-align: center;
    }
    
    .intention-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cycle-info {
        text-align: left;
    }
    
    .legend-item {
        flex-direction: column;
        text-align: center;
    }
    
    .legend-color {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-section, .timeline-card, .info-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn {
        display: none;
    }
    
    .container {
        max-width: 100%;
    }
    
    .card, .plan-section, .timeline-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Personalized Nudges Styling */
.nudges-section {
    background: linear-gradient(135deg, #fff9f3, #fef4e7);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #fdeaa7;
    margin-bottom: 20px;
}

.nudge-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #f1c40f;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.1);
}

.nudge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(241, 196, 15, 0.2);
}

.nudge-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.nudge-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.nudge-icon {
    font-size: 1.2em;
}

.nudge-actions {
    display: flex;
    gap: 8px;
}

.nudge-message {
    color: #5d4e75;
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.4;
}

.nudge-personalization {
    border-top: 1px solid #fdeaa7;
    padding-top: 8px;
}

.nudge-card[data-nudge-id] {
    transition: all 0.3s ease;
}

/* Warm Women's Health Inspired Daily Learning Section */
.daily-learning-section {
    margin-bottom: 32px;
}

.learning-streak-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.learning-streak-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.streak-flame {
    font-size: 1.2em;
    margin-right: 8px;
}

.streak-number {
    font-size: 2.2em;
    font-weight: 600;
    color: #E91E63;
    line-height: 1;
    margin-bottom: 2px;
}

.streak-info small {
    font-size: 0.85rem;
    color: #8E8E93;
    font-weight: 500;
}

.learning-streak-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 4px;
    line-height: 1.2;
}

.learning-streak-card p {
    color: #86868B;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0;
}

.learning-streak-card .btn {
    background: linear-gradient(135deg, #E91E63, #F06292);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    padding: 14px 24px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.learning-streak-card .btn:hover {
    background: linear-gradient(135deg, #C2185B, #E91E63);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.4);
}

.learning-streak-card .btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(233, 30, 99, 0.3);
}

/* Women's Health Inspired Nudges Section */
.nudges-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 16px;
}

.nudges-section .btn-outline-primary {
    border: 1.5px solid #E91E63;
    color: #E91E63;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.nudges-section .btn-outline-primary:hover {
    background: #E91E63;
    color: white;
    transform: translateY(-1px);
}

/* Women's Health Inspired Phase Progress */
.phase-progress {
    height: 6px;
    background: rgba(142, 142, 147, 0.16);
    border-radius: 3px;
    overflow: hidden;
}

.phase-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #E91E63, #F06292);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Apple-inspired Quick Actions */
.quick-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1D1D1F;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #E91E63;
    text-decoration: none;
}

/* Apple-inspired Phase Badge */
.phase-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1D1D1F;
}

/* Apple-inspired Typography */
.thrive-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1D1D1F;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.intention-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 8px;
}

.intention-content p {
    color: #86868B;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Apple-inspired Modal Design */
.modal-content {
    border: none;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px 24px 16px 24px;
    border-radius: 20px 20px 0 0;
}

.modal-header h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 0;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 24px 24px 24px;
    border-radius: 0 0 20px 20px;
}

/* Women's Health Inspired Progress Bar */
.progress {
    height: 6px;
    background: rgba(142, 142, 147, 0.16);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #E91E63, #F06292);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Women's Health Inspired Answer Options */
.answer-option {
    background: rgba(233, 30, 99, 0.04);
    border: 1.5px solid rgba(233, 30, 99, 0.16);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 500;
    color: #1D1D1F;
    font-size: 1rem;
}

.answer-option:hover {
    background: rgba(233, 30, 99, 0.08);
    border-color: rgba(233, 30, 99, 0.3);
    transform: translateY(-1px);
}

.answer-option.selected {
    background: #E91E63;
    border-color: #E91E63;
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3);
}

.answer-option:last-child {
    margin-bottom: 0;
}

/* Women's Health Inspired Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #E91E63, #F06292);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C2185B, #E91E63);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(142, 142, 147, 0.12);
    border: none;
    border-radius: 12px;
    color: #1D1D1F;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(142, 142, 147, 0.2);
    color: #1D1D1F;
    transform: translateY(-1px);
}

.btn.disabled,
.btn:disabled {
    background: rgba(142, 142, 147, 0.12) !important;
    color: rgba(60, 60, 67, 0.3) !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Apple-inspired Completion Screen */
.completion-screen h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1D1D1F;
    margin-bottom: 12px;
}

.completion-screen p {
    color: #86868B;
    font-size: 1rem;
    line-height: 1.5;
}

/* Apple-inspired Close Button */
.btn-close {
    opacity: 0.6;
    font-size: 1.2rem;
    padding: 8px;
    transition: all 0.2s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Women's Health Inspired Navigation */
.navbar {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    box-shadow: 0 2px 20px rgba(233, 30, 99, 0.08);
    padding: 1rem 0;
    min-height: 70px;
}

.navbar-brand {
    font-weight: 700;
    color: #1D1D1F !important;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #E91E63 !important;
    text-decoration: none;
}

.navbar-brand svg {
    margin-right: 8px;
    color: #E91E63;
}

/* Better navigation spacing and organization */
.navbar .container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation sections organization */
.navbar-nav.me-auto {
    margin-right: auto !important;
}

.navbar-nav.ms-auto {
    margin-left: auto !important;
}

/* Clean Navigation Layout */
.navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.navbar-nav .nav-item {
    display: block !important;
}

.navbar-nav .nav-link {
    display: flex !important;
    align-items: center;
    padding: 10px 16px !important;
    text-decoration: none;
    color: #1D1D1F !important;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #E91E63 !important;
    background: rgba(233, 30, 99, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.15);
}

.navbar-nav .nav-link svg {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

/* Active state for navigation links */
.navbar-nav .nav-link.active {
    color: #E91E63 !important;
    background: rgba(233, 30, 99, 0.1);
    font-weight: 600;
}

/* User dropdown styling */
.navbar-nav .dropdown-toggle {
    background: rgba(233, 30, 99, 0.08);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 25px;
    padding: 8px 16px !important;
    font-weight: 500;
    color: #1D1D1F !important;
}

.navbar-nav .dropdown-toggle:hover {
    background: rgba(233, 30, 99, 0.12);
    border-color: rgba(233, 30, 99, 0.3);
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(233, 30, 99, 0.2);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.15);
    margin-top: 8px;
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(233, 30, 99, 0.08);
    color: #E91E63;
}

.dropdown-item svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

/* Mobile responsive navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        margin-top: 12px;
        padding: 16px;
        box-shadow: 0 4px 20px rgba(233, 30, 99, 0.1);
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 4px;
    }
    
    .navbar-nav .nav-item {
        margin-right: 0 !important;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        width: 100%;
        justify-content: flex-start;
    }
    
    .navbar-nav .dropdown-toggle {
        border-radius: 12px;
        width: 100%;
        justify-content: flex-start;
    }
}

/* Navbar toggler styling */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(233, 30, 99, 0.08);
    transition: all 0.2s ease;
}

.navbar-toggler:hover {
    background: rgba(233, 30, 99, 0.12);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E91E63' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Apple-inspired Cards */
.card {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px 16px 0 0 !important;
    padding: 20px 24px 16px 24px;
}

.card-body {
    padding: 24px;
}

/* Apple-inspired Form Elements */
.form-control {
    border: 1.5px solid rgba(142, 142, 147, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
    background: white;
}

.form-label {
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 8px;
}

/* Apple-inspired Alerts */
.alert {
    border: none;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    color: #1D453B;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.alert-info {
    background: rgba(233, 30, 99, 0.1);
    color: #5F1D3A;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

/* Women's Health Inspired Loading States */
.spinner-border {
    color: #E91E63;
}

/* Apple-inspired Responsive Spacing */
@media (max-width: 768px) {
    .learning-streak-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .learning-streak-card h4 {
        font-size: 1.2rem;
    }
    
    .streak-number {
        font-size: 2rem;
    }
    
    .quick-action-btn {
        min-width: 100px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Women's Health Inspired Focus States */
.btn:focus,
.form-control:focus,
.answer-option:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.25);
}

/* Women's Health Inspired Selection */
::selection {
    background: rgba(233, 30, 99, 0.2);
    color: #1D1D1F;
}
