/* =========================================
   Vintage Response Archive
   Frontend Questionnaire Style
========================================= */

.vra-questionnaire {
    max-width: 850px;
    margin: 40px auto;
    padding: 45px;
    background: #f4ead5;
    border: 1px solid #b8a27a;
    box-shadow: 0 8px 25px rgba(60, 45, 25, 0.15);
    color: #3d3021;
    font-family: Georgia, "Times New Roman", serif;
}

.vra-questionnaire h2 {
    margin: 0 0 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #806b4a;
    color: #332619;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    letter-spacing: 1px;
}

.vra-questionnaire > p {
    color: #6b5940;
    font-size: 16px;
    margin-bottom: 30px;
}


/* =========================================
   Progress Indicator
========================================= */

.vra-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0 40px;
}

.vra-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    text-align: center;
    color: #9b896c;
    transition: all 0.3s ease;
}

.vra-progress-number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #b8a27a;
    border-radius: 50%;

    background: #eee2c8;
    color: #6f5b3e;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
    font-size: 14px;
}

.vra-progress-label {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: bold;
}

.vra-progress-item.active {
    color: #3d3021;
}

.vra-progress-item.active .vra-progress-number {
    background: #3d3021;
    color: #f4ead5;
    border-color: #3d3021;
}

.vra-progress-line {
    flex: 1;
    height: 1px;
    max-width: 120px;
    margin: 0 8px;
    background: #b8a27a;
}


/* =========================================
   Step Heading
========================================= */

.vra-step-heading {
    margin-bottom: 25px;
}

.vra-step-heading h3 {
    margin: 0 0 5px;
    color: #3d3021;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    letter-spacing: 1px;
}

.vra-step-heading p {
    margin: 0;
    color: #806b4a;
    font-size: 13px;
    font-style: italic;
}


/* =========================================
   Question Block
========================================= */

.vra-question {
    margin-bottom: 30px;
    padding: 22px;
    background: #f8f0df;
    border: 1px solid #cbb994;
    border-left: 5px solid #806b4a;
    box-shadow: 0 3px 8px rgba(60, 45, 25, 0.08);
}

.vra-question p {
    margin-top: 0;
    color: #493824;
    line-height: 1.6;
}

.vra-question strong {
    font-size: 17px;
}


/* =========================================
   Answer Box
========================================= */

.vra-question textarea {
    width: 100%;
    min-height: 130px;
    box-sizing: border-box;
    padding: 14px;
    margin-top: 8px;

    background: #fffaf0;
    border: 1px solid #a99778;

    color: #33291d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.6;

    resize: vertical;
    outline: none;
}

.vra-question textarea::placeholder {
    color: #9a8b73;
    font-style: italic;
}

.vra-question textarea:focus {
    border-color: #66543a;
    box-shadow: 0 0 0 2px rgba(128, 107, 74, 0.15);
}


/* =========================================
   Navigation Buttons
========================================= */

.vra-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.vra-navigation button {
    padding: 12px 26px;

    background: #4a3927;
    border: 1px solid #332619;

    color: #f7edd9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.vra-navigation button:hover {
    background: #302419;
    transform: translateY(-1px);
}


/* =========================================
   Back Button
========================================= */

.vra-navigation .vra-back-button {
    background: transparent;
    border: 1px solid #806b4a;
    color: #4a3927;
}

.vra-navigation .vra-back-button:hover {
    background: #e8dcc4;
}


/* =========================================
   Submit Button
========================================= */

.vra-questionnaire button[type="submit"] {
    padding: 13px 28px;

    background: #4a3927;
    border: 1px solid #332619;

    color: #f7edd9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.vra-questionnaire button[type="submit"]:hover {
    background: #302419;
    transform: translateY(-1px);
}


/* =========================================
   Already Submitted Message
========================================= */

.vra-submitted-message {
    max-width: 700px;
    margin: 40px auto;
    padding: 45px 35px;

    background: #f4ead5;
    border: 1px solid #b8a27a;
    box-shadow: 0 8px 25px rgba(60, 45, 25, 0.15);

    color: #3d3021;
    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
}

.vra-submitted-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #806b4a;
    border-radius: 50%;

    background: #eee2c8;
    color: #4a3927;

    font-size: 28px;
    font-weight: bold;
}

.vra-submitted-message h2 {
    margin: 0 0 15px;

    color: #332619;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.vra-submitted-message p {
    margin: 8px 0;

    color: #6b5940;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================
   Login Required
========================================= */

.vra-login-required {
    max-width: 650px;
    margin: 40px auto;
    padding: 45px 30px;

    background: #f4ead5;
    border: 1px solid #b8a27a;
    box-shadow: 0 8px 25px rgba(60, 45, 25, 0.15);

    color: #3d3021;
    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
}

.vra-login-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #806b4a;
    border-radius: 50%;

    background: #eee2c8;
    color: #4a3927;

    font-size: 25px;
}

.vra-login-required h2 {
    margin: 0 0 15px;

    color: #332619;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.vra-login-required p {
    margin: 8px 0 25px;

    color: #6b5940;

    font-size: 16px;
    line-height: 1.6;
}

.vra-login-button {
    display: inline-block;

    padding: 13px 28px;

    background: #4a3927;
    border: 1px solid #332619;

    color: #f7edd9 !important;
    text-decoration: none !important;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.vra-login-button:hover {
    background: #302419;
    color: #fff !important;
    transform: translateY(-1px);
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {

    .vra-questionnaire {
        margin: 20px 10px;
        padding: 25px 18px;
    }

    .vra-questionnaire h2 {
        font-size: 26px;
    }

    .vra-question {
        padding: 16px;
    }

    .vra-question textarea {
        min-height: 110px;
    }


    /* Progress Mobile */

    .vra-progress {
        margin: 25px 0 30px;
    }

    .vra-progress-item {
        min-width: 65px;
    }

    .vra-progress-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .vra-progress-label {
        margin-top: 6px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .vra-progress-line {
        margin: 0 4px;
    }


    /* Navigation Mobile */

    .vra-navigation {
        gap: 10px;
    }

    .vra-navigation button {
        padding: 11px 20px;
    }


    /* Submitted Message Mobile */

    .vra-submitted-message {
        margin: 25px 10px;
        padding: 35px 20px;
    }

    .vra-submitted-message h2 {
        font-size: 23px;
    }

    .vra-submitted-message p {
        font-size: 15px;
    }


    /* Login Mobile */

    .vra-login-required {
        margin: 25px 10px;
        padding: 35px 20px;
    }

    .vra-login-required h2 {
        font-size: 23px;
    }

    .vra-login-required p {
        font-size: 15px;
    }

}
