* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: #e9f0f7;
            color: #12345b;
        }

        .container {
            width: 95%;
            max-width: 1200px;
            margin: 20px auto;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 60, 120, .12);
        }

        /* ================= HEADER ================= */

        .header {
            position: relative;
            text-align: center;
            padding: 30px 20px 35px;
            overflow: hidden;

            background: linear-gradient(to bottom,
                    #fff 0%,
                    #f5fbff 65%,
                    #e4f5ff 100%);
        }

        .water-wave {
            position: absolute;
            bottom: -5px;
            left: -5%;
            width: 110%;
            height: 100px;
            background: #d9f1ff;
            border-radius: 50% 50% 0 0;
            opacity: .7;
        }

        .logo {
            position: relative;
            z-index: 2;
            margin-bottom: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .logo-img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            filter: drop-shadow(0 4px 12px rgba(7, 139, 229, 0.25));
            transition: transform 0.3s ease;
        }

        .logo-img:hover {
            transform: scale(1.06);
        }

        .header h1 {
            position: relative;
            z-index: 2;
            font-size: 30px;
            color: #123c70;
            margin-bottom: 10px;
        }

        .header h1 span {
            color: #078be5;
        }

        .subtitle {
            position: relative;
            z-index: 2;
            color: #61748a;
            font-size: 19px;
            margin-bottom: 22px;
        }

        .statistics-btn {
            position: relative;
            z-index: 3;
            border: none;
            background: #078be5;
            color: white;
            padding: 13px 30px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
        }

        .statistics-btn:hover {
            background: #0574c1;
        }

        /* ================= CONTENT ================= */

        .content {
            padding: 15px 30px 30px;
        }

        .section {
            background: #f5fbff;
            border-radius: 20px;
            padding: 25px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 25px;
        }

        .section-title h2 {
            font-size: 25px;
            color: #123c70;
            margin-bottom: 7px;
        }

        .section-title p {
            color: #647991;
            font-size: 15px;
        }

        /* ================= PARAMETERS ================= */

        .parameters {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;
        }

        .parameter {
            background: white;
            border: 1px solid #e0edf7;
            border-radius: 17px;
            padding: 22px;
            min-height: 130px;
            transition: .2s;
        }

        .parameter:hover {
            box-shadow: 0 5px 15px rgba(0, 100, 180, .08);
        }

        .parameter-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            font-size: 16px;
            color: #183e70;
            margin-bottom: 15px;
        }

        .icon {
            font-size: 24px;
        }

        select {
            width: 100%;
            padding: 11px;
            border: 2px solid #d5e2ed;
            border-radius: 8px;
            background: white;
            color: #17395f;
            font-size: 15px;
            outline: none;
        }

        select:focus {
            border-color: #078be5;
        }

        /* ================= SLIDER ================= */

        .slider-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        input[type=range] {
            flex: 1;
            height: 5px;
            accent-color: #078be5;
            cursor: pointer;
        }

        .value {
            width: 72px;
            padding: 10px 5px;
            background: #f0f7fc;
            border-radius: 7px;
            text-align: center;
            color: #263c54;
            font-size: 14px;
            border: 1px solid #e2edf5;
        }

        /* ================= BUTTON ================= */

        .analyze-area {
            text-align: center;
            margin-top: 25px;
        }

        .analyze-btn {
            border: none;
            background: #18a65c;
            color: white;
            font-size: 17px;
            font-weight: bold;
            padding: 16px 55px;
            border-radius: 9px;
            cursor: pointer;
        }

        .analyze-btn:hover {
            background: #11894a;
        }

        /* ================================================= */
        /* ================= NATIJA ======================= */
        /* ================================================= */

        #result {
            display: none;
            margin-top: 35px;
        }

        /* ================= MAIN RESULT ================= */

        .result-main {
            text-align: center;
            padding: 30px;
            border-radius: 18px;
            margin-bottom: 25px;
            border: 1px solid #b9e8cf;
            background: #eafaf2;
        }

        .result-main h2 {
            font-size: 34px;
            margin-bottom: 10px;
            color: #159653;
        }

        .result-main p {
            font-size: 17px;
            color: #456;
        }

        .confidence {
            font-size: 23px;
            font-weight: bold;
            margin-top: 12px;
        }

        /* ================= RESULT CARDS ================= */

        .result-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

        .result-card {
            padding: 22px;
            border-radius: 15px;
            text-align: center;
            background: white;
            border: 1px solid #e0eaf2;
            box-shadow: 0 3px 12px rgba(0, 60, 120, .06);
        }

        .result-card .number {
            font-size: 28px;
            font-weight: bold;
            margin: 8px 0;
        }

        .card-green {
            border-top: 5px solid #19a463;
        }

        .card-yellow {
            border-top: 5px solid #e4a900;
        }

        .card-red {
            border-top: 5px solid #df3b3b;
        }

        /* ================= RESULT SECTION ================= */

        .result-section {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 25px;
            border: 1px solid #e0eaf2;
            box-shadow: 0 3px 12px rgba(0, 60, 120, .05);
        }

        .result-section h3 {
            text-align: center;
            font-size: 22px;
            color: #315f2d;
            margin-bottom: 20px;
        }

        /* ================= PROBABILITY ================= */

        .probability {
            margin: 18px 0;
        }

        .probability-header {
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            margin-bottom: 7px;
        }

        .bar {
            height: 28px;
            background: #edf2f5;
            border-radius: 20px;
            overflow: hidden;
        }

        .bar-fill {
            height: 100%;
            border-radius: 20px;
            width: 0;
            transition: 1s;
        }

        .green-fill {
            background: #35a66b;
        }

        .yellow-fill {
            background: #e9b52e;
        }

        .red-fill {
            background: #df5555;
        }

        /* ================= TABLE ================= */

        .table-wrapper {
            overflow-x: auto;
        }

        .water-table {
            width: 100%;
            border-collapse: collapse;
        }

        .water-table th {
            background: #5d8d1c;
            color: white;
            padding: 14px;
            text-align: left;
        }

        .water-table td {
            padding: 13px;
            border-bottom: 1px solid #e1e6eb;
        }

        .water-table tr:hover {
            background: #f7fafc;
        }

        .status-good {
            color: #159653;
            font-weight: bold;
        }

        .status-bad {
            color: #d83232;
            font-weight: bold;
        }

        /* ================= PARAMETER BARS ================= */

        .parameter-analysis {
            margin-bottom: 18px;
        }

        .parameter-name {
            display: flex;
            justify-content: space-between;
            margin-bottom: 7px;
            font-weight: bold;
        }

        .parameter-bar {
            height: 22px;
            background: #edf2f5;
            border-radius: 20px;
            overflow: hidden;
        }

        .parameter-bar-fill {
            height: 100%;
            background: #5f8d30;
            border-radius: 20px;
        }

        /* ================= FEATURE IMPORTANCE ================= */

        .feature {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 15px 0;
        }

        .feature-name {
            width: 170px;
            font-weight: bold;
        }

        .feature-bar {
            flex: 1;
            height: 22px;
            background: #edf2f5;
            border-radius: 20px;
            overflow: hidden;
        }

        .feature-fill {
            height: 100%;
            background: #5f8d30;
            border-radius: 20px;
        }

        .feature-value {
            width: 55px;
            font-weight: bold;
        }

        /* ================================================= */
        /* SUVNI FOYDALANISH BO'YICHA TAVSIYA */
        /* ================================================= */

        .usage-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 10px;
        }

        .usage-card {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 20px;
            border-radius: 14px;
            background: #ffffff;
            border: 1px solid #e1e9ef;
            transition: all .2s ease;
        }

        .usage-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(0, 60, 120, .10);
        }

        .usage-icon {
            width: 58px;
            height: 58px;
            min-width: 58px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            font-size: 30px;
        }

        .usage-card.recommended {
            border-left: 5px solid #19a463;
        }

        .usage-card.recommended .usage-icon {
            background: #eafaf2;
        }

        .usage-card.warning {
            border-left: 5px solid #e4a900;
        }

        .usage-card.warning .usage-icon {
            background: #fff8e6;
        }

        .usage-card.not-recommended {
            border-left: 5px solid #df3b3b;
        }

        .usage-card.not-recommended .usage-icon {
            background: #fff0f0;
        }

        .usage-info {
            flex: 1;
        }

        .usage-title {
            font-size: 17px;
            font-weight: bold;
            color: #183e70;
            margin-bottom: 7px;
        }

        .usage-status {
            font-size: 13px;
            font-weight: bold;
        }

        .usage-card.recommended .usage-status {
            color: #159653;
        }

        .usage-card.warning .usage-status {
            color: #c48700;
        }

        .usage-card.not-recommended .usage-status {
            color: #d83232;
        }

        /* ================= AI RECOMMENDATION ================= */

        .recommendation {
            background: #eef8ff;
            border-left: 6px solid #078be5;
            padding: 22px;
            border-radius: 10px;
            line-height: 1.7;
            color: #31516d;
        }

        .recommendation strong {
            color: #123c70;
        }

        /* ================= DOWNLOAD ================= */

        .download-area {
            text-align: center;
            margin-top: 30px;
        }

        .download-btn {
            border: none;
            background: #5f8d1c;
            color: white;
            font-size: 17px;
            font-weight: bold;
            padding: 15px 45px;
            border-radius: 8px;
            cursor: pointer;
        }

        .download-btn:hover {
            background: #4d7517;
        }

        /* ================= FOOTER ================= */

        footer {
            margin: 0 30px;
            border-top: 1px solid #dce5ec;
            padding: 20px 10px;
        }

        .footer-top {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            color: #2773a8;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .university-logo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e8f3fa;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 21px;
        }

        .footer-bottom {
            border-top: 1px solid #dce5ec;
            padding-top: 17px;
            display: flex;
            justify-content: space-between;
            color: #52718d;
            font-size: 13px;
        }

        /* ================= RESPONSIVE ================= */

        @media(max-width:900px) {

            .parameters {
                grid-template-columns: repeat(2, 1fr);
            }

            .result-cards {
                grid-template-columns: 1fr;
            }

        }

        @media(max-width:600px) {

            .container {
                width: 100%;
                margin: 0;
                border-radius: 0;
            }

            .content {
                padding: 10px;
            }

            .section {
                padding: 15px;
            }

            .parameters {
                grid-template-columns: 1fr;
            }

            .usage-grid {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 22px;
            }

            .subtitle {
                font-size: 16px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

        }
