       /* ----- রিসেট ও বেসিক স্টাইল ----- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            background: #faf7f5;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: 100vh;
            padding: 1.5rem;
        }

        @font-face {
            font-family: 'calibri';
            src: url('https://arbd24.github.io/img/font/calibri.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'kalpurush';
            src: url('https://arbd24.github.io/img/font/kalpurush.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        a {
            text-decoration: none; 
            color: #991a22;
        }

        .tracker-wrapper {
            max-width: 600px;
            width: 100%;
            background: #ffffff;
            border-radius: 40px;
            box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.08);
            padding: 2rem 2rem 2.5rem;
            border: 1px solid #f0e8e2;
            transition: all 0.2s;
            margin: 0 auto;
        }

        .cycle-badge {
            background: #f5ede8;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            font-size: 0.9rem;
            color: #4f3a32;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        /* ----- কনফিগারেশন প্যানেল (৩টি প্রশ্ন) ----- */
        .config-panel {
            background: #faf5f2;
            border-radius: 60px;
            padding: 1.2rem 2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 1.5rem 2.5rem;
            margin-bottom: 2rem;
            border: 1px solid #f0e8e2;
        }

        .config-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            flex-wrap: wrap;
        }

        .config-item label {
            font-size: 0.85rem;
            font-weight: 500;
            color: #4f3a32;
        }

        .config-item input {
            padding: 0.4rem 0.8rem;
            border: 1px solid #dccfc6;
            border-radius: 40px;
            font-size: 0.85rem;
            background: white;
            width: 140px;
            transition: 0.2s;
        }

        .config-item input:focus {
            outline: 2px solid #dbb8a8;
            border-color: transparent;
        }

        .config-item input[type="number"] {
            width: 70px;
        }

        .btn-update {
            padding: 0.4rem 2rem;
            border: none;
            border-radius: 40px;
            background: #c7b0a2;
            color: #2b1f1b;
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: 0.2s;
            border: 1px solid #b3998a;
        }

        .btn-update:hover {
            background: #b3998a;
            transform: scale(0.97);
        }

        /* ----- লিজেন্ড (রঙের ব্যাখ্যা) ----- */
        .legend {
            display: flex;
            flex-wrap: wrap;
gap: 1.0rem;
            justify-content: center;
            padding: 0.6rem 0 1.2rem 0;
            border-bottom: 1px solid #f0e8e2;
            margin-bottom: 1.8rem;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: #3d2c26;
        }

        .color-dot {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1px solid rgba(0,0,0,0.04);
        }

        /* ----- নেভিগেশন (১ মাস আগে/পরে) ----- */
        .nav-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            
 
        }

        .nav-btn {
            padding: 0.4rem 1.6rem;
            background: #f0e8e2;
            border: 1px solid #dccfc6;
            border-radius: 40px;
            text-decoration: none;
            color: #3d2c26;
            font-weight: 500;
            font-size: 0.9rem;
            transition: 0.2s;
            cursor: pointer;
        }

        .nav-btn:hover {
            background: #dccfc6;
        }

        .month-display {
            font-size: 1.5rem;
            font-weight: 400;
            color: #2f241f;
            letter-spacing: 0.3px;
        }

        /* ----- ক্যালেন্ডার গ্রিড ----- */
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 50px);
            gap: 6px;
            margin: 0 auto;
            justify-content: center;
        }

        .day-label {
            text-align: center; 
            color: #6f5850;
            padding: 5px;
            background: #f5ede8;
            border-radius: 5px;
            font-size: 0.75rem;
            font-weight: 500;
        }

        .day-cell {
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: #fcf9f7;
            color: #2a201c;
            border: 1px solid transparent;
            position: relative;
            min-height: 35px;
            min-width: 35px;
            transition: 0.08s;
            font-size: 0.85rem;
        }

        .day-cell.empty {
            background: transparent;
            border-color: transparent;
            min-height: auto;
            min-width: auto;
        }

        /* ----- স্টেটাস রঙ ----- */
        .day-cell.period {
            background: #f44336;
            color: white;
            border-color: #d32f2f;
        }

        .day-cell.ovulation {
            background: #ff9800;
            color: #2d1f1a;
            border-color: #e68900;
        }

        .day-cell.unsafe {
            background: #42a5f5;
            color: white;
            border-color: #1e88e5;
        }

        .day-cell.safe {
            background: #66bb6a;
            color: white;
            font-weight: 500;
            border-color: #43a047;
        }

        .day-cell.normal {
            background: #f5eeea;
            color: #7a655b;
        }

        .day-cell.today-highlight {
            outline: 3px solid #b89583;
            outline-offset: -4px;
            z-index: 2;
        }

        /* ----- টুলটিপ ----- */
        .day-cell .tooltip-text {
            display: none;
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 0.3rem 0.9rem;
            border-radius: 30px;
            font-size: 0.7rem;
            white-space: nowrap;
            z-index: 10;
            pointer-events: none;
        }

        .day-cell:hover .tooltip-text {
            display: block;
        }

        /* ----- ফুটার নোট ----- */
        .footer-note {
            margin-top: 2.2rem;
            padding-top: 1.5rem;
            border-top: 1px solid #f0e8e2;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem 2.5rem;
            font-size: 0.8rem;
            color: #6f5850;
        }

        .footer-note span {
            background: #f5ede8;
            padding: 0.2rem 1.2rem;
            border-radius: 40px;
        }

        .footer-note .disclaimer {
            width: 100%;
            text-align: center;
            font-size: 0.75rem;
            color: #9a847a;
            margin-top: 0.3rem;
        }

        /* ----- রেসপন্সিভ ----- */
        @media (max-width: 750px) {
            .tracker-wrapper { padding: 1.2rem; }
            .config-panel { flex-direction: column; align-items: stretch; border-radius: 40px; padding: 1.2rem; }
            .config-item { justify-content: center; }
            .config-item input { width: 100%; max-width: 200px; }
            .calendar-grid {
                grid-template-columns: repeat(7, 40px);
                gap: 4px;
            }
            .day-cell { font-size: 0.7rem; min-height: 30px; min-width: 30px; }
            .day-label { font-size: 0.65rem; padding: 3px; }
            .month-display { font-size: 1.2rem; }
            .tracker-header h1 { font-size: 1.6rem; }
        }

        @media (max-width: 480px) {
            .calendar-grid {
                grid-template-columns: repeat(7, 32px);
                gap: 3px;
            }
            .day-cell { font-size: 0.6rem; min-height: 25px; min-width: 25px; border-radius: 8px; }
            .day-label { font-size: 0.55rem; padding: 2px; }
            .nav-btn { padding: 0.3rem 1rem; font-size: 0.8rem; }
            .legend { gap: 0.8rem 1.5rem; }
        }