/* ==========================================
HALAMAN ISI SURVEY
========================================== */

.survey-fill-page {
    min-height: 100vh;
    padding: 50px 15px 70px;
    background: #f5f7fb;
}

.survey-fill-wrapper {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

/* ==========================================
HEADER
========================================== */

.survey-fill-header {
    margin-bottom: 30px;
    padding: 35px;
    background: linear-gradient(135deg, #1269db, #1572e8);
    border-radius: 20px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 15px 40px rgba(21, 114, 232, 0.18);
}

.survey-fill-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.survey-fill-header h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.survey-fill-header p {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================
QUESTION CARD
========================================== */

.question-card {
    margin-bottom: 20px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(31, 45, 61, 0.05);
    transition: all 0.25s ease;
}

.question-card:hover {
    border-color: #d7e6fb;
    box-shadow: 0 12px 30px rgba(31, 45, 61, 0.08);
}

.question-number {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 11px;
    border-radius: 50px;
    background: #edf5ff;
    color: #1572e8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.question-text {
    margin: 0 0 25px;
    color: #1f2d3d;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}


/* ==========================================
RATING BINTANG
========================================== */

.rating-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    margin: 15px 0;
}

.rating-option {
    flex: 1;
    max-width: 100px;
    margin: 0;
    cursor: pointer;
}

.rating-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-star {
    min-height: 85px;
    padding: 14px 8px;
    border: 2px solid #e7ebf1;
    border-radius: 14px;
    background: #ffffff;
    color: #c5ccd6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.rating-star i {
    font-size: 26px;
}

.rating-star small {
    color: #8492a6;
    font-size: 13px;
    font-weight: 700;
}

.rating-option:hover .rating-star {
    transform: translateY(-3px);
    border-color: #1572e8;
    color: #f9c851;
    background: #f8fbff;
}

.rating-option input:checked + .rating-star {
    border-color: #1572e8;
    background: #edf5ff;
    color: #f9c851;
    box-shadow: 0 5px 15px rgba(21, 114, 232, 0.12);
}

.rating-option input:checked + .rating-star small {
    color: #1572e8;
}


/* ==========================================
RATING DESCRIPTION
========================================== */

.rating-description {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: #9aa4b2;
    font-size: 11px;
}


/* ==========================================
SARAN
========================================== */

.question-card textarea.form-control {
    min-height: 130px;
    padding: 15px;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    background: #fafbfd;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s ease;
}

.question-card textarea.form-control:focus {
    border-color: #1572e8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 114, 232, 0.08);
}


/* ==========================================
BUTTON KIRIM
========================================== */

.survey-submit-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-submit-survey {
    min-width: 210px;
    min-height: 52px;
    padding: 12px 25px;
    border: none;
    border-radius: 14px;
    background: #1572e8;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(21, 114, 232, 0.2);
    transition: all 0.2s ease;
}

.btn-submit-survey i {
    margin-right: 8px;
}

.btn-submit-survey:hover {
    background: #1269db;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(21, 114, 232, 0.25);
}

.btn-submit-survey:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}


/* ==========================================
EMPTY QUESTION
========================================== */

.empty-question {
    padding: 60px 25px;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(31, 45, 61, 0.06);
}

.empty-question i {
    margin-bottom: 18px;
    color: #b7c0cc;
    font-size: 55px;
}

.empty-question h3 {
    color: #1f2d3d;
    font-size: 21px;
    font-weight: 700;
}

.empty-question p {
    margin-bottom: 0;
    color: #8492a6;
}


/* ==========================================
RESPONSIVE TABLET
========================================== */

@media (max-width: 767px) {

    .survey-fill-page {
        padding: 20px 10px 45px;
    }

    .survey-fill-header {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .survey-fill-header h1 {
        font-size: 24px;
    }

    .question-card {
        padding: 22px 16px;
        border-radius: 15px;
    }

    .question-text {
        font-size: 16px;
    }

    .rating-wrapper {
        gap: 7px;
    }

    .rating-star {
        min-height: 72px;
        padding: 10px 5px;
        border-radius: 11px;
    }

    .rating-star i {
        font-size: 21px;
    }

    .survey-submit-action {
        justify-content: stretch;
    }

    .btn-submit-survey {
        width: 100%;
    }
}


/* ==========================================
RESPONSIVE HP KECIL
========================================== */

@media (max-width: 480px) {

    .rating-wrapper {
        gap: 5px;
    }

    .rating-star {
        min-height: 65px;
        padding: 8px 3px;
    }

    .rating-star i {
        font-size: 18px;
    }

    .rating-star small {
        font-size: 11px;
    }

    .rating-description {
        font-size: 10px;
    }
}

/* ==========================================
BINTANG AKTIF
========================================== */

.rating-option.active .rating-star {
    border-color: #1572e8;
    background: #edf5ff;
    color: #f9c851;
    box-shadow: 0 5px 15px rgba(21, 114, 232, 0.12);
}

.rating-option.active .rating-star small {
    color: #1572e8;
}
