
        * {
            margin: 0;
            padding: 0;
            /*box-sizing: border-box;*/
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /*background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);*/
            background: #fff;
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            /*border-radius: 15px;*/
            /*box-shadow: 0 8px 32px rgba(0,0,0,0.1);*/
            overflow: hidden;
        }
.resset_button {
    background-color: #4caf50;
    color: white;
    width: 100%;
    padding: 10px;
}

.header {
    /*background: linear-gradient(135deg, #b3e5fc 0%, #81d4fa 100%);*/
    background-color: #cceff7;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #4fc3f7;
    border-radius: 12px;
    margin-bottom: 15px;
}

            .header h1 {
                font-size: 2.5em;
                color: #000;
                margin-bottom: 10px;
                font-weight: 700;
            }

            .header p {
                color: #000;
                font-size: 1.2em;
                font-weight: 500;
            }

        .main-content {
            display: grid;
            grid-template-columns: 300px 1fr 350px;
            gap: 0;
            min-height: 600px;
        }

        /* Demographics Section */
        .demographics {
            /*background: #f5f5f5;*/
            /*padding: 10px;*/
            /*border-right: 2px solid #e0e0e0;*/
        }

        /*.demographics h3 {
            color: #424242;
            margin-bottom: 20px;
            font-size: 1.3em;
            font-weight: 600;
            text-align: center;
            background: white;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }*/

        .form-group {
            /*margin-bottom: 20px;*/
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #424242;
            text-align:center;
        }

        .radio-group {
            display: flex;
            flex-direction: column;
            /*gap: 8px;*/
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 8px;
            padding:0px;
            background: white;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .radio-option:hover {
            background: #e3f2fd;
        }

        .radio-option input[type="radio"] {
            margin: 0;
        }

.form-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.2s;
    box-sizing: border-box; /*++*/
}

        .form-group input[type="number"]:focus {
            outline: none;
            border-color: #4fc3f7;
        }

        .example-text {
            color: #666;
            font-size: 0.9em;
            margin-top: 4px;
        }

        /* Formula Sections */
        .formula-sections {
            /*padding: 25px;*/
            padding-left:25px;
            padding-right:25px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding-top:0px;
        }

        .formula-section {
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }

.hemoglobin-section {
    background: #f5acab;
    border: 2px solid #e91e63;
}

.iron-stores-section {
    background: #b7c1d7;
    border: 2px solid #673ab7;
}

        .menstrual-section {
            /*background: linear-gradient(135deg, #f8bbd9 0%, #f48fb1 100%);*/
            background: #f0bbd6;
            border: 2px solid #f076b4;
}

        .menstrual-section.disabled {
            opacity: 0.5;
            pointer-events: none;
            background: linear-gradient(135deg, #eeeeee 0%, #e0e0e0 100%);
            border-color: #bdbdbd;
        }

        .section-title {
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.1em;
            text-align: center;
        }

        .input-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 15px;
            align-items: end;
        }

        .input-group {
            display: flex;
            flex-direction: column;
        }

        .input-group label {
            font-size: 0.9em;
            font-weight: 600;
            margin-bottom: 5px;
            text-align: center;
        }

        .input-group input {
            padding: 10px;
            border: 2px solid rgba(255,255,255,0.8);
            border-radius: 6px;
            text-align: center;
            font-weight: 600;
            background: rgba(255,255,255,0.9);
        }

        .result-box {
            background: white;
            border: 2px solid #4caf50;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            font-size: 1.3em;
            font-weight: 700;
            color: #2e7d32;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cycle-selection {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-bottom: 15px;
        }

        .cycle-option {
            padding: 8px 16px;
            border: 2px solid white;
            border-radius: 20px;
            background: rgba(255,255,255,0.9);
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s;
        }

        .cycle-option.active {
            background: #e91e63;
            color: white;
        }

        /* Results Panel */
        .results-panel {
            background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
            padding: 15px;
            border: 2px solid #4caf50;
            border-radius: 15px;
            margin-bottom:20px;
        }

.results-panel_v2 { 
    background-color: #efeff0;
    padding: 15px;
    border: 1px solid #4caf50;
    border-radius: 15px;
    margin-bottom: 20px;
}

        .results-title {
            text-align: center;
            font-size: 1.4em;
            font-weight: 700;
            color: #2e7d32;
            margin-bottom: 20px;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }


        .total-result {
            background: white;
            border: 3px solid #4caf50;
            border-radius: 12px;
            padding: 15px;
            text-align: center;
            margin-bottom: 20px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }

        .total-result .value {
            font-size: 2.5em;
            font-weight: 700;
            color: #2e7d32;
        }

        .individual-results {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        .result-item {
            background: rgba(255,255,255,0.9);
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .result-item .label {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 5px;
        }

        .result-item .value {
            font-size: 1.3em;
            font-weight: 700;
            color: #2e7d32;
        }

        .abbreviations {
            background: rgba(255,255,255,0.9);
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .abbreviations h4 {
            text-align: center;
            margin-bottom: 10px;
            color: #2e7d32;
        }

        .abbreviations ul {
            list-style: none;
            font-size: 0.85em;
            line-height: 1.4;
        }

        .abbreviations li {
            margin-bottom: 3px;
            color: #555;
        }

        .formula-display {
            margin-top: 10px;
            padding: 10px;
            background: rgba(255,255,255,0.7);
            border-radius: 6px;
            font-size: 0.9em;
            text-align: center;
            color: #333;
        }
        .instruct {
            background: #f5f5f5;
            border-right: 2px solid #e0e0e0;
            border-radius: 15px;
            padding: 12px;
            margin-bottom: 20px;
            
        }
        .instruct h4{
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1.1em;
            text-align: center;
        }
        .instruct_in {
            background: #fff;
            border-right: 2px solid #e0e0e0;
            border-radius: 15px;
            padding: 10px;
            margin-bottom:10px;
        }
            .instruct_in ul {
                list-style: none;
                font-size: 0.85em;
                line-height: 1.4;
            }







        /* Responsive Design */
        @media (max-width: 1200px) {
            .main-content {
                grid-template-columns: 280px 1fr 320px
            }

        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto;
            }
            
            .demographics, .results-panel {
                border: none;
                border-bottom: 2px solid #e0e0e0;
            }
            
            .individual-results {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .input-row {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            .individual-results {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 480px) {
            .container {
                margin: 10px;
                border-radius: 10px;
            }
            
            .header {
                padding: 20px;
            }
            
            .header h1 {
                font-size: 1.8em;
            }
            
            .demographics, .formula-sections, .results-panel {
                padding: 15px;
            }
            
            .individual-results {
                grid-template-columns: 1fr;
            }
            
            .total-result .value {
                font-size: 2em;
            }
        }
