/* =========================================================
   PARTNERS IN HOMECARE SERVICES
   CLIENT SATISFACTION SURVEY
   ========================================================= */

.phcf-satisfaction-container {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.phcf-satisfaction-card {
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(38, 38, 38, 0.08);
}

.phcf-satisfaction-header {
    padding: 45px 50px;
    background: #695425;
    color: #ffffff;
    text-align: center;
}

.phcf-satisfaction-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #a1c861;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.phcf-satisfaction-header h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 700;
}

.phcf-satisfaction-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.75;
}

.phcf-satisfaction-body {
    padding: 45px 50px 50px;
}

.phcf-survey-intro {
    margin-bottom: 30px;
    padding: 16px 20px;
    background: #f5f7ee;
    border-left: 4px solid #a1c861;
    border-radius: 5px;
}

.phcf-survey-intro span {
    display: block;
    margin-bottom: 3px;
    color: #695425;
    font-weight: 700;
}

.phcf-survey-intro p {
    margin: 0;
    color: #555555;
    font-size: 14px;
}

.phcf-survey-question {
    padding: 0 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eeeeee;
}

.phcf-survey-question > label {
    display: block;
    margin-bottom: 18px;
    color: #222222;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 600;
}

.phcf-survey-question > label > span {
    color: #a1c861;
}

.phcf-rating-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.phcf-rating-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.phcf-rating-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.phcf-rating-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: all .2s ease;
}

.phcf-rating-option:hover span {
    border-color: #a1c861;
    background: #f8fbf2;
}

.phcf-rating-option input:checked + span {
    border-color: #a1c861;
    background: #a1c861;
    color: #ffffff;
    font-weight: 700;
}

.phcf-yes-no {
    grid-template-columns: repeat(2, minmax(120px, 220px));
}

.phcf-reason {
    border-bottom: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.phcf-reason textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px 16px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 8px;
    resize: vertical;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.phcf-reason textarea:focus {
    border-color: #a1c861;
    box-shadow: 0 0 0 3px rgba(161, 200, 97, .12);
}

.phcf-survey-privacy {
    margin: 25px 0 30px;
    padding: 18px 20px;
    background: #f7f7f7;
    border-radius: 8px;
}

.phcf-survey-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: #555555;
    font-size: 13px;
    line-height: 1.7;
    cursor: pointer;
}

.phcf-survey-privacy input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #a1c861;
}

.phcf-survey-privacy a {
    color: #695425;
    font-weight: 600;
}

.phcf-satisfaction-submit {
    text-align: center;
}

.phcf-satisfaction-button,
.phcf-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 32px;
    border: 0;
    border-radius: 50px;
    background: #a1c861;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s ease;
}

.phcf-satisfaction-button:hover,
.phcf-success-button:hover {
    background: #695425;
    color: #ffffff;
    transform: translateY(-1px);
}

.phcf-satisfaction-success {
    padding: 55px 25px;
    text-align: center;
}

.phcf-success-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #a1c861;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.phcf-satisfaction-success h3 {
    margin: 0 0 15px;
    color: #695425;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 700;
}

.phcf-satisfaction-success p {
    max-width: 650px;
    margin: 0 auto 12px;
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}

.phcf-success-button {
    margin-top: 20px;
}

@media only screen and (max-width: 767px) {
    .phcf-satisfaction-container {
        margin: 25px auto;
        padding: 0 15px;
    }

    .phcf-satisfaction-header {
        padding: 35px 25px;
    }

    .phcf-satisfaction-body {
        padding: 30px 22px 35px;
    }

    .phcf-rating-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .phcf-yes-no {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 480px) {
    .phcf-satisfaction-header {
        padding: 30px 20px;
    }

    .phcf-satisfaction-header h2 {
        font-size: 28px;
    }

    .phcf-satisfaction-header p {
        font-size: 14px;
    }

    .phcf-satisfaction-body {
        padding: 25px 16px 30px;
    }

    .phcf-rating-options,
    .phcf-yes-no {
        grid-template-columns: 1fr;
    }

    .phcf-survey-question > label {
        font-size: 16px;
    }

    .phcf-survey-privacy label {
        font-size: 12px;
    }
}
