/* =========================================
   FEEDBACK PAGE
========================================= */

.feedback-page {
    max-width: 1050px;
    margin: 30px auto;
    padding: 0 24px 50px;
}

.feedback-card {
    background: #ffffff;
    border: 1px solid #e3e8f2;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 10px 35px rgba(36, 48, 94, 0.08);
}


/* =========================================
   INTRO
========================================= */

.feedback-intro {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 24px;

    background: linear-gradient(
        135deg,
        #eef7ff,
        #f3efff
    );

    border-radius: 20px;
    margin-bottom: 30px;
}

.feedback-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 38px;

    background: #ffffff;
    border-radius: 20px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.feedback-intro h2 {
    margin: 0 0 8px;
    color: #202a50;
    font-size: 27px;
}

.feedback-intro p {
    margin: 0;
    color: #606a7e;
    line-height: 1.6;
}


/* =========================================
   FORM
========================================= */

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feedback-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.feedback-field > label {
    color: #202a50;
    font-weight: 700;
    font-size: 16px;
}


/* =========================================
   SELECT
========================================= */

.feedback-field select {
    width: 100%;

    padding: 14px 16px;

    font-family: inherit;
    font-size: 16px;
    color: #29334f;

    background: #ffffff;

    border: 1px solid #d7deeb;
    border-radius: 12px;

    outline: none;

    transition: 0.2s;
}

.feedback-field select:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.12);
}


/* =========================================
   COMMENT TYPES
========================================= */

.feedback-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feedback-type {
    position: relative;
    cursor: pointer;
}

.feedback-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.feedback-type span {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    border: 2px solid #e0e5ef;
    border-radius: 15px;

    background: #fafbfe;

    color: #303a57;
    font-size: 16px;
    font-weight: 700;

    transition: 0.2s;
}

.feedback-type:hover span {
    border-color: #aaa0ef;
    background: #f7f5ff;
}

.feedback-type input:checked + span {
    border-color: #6c5ce7;
    background: #efedff;
    color: #5142cf;

    box-shadow: 0 4px 12px rgba(108,92,231,0.12);
}


/* =========================================
   TEXTAREA
========================================= */

.feedback-field textarea {
    width: 100%;
    min-height: 160px;

    resize: vertical;

    padding: 16px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;

    color: #29334f;
    background: #ffffff;

    border: 1px solid #d7deeb;
    border-radius: 14px;

    outline: none;

    transition: 0.2s;
}

.feedback-field textarea:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.12);
}


/* =========================================
   PRIVACY
========================================= */

.feedback-privacy {
    padding: 16px 18px;

    background: #f0f7ff;

    border: 1px solid #d8eaff;
    border-radius: 13px;

    color: #4b5871;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================
   SUBMIT
========================================= */

.feedback-submit {
    align-self: flex-end;

    min-width: 230px;

    padding: 15px 24px;

    border: 0;
    border-radius: 13px;

    background: #6755e7;
    color: white;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(103,85,231,0.22);

    transition: 0.2s;
}

.feedback-submit:hover {
    transform: translateY(-2px);
    background: #5948d6;
}

.feedback-submit:active {
    transform: translateY(0);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .feedback-page {
        padding: 0 12px 35px;
        margin-top: 18px;
    }

    .feedback-card {
        padding: 18px;
        border-radius: 18px;
    }

    .feedback-intro {
        align-items: flex-start;
        padding: 18px;
    }

    .feedback-icon {
        width: 55px;
        height: 55px;
        font-size: 29px;
    }

    .feedback-intro h2 {
        font-size: 22px;
    }

    .feedback-types {
        grid-template-columns: 1fr;
    }

    .feedback-type span {
        min-height: 58px;
    }

    .feedback-submit {
        width: 100%;
        align-self: stretch;
    }
}