/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #0f172a;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main Container */
.container {
    max-width: 90%;
    width: 800px;
    text-align: center;
}

/* Questionnaire Box */
.questionnaire {
    background: whitesmoke;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
}

/* Progress Bar */
.progress-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #d1d5db;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    width: 50%; /* Progress for Question 1 */
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease-in-out;
}

/* Question */
.question {
    font-size: 15px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 10px;
    text-align: left;
}

/* Updated Main Question */
.main-question {
    font-size: 22px; /* Updated to 22px */
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center; /* Ensures proper alignment */
}

/* Options */
.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.option {
    background: #334155;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    width: 300px;
    height: 70px;
    font-size: 18px;
    transition: background 0.3s;
}

.option:hover {
    background: #475569;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2563eb;
}

/* Disabled Button */
.btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    /* Pangkalahatang Container */
    .container {
         /* Pangkalahatang padding para hindi masikip sa gilid */
        padding: 0 10px;
        /* Alisin ang max-width at gawing 100% para mag-adjust sa screen */
        max-width: 95%;
        width: 100%;
    }

    /* Questionnaire Box */
    .questionnaire {
        padding: 15px; /* Bawasan ang padding para mas compact */
        margin: 10px auto;
        max-width: 100%;
    }

     h1 {
        font-size: 1.5rem; /* Paliitin ang font size ng main header */
    }

     p {
        font-size: 0.9rem; /* Paliitin din ang font size ng descriptive text */
    }

      /* Tanong at Progress Bar */
    .progress-container {
        margin-bottom: 15px;
    }

    /* Pangunahing Tanong */
      .question {
        font-size: 14px; /* Mas maliit na font para sa "Question 1 of 2" */
    }

    .main-question {
        font-size: 18px; /* Bahagyang paliitin ang font size */
        margin-bottom: 15px;
    }

    /* Mga Options (Buttons) */
    .options {
        flex-direction: column; /* I-stack ang mga options nang patayo */
        gap: 10px; /* Bawasan ang espasyo sa pagitan ng mga buttons */
    }

    .option-label {
        width: 100%;
        display: block; /* Gawin itong block-level para mas madaling ayusin */
    }
    

     .option {
        width: 100%; /* Gawing full-width ang bawat button */
        height: auto; /* Awtomatikong ayusin ang taas */
        min-height: 50px; /* Magbigay ng minimum height para hindi masyadong maliit */
        padding: 12px 15px; /* Ayusin ang padding */
        font-size: 16px; /* Paliitin ang font size */
    }

    /* Navigation Buttons */
    .nav-buttons {
        flex-direction: column; /* I-stack din ang navigation buttons */
        gap: 10px;
        margin-top: 20px; /* Bawasan ang espasyo sa itaas */
    }

    .btn {
        width: 100%; /* Gawing full-width */
        padding: 12px;
        font-size: 15px;
    }
}
