:root {
            --primary-color: #e83e8c;
            --secondary-color: #f8d7da;
            --accent-color: #c2185b;
            --light-pink: #fff5f7;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --info-color: #17a2b8;
            --trimester-1: #e83e8c;
            --trimester-2: #6f42c1;
            --trimester-3: #2c7da0;
            --safe-color: #28a745;
            --caution-color: #ffc107;
            --avoid-color: #dc3545;
        }
         .page-header {
            background: linear-gradient(135deg, rgba(232, 62, 140, 0.1) 0%, rgba(194, 24, 91, 0.1) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(232, 62, 140, 0.2);
            position: relative;
            overflow: hidden;   color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.15);
        }
        .date-input-container {
            position: relative;
        }
        .date-input-container .date-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }
        .method-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 1rem;
        }
        .method-tab {
            padding: 0.75rem 1.5rem;
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        .method-tab i {
            margin-right: 0.5rem;
        }
        .method-tab:hover {
            background-color: rgba(232, 62, 140, 0.05);
            border-color: var(--primary-color);
        }
        .method-tab.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        .result-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        .result-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            text-align: center;
        }
        .result-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        .result-label {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .result-detail {
            font-size: 0.95rem;
            color: var(--text-color);
        }
        .pregnancy-timeline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 2rem 0;
            position: relative;
        }
        .timeline-container {
            width: 100%;
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            position: relative;
        }
        .timeline-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--trimester-1) 0%, var(--trimester-2) 50%, var(--trimester-3) 100%);
            border-radius: 5px;
            width: 0%;
            transition: width 1s ease-in-out;
        }
        .timeline-marker {
            position: absolute;
            top: -5px;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: white;
            border: 3px solid var(--primary-color);
            z-index: 2;
        }
        .timeline-label {
            position: absolute;
            top: 25px;
            transform: translateX(-50%);
            font-size: 0.85rem;
            white-space: nowrap;
            text-align: center;
        }
        .trimester-info {
            display: flex;
            justify-content: space-between;
            margin-top: 2.5rem;
        }
        .trimester-card {
            flex: 1;
            padding: 1rem;
            margin: 0 0.5rem;
            border-radius: 8px;
            text-align: center;
        }
        .trimester-1 {
            background-color: rgba(232, 62, 140, 0.1);
            border-top: 4px solid var(--trimester-1);
        }
        .trimester-2 {
            background-color: rgba(111, 66, 193, 0.1);
            border-top: 4px solid var(--trimester-2);
        }
        .trimester-3 {
            background-color: rgba(44, 125, 160, 0.1);
            border-top: 4px solid var(--trimester-3);
        }
        .trimester-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .development-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .development-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        .development-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(232, 62, 140, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--primary-color);
            font-size: 1.25rem;
        }
        .development-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--text-color);
        }
        .development-subtitle {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .development-milestones {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        .milestone {
            display: flex;
            align-items: flex-start;
            padding: 0.75rem;
            border-radius: 6px;
            background-color: var(--light-gray);
        }
        .milestone-check {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: rgba(40, 167, 69, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.75rem;
            flex-shrink: 0;
            color: var(--success-color);
        }
        .milestone-content {
            flex: 1;
        }
        .milestone-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .milestone-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .calendar-container {
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background-color: var(--border-color);
            border: 1px solid var(--border-color);
        }
        .calendar-day-header {
            background-color: var(--light-pink);
            padding: 0.75rem;
            text-align: center;
            font-weight: 600;
            color: var(--primary-color);
        }
        .calendar-day {
            background-color: white;
            padding: 0.75rem;
            min-height: 80px;
            position: relative;
        }
        .calendar-day.empty {
            background-color: var(--light-gray);
        }
        .calendar-day.current {
            background-color: rgba(232, 62, 140, 0.1);
        }
        .calendar-day.past {
            background-color: rgba(108, 117, 125, 0.05);
        }
        .calendar-day-number {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .calendar-event {
            font-size: 0.75rem;
            padding: 0.125rem 0.25rem;
            border-radius: 2px;
            margin-top: 0.25rem;
        }
        .event-lmp {
            background-color: rgba(232, 62, 140, 0.2);
            color: var(--primary-color);
        }
        .event-conception {
            background-color: rgba(111, 66, 193, 0.2);
            color: var(--trimester-2);
        }
        .event-due {
            background-color: rgba(40, 167, 69, 0.2);
            color: var(--success-color);
        }
        @media (max-width: 768px) {
            .result-grid {
                grid-template-columns: 1fr;
            }
            .trimester-info {
                flex-direction: column;
            }
            .trimester-card {
                margin: 0.5rem 0;
            }
            .development-milestones {
                grid-template-columns: 1fr;
            }
            .calendar-grid {
                grid-template-columns: repeat(7, 1fr);
                font-size: 0.8rem;
            }
            .calendar-day {
                padding: 0.5rem;
                min-height: 60px;
            }
            .method-tabs {
                flex-direction: column;
            }
            .method-tab {
                width: 100%;
                justify-content: center;
            }
            .symptoms-tracker {
                overflow-x: auto;
            }
        }
        .info-section {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        .checklist-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--light-gray);
        }
        .checklist-checkbox {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            border: 2px solid var(--border-color);
            margin-right: 1rem;
            flex-shrink: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .checklist-checkbox.checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
        }
        .checklist-content {
            flex: 1;
        }
        .checklist-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .checklist-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .progress-container {
            margin-bottom: 1.5rem;
        }
        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
        }
        .progress-bar {
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 5px;
            width: 0%;
            transition: width 1s ease-in-out;
        }
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
            margin: 0 0.5rem;
        }
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .toggle-slider {
            background-color: var(--primary-color);
        }
        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }
        .measurement-inputs {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .measurement-group {
            background-color: var(--light-gray);
            padding: 1rem;
            border-radius: 6px;
        }
        .weight-chart-container {
            height: 300px;
            margin-top: 1.5rem;
        }
        .tooltip-icon {
            display: inline-block;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background-color: rgba(232, 62, 140, 0.1);
            color: var(--primary-color);
            text-align: center;
            font-size: 0.75rem;
            line-height: 18px;
            margin-left: 0.25rem;
            cursor: help;
        }
        .date-range {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1rem 0;
            flex-wrap: wrap;
        }
        .date-range-item {
            margin: 0 1rem;
            text-align: center;
        }
        .range-date {
            font-weight: 600;
            color: var(--primary-color);
        }
        .range-label {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .size-comparison {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1.5rem 0;
        }
        .size-item {
            text-align: center;
            margin: 0 1rem;
        }
        .size-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: rgba(232, 62, 140, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            color: var(--primary-color);
            font-size: 1.5rem;
        }
        .size-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        .size-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .symptoms-tracker {
            overflow-x: auto;
            margin-bottom: 1.5rem;
        }
        .symptoms-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 800px;
        }
        .symptoms-table th, .symptoms-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .symptoms-table th {
            background-color: var(--light-pink);
            font-weight: 600;
        }
        .symptom-severity {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 0.5rem;
        }
        .symptom-none {
            background-color: #e9ecef;
        }
        .symptom-mild {
            background-color: var(--warning-color);
        }
        .symptom-moderate {
            background-color: #fd7e14;
        }
        .symptom-severe {
            background-color: var(--avoid-color);
        }
        .nutrition-table {
            width: 100%;
            border-collapse: collapse;
        }
        .nutrition-table th, .nutrition-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .nutrition-table th {
            background-color: var(--light-pink);
            font-weight: 600;
        }
        .nutrition-good {
            color: var(--success-color);
            font-weight: 600;
        }
        .nutrition-caution {
            color: var(--warning-color);
            font-weight: 600;
        }
        .nutrition-avoid {
            color: var(--avoid-color);
            font-weight: 600;
        }
        .safety-guidelines {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
        }
        .safety-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .safety-safe {
            border-left: 4px solid var(--safe-color);
        }
        .safety-caution {
            border-left: 4px solid var(--caution-color);
        }
        .safety-avoid {
            border-left: 4px solid var(--avoid-color);
        }
        .safety-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }
        .safety-icon {
            margin-right: 0.5rem;
        }
        .export-options {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        .week-navigator {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1.5rem 0;
        }
        .week-nav-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--light-pink);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        .week-nav-btn:hover {
            background-color: rgba(232, 62, 140, 0.1);
            border-color: var(--primary-color);
        }
        .week-display {
            margin: 0 1rem;
            font-weight: 600;
            color: var(--primary-color);
            font-size: 1.1rem;
            min-width: 100px;
            text-align: center;
        }
        .development-timeline {
            margin: 2rem 0;
        }
        .timeline-week {
            padding: 1rem;
            border-left: 3px solid var(--primary-color);
            margin-bottom: 1.5rem;
            background-color: var(--light-pink);
            border-radius: 0 8px 8px 0;
            position: relative;
        }
        .timeline-week::before {
            content: "";
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--primary-color);
        }
        .timeline-week.current {
            background-color: rgba(232, 62, 140, 0.15);
            border-left-color: var(--accent-color);
        }
        .timeline-week.current::before {
            background-color: var(--accent-color);
            width: 16px;
            height: 16px;
            left: -10px;
        }
        .timeline-week-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        .timeline-week-title {
            font-weight: 600;
            color: var(--primary-color);
        }
        .timeline-week-dates {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-color);
        }
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            .safety-guidelines {
                grid-template-columns: 1fr;
            }
            .export-options {
                flex-direction: column;
            }
            .export-options .btn {
                width: 100%;
            }
        }
        @media print {
            .navbar, .footer, .action-btn, .btn, .method-tabs, .toast-container,
            .export-options, .week-navigator, .tool-card, .result-container, .development-card {
                box-shadow: none;
                border: 1px solid #ddd;
            }
            }