
        :root {
            --primary-color: #00A9E5;
            --secondary-color: #00D0E2;
            --accent-color: #137896;
            --text-color: #898989;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
        }

        /*  Fix for extra empty column in table on mobile */
        .result-content td:last-child:empty,
        .result-content th:last-child:empty {
            display: none;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--text-color) 100%);
            min-height: 100vh;
        }

        .main-container {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            box-shadow: 0 25px 50px rgba(0, 169, 229, 0.15);
            border: 1px solid rgba(0, 169, 229, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            padding: 40px !important;
            max-width: 900px !important;
            width: min(100%, 900px) !important;
            box-sizing: border-box !important;
            min-width: 0 !important;
            flex-basis: auto !important;
            margin-left: auto !important;
            margin-right: auto !important;
            flex-grow: 1;
        }

        .main-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 35px 60px rgba(0, 169, 229, 0.25);
        }

        .header-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .header-section h1 {
            color: var(--accent-color);
            font-size: 2.5em;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-section p {
            color: var(--text-color);
            font-size: 1.1em;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }

        .form-group {
            position: relative;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--accent-color);
            font-weight: 600;
            font-size: 1.1em;
        }

        .required-asterisk {
            color: var(--danger-color);
            margin-left: 4px;
            font-weight: 700;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #e0f4ff;
            border-radius: 12px;
            font-size: 1em;
            transition: all 0.3s ease;
            background: #f8fdff;
            color: var(--accent-color);
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            background: white;
            box-shadow: 0 0 0 3px rgba(0, 169, 229, 0.1);
            transform: translateY(-2px);
        }

        .form-group input:hover,
        .form-group select:hover {
            border-color: var(--secondary-color);
            background: white;
        }

        .form-group input[type="number"] {
            -moz-appearance: textfield;
        }

        .form-group input[type="number"]::-webkit-outer-spin-button,
        .form-group input[type="number"]::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .analyze-btn {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 18px 40px;
            border-radius: 12px;
            font-size: 1.2em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0, 169, 229, 0.3);
            position: relative;
            overflow: hidden;
        }

        .analyze-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0, 169, 229, 0.4);
            background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
        }

        .analyze-btn:active {
            transform: translateY(-1px);
        }

        .analyze-btn.loading {
            pointer-events: none;
        }

        .analyze-btn.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        .feature-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .feature-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
            padding: 25px;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 169, 229, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(0, 169, 229, 0.1);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 169, 229, 0.15);
        }

        .feature-card .icon {
            font-size: 2.5em;
            margin-bottom: 15px;
            filter: grayscale(20%) hue-rotate(180deg);
        }

        .feature-card h4 {
            color: var(--accent-color);
            margin-bottom: 10px;
            font-size: 1.1em;
        }

        .feature-card p {
            color: var(--text-color);
            font-size: 0.9em;
        }

        .result-section {
            background: linear-gradient(135deg, #ffffff 0%, #f8fdff 50%, #f0f8ff 100%);
            border-radius: 20px;
            padding: 0;
            margin-top: 40px;
            display: none;
            animation: slideIn 0.6s ease;
            box-shadow: 0 20px 40px rgba(0, 169, 229, 0.15), 0 5px 15px rgba(0, 169, 229, 0.1);
            border: 1px solid rgba(0, 169, 229, 0.1);
            overflow: hidden;
        }

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

        .result-section > h3 {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            margin: 0;
            padding: 25px 35px;
            font-size: 1.6em;
            font-weight: 700;
            border-radius: 20px 20px 0 0;
            box-shadow: 0 5px 15px rgba(0, 169, 229, 0.2);
        }

        .result-section > h3 i {
            margin-right: 12px;
            font-size: 1.2em;
        }

        .result-content {
            padding: 35px;
            color: var(--accent-color);
            line-height: 1.7;
            font-size: 1rem;
        }

        .result-content h3:first-child {
            background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
            border: none;
            border-radius: 16px;
            padding: 25px 30px;
            margin: 0 0 30px 0;
            font-size: 1.4em;
            color: var(--accent-color);
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 169, 229, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
            position: relative;
            overflow: hidden;
        }

        .result-content h3:first-child::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }

        .score-high {
            background: linear-gradient(135deg, #ecfdf4 0%, #d1fae5 100%) !important;
            color: #065f46 !important;
        }

        .score-high::before {
            background: linear-gradient(90deg, #10b981, #34d399) !important;
        }

        .score-low {
            background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%) !important;
            color: #991b1b !important;
        }

        .score-low::before {
            background: linear-gradient(90deg, #ef4444, #f87171) !important;
        }

        .result-content h3:not(:first-child) {
            color: var(--accent-color);
            font-size: 1.3em;
            font-weight: 700;
            margin: 35px 0 20px 0;
            padding-left: 15px;
            border-left: 4px solid var(--primary-color);
            position: relative;
        }

        .result-content h3:not(:first-child)::after {
            content: '';
            position: absolute;
            left: -4px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }

        .result-info-custom {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px;
            margin: 20px 0 30px 0;
        }

        .result-info-custom.full-width .info-block:first-child {
            grid-column: 1 / -1;
        }

        .info-block {
            background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
            border: 1px solid rgba(0, 169, 229, 0.15);
            border-left: 5px solid var(--primary-color);
            border-radius: 12px;
            padding: 18px 22px;
            font-weight: 600;
            color: var(--accent-color);
            font-size: 0.95rem;
            line-height: 1.4;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .info-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        }

        .info-block:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 169, 229, 0.15);
            background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
        }

        .result-content table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin: 20px 0;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 169, 229, 0.1);
        }

        .result-content th {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 18px 20px;
            text-align: left;
            font-weight: 700;
            font-size: 1.05em;
        }

        .result-content th:nth-child(2) {
            text-align: center;
        }

        .result-content td {
            padding: 16px 20px;
            border-bottom: 1px solid #e5f3ff;
            background: white;
            transition: all 0.3s ease;
        }

        .result-content tr:hover td {
            background: #f8fdff;
        }

        .result-content tr:last-child td {
            border-bottom: none;
        }

        .result-content td:nth-child(2) {
            text-align: center;
            font-weight: 700;
            font-size: 1.1em;
            position: relative;
        }

        .score-excellent { color: #10b981 !important; }
        .score-good { color: #3b82f6 !important; }
        .score-average { color: #f59e0b !important; }
        .score-poor { color: #ef4444 !important; }

        .result-content td:nth-child(2)::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: currentColor;
            opacity: 0.1;
            z-index: -1;
        }

        .result-content p:last-of-type,
        .result-content .conclusion-block {
            background: linear-gradient(135deg, #f8fdff 0%, #e0f4ff 100%);
            border: 1px solid rgba(0, 169, 229, 0.2);
            border-left: 6px solid var(--primary-color);
            border-radius: 12px;
            padding: 20px 25px;
            margin: 30px 0 0 0;
            font-weight: 600;
            font-size: 1.05em;
            color: var(--accent-color);
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 169, 229, 0.08);
        }

        .result-content p:last-of-type::before {
            content: '💡';
            font-size: 1.2em;
            margin-right: 10px;
        }

        .info-block,
        .result-content table,
        .result-content p:last-of-type {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }

        .info-block:nth-child(1) { animation-delay: 0.1s; }
        .info-block:nth-child(2) { animation-delay: 0.2s; }
        .info-block:nth-child(3) { animation-delay: 0.3s; }
        .info-block:nth-child(4) { animation-delay: 0.4s; }

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

        @media (max-width: 1024px) {
            .main-container {
                padding: 30px !important;
                max-width: 100% !important;
                width: min(100%, 900px) !important;
            }
            .header-section h1 { font-size: 2em; }
            .form-grid { grid-template-columns: 1fr; gap: 20px; }
            .form-group.full-width { grid-column: 1; }
            .result-section { margin-top: 30px; }
        }

        @media (max-width: 768px) {
            .main-container { padding: 20px 15px; border-radius: 16px; }
            .header-section h1 { font-size: 1.6em; }
            .header-section p { font-size: 0.95em; }
            .form-group label { font-size: 1em; }
            .form-group input, .form-group select { padding: 14px 16px; font-size: 1em; }
            .analyze-btn { width: 100%; padding: 16px; font-size: 1.1em; }
            .result-section { margin: 20px 10px; border-radius: 16px; }
            .result-section > h3 { padding: 20px 25px; font-size: 1.4em; border-radius: 16px 16px 0 0; }
            .result-info-custom { grid-template-columns: 1fr; gap: 12px; }
            .result-content { padding: 20px 15px; font-size: 0.95em; }
            /* Adjust table for small screens to prevent scrolling */
            .table-responsive-wrapper { overflow-x: hidden; } /* Hide scrollbar */
            .result-content table { min-width: 100%; } /* Remove fixed min-width */
            .result-content th, .result-content td {
                padding: 12px 8px; /* Reduce padding slightly */
                white-space: normal; /* Allow text to wrap */
                word-wrap: break-word;
            }
            .feature-cards { grid-template-columns: 1fr; gap: 15px; }
        }

        @media (max-width: 480px) {
            .main-container { padding: 15px; }
            .header-section h1 { font-size: 1.4em; }
            .form-group label { font-size: 0.95em; }
            .form-group input, .form-group select { padding: 12px 14px; font-size: 0.9em; }
            .result-content td:nth-child(2)::before { width: 24px; height: 24px; }
            .result-content td { font-size: 0.85em; }
        }

        .footer {
            text-align: center;
            padding: 20px;
            margin-top: 40px;
            color: white;
            font-size: 0.9em;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        }
    