﻿/* =========================================================
   FEEDBACK PAGE
========================================================= */

.ntpc-feedback-form-content {
    padding: 30px 35px 40px;
    background: var(--ntpc-white);
}


/* Intro */

.ntpc-feedback-intro {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 18px 20px;
    background: #f7f7f9;
    border: 1px solid #dedee3;
    border-left: 5px solid var(--ntpc-primary);
    border-radius: 5px;
}

.ntpc-feedback-intro-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ntpc-primary);
    color: var(--ntpc-white);
    border-radius: 50%;
    font-size: 17px;
}

.ntpc-feedback-intro h3 {
    margin: 0 0 5px;
    color: var(--ntpc-primary);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.ntpc-feedback-intro p {
    margin: 0;
    color: var(--ntpc-earth);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}


/* Form */

.ntpc-feedback-form {
    max-width: 1100px;
    margin: 0 auto;
}


/* Form sections */

.ntpc-feedback-form-section {
    margin-bottom: 28px;
    padding: 24px 26px 26px;
    background: #fff;
    border: 1px solid #dedee3;
    border-radius: 6px;
}

.ntpc-feedback-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e2e5;
}

.ntpc-feedback-section-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ntpc-primary);
    color: var(--ntpc-white);
    border-radius: 4px;
    font-size: 16px;
}

.ntpc-feedback-section-heading h3 {
    margin: 0;
    color: var(--ntpc-primary);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.ntpc-feedback-section-heading p {
    margin: 2px 0 0;
    color: var(--ntpc-grey-03);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}


/* Form grid */

.ntpc-feedback-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}


/* Fields */

.ntpc-feedback-field {
    width: 100%;
}

    .ntpc-feedback-field label {
        display: block;
        margin: 0 0 7px;
        color: var(--ntpc-earth);
        font-family: "Noto Sans", Arial, Helvetica, sans-serif;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 600;
    }

        .ntpc-feedback-field label span {
            color: #b00020;
        }

.ntpc-feedback-input,
.ntpc-feedback-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfcfd5;
    border-radius: 4px;
    background: #fff;
    color: var(--ntpc-earth);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ntpc-feedback-input {
    min-height: 44px;
    padding: 9px 12px;
}

.ntpc-feedback-textarea {
    min-height: 130px;
    padding: 11px 12px;
    resize: vertical;
}

    .ntpc-feedback-input::placeholder,
    .ntpc-feedback-textarea::placeholder {
        color: #8e8e8e;
    }

    .ntpc-feedback-input:focus,
    .ntpc-feedback-textarea:focus {
        border-color: var(--ntpc-primary);
        box-shadow: 0 0 0 3px rgba(29, 10, 105, .12);
    }


/* CAPTCHA */

.ntpc-captcha-wrapper {
    width: 100%;
}

.ntpc-captcha-display-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ntpc-captcha-box {
    min-width: 190px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    box-sizing: border-box;
    background: #f0f0f2;
    border: 1px solid #cfcfd5;
    border-radius: 4px;
}

    .ntpc-captcha-box span {
        color: var(--ntpc-earth);
        font-family: "Courier New", monospace;
        font-size: 24px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 4px;
    }

.ntpc-captcha-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ntpc-captcha-audio {
    background: var(--ntpc-primary);
    border-color: var(--ntpc-primary);
    color: #fff;
}

    .ntpc-captcha-audio:hover,
    .ntpc-captcha-audio:focus {
        background: #15064e;
        border-color: #15064e;
        color: #fff;
    }

.ntpc-captcha-refresh {
    background: #fff;
    border-color: #bcbcc3;
    color: var(--ntpc-earth);
}

    .ntpc-captcha-refresh:hover,
    .ntpc-captcha-refresh:focus {
        background: #f3f3f5;
        border-color: var(--ntpc-primary);
        color: var(--ntpc-primary);
    }

.ntpc-captcha-btn:focus-visible,
.ntpc-feedback-submit:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .45);
    outline-offset: 2px;
}

.ntpc-captcha-input-field {
    max-width: 520px;
}

.ntpc-captcha-audio-message {
    margin-top: 15px;
    padding: 10px 12px;
    background: #f7f7f9;
    border: 1px solid #dedee3;
    border-radius: 4px;
    color: var(--ntpc-earth);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.ntpc-captcha-error {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff4f4;
    border: 1px solid #e3b4b4;
    border-radius: 4px;
    color: #a00000;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}


/* Submit */

.ntpc-feedback-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 5px;
}

.ntpc-feedback-submit {
    min-width: 165px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--ntpc-primary);
    border-radius: 4px;
    background: var(--ntpc-primary);
    color: #fff;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

    .ntpc-feedback-submit:hover,
    .ntpc-feedback-submit:focus {
        background: #15064e;
        border-color: #15064e;
        color: #fff;
    }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .ntpc-feedback-form-content {
        padding: 25px 20px 30px;
    }

    .ntpc-feedback-intro {
        padding: 16px;
    }

    .ntpc-feedback-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ntpc-feedback-form-section {
        padding: 20px;
    }

    .ntpc-captcha-display-row {
        align-items: stretch;
    }

    .ntpc-captcha-box {
        width: 100%;
    }

    .ntpc-captcha-btn {
        flex: 1 1 auto;
    }

    .ntpc-feedback-form-actions {
        justify-content: stretch;
    }

    .ntpc-feedback-submit {
        width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .ntpc-feedback-form-content {
        padding: 20px 15px 25px;
    }

    .ntpc-feedback-intro {
        display: block;
        padding: 15px;
        border-left-width: 4px;
    }

    .ntpc-feedback-intro-icon {
        margin-bottom: 10px;
    }

    .ntpc-feedback-intro h3 {
        font-size: 16px;
    }

    .ntpc-feedback-intro p {
        font-size: 13px;
    }

    .ntpc-feedback-form-section {
        padding: 17px 15px 18px;
    }

    .ntpc-feedback-section-heading {
        align-items: flex-start;
    }

        .ntpc-feedback-section-heading h3 {
            font-size: 16px;
        }

        .ntpc-feedback-section-heading p {
            font-size: 11px;
        }

    .ntpc-feedback-input,
    .ntpc-feedback-textarea {
        font-size: 13px;
    }

    .ntpc-captcha-display-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ntpc-captcha-box {
        grid-column: 1 / -1;
    }

    .ntpc-captcha-btn {
        width: 100%;
        padding: 8px 10px;
        font-size: 12px;
    }

    .ntpc-captcha-box span {
        font-size: 21px;
    }
}



/* =========================================================
   WIM PAGE
========================================================= */

.ntpc-wim-content {
    padding: 20px;
    background: var(--ntpc-white);
    display:flex;
    align-items:center;
    justify-content:center;
}



.ntpc-wim-card {
    max-width: 1050px;
    margin: 0 auto 24px;
    background: #fff;
    border: 1px solid #dedee3;
    border-radius: 6px;
    overflow: hidden;
}

    .ntpc-wim-card:last-child {
        margin-bottom: 0;
    }


/* Card Header */

.ntpc-wim-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: #f7f7f9;
    border-bottom: 1px solid #dedee3;
}

.ntpc-wim-card-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ntpc-primary);
    color: var(--ntpc-white);
    border-radius: 4px;
    font-size: 18px;
}

.ntpc-wim-card-label {
    display: block;
    margin-bottom: 2px;
    color: var(--ntpc-grey-03);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.ntpc-wim-card-header h3 {
    margin: 0;
    color: var(--ntpc-primary);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}


/* Details */

.ntpc-wim-details {
    padding: 5px 22px;
}

.ntpc-wim-detail-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e8;
}

    .ntpc-wim-detail-row:last-child {
        border-bottom: 0;
    }

.ntpc-wim-detail-label {
    color: var(--ntpc-grey-03);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.ntpc-wim-detail-value {
    color: var(--ntpc-earth);
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {



    .ntpc-wim-card-header {
        padding: 16px 18px;
    }

    .ntpc-wim-details {
        padding: 4px 18px;
    }

    .ntpc-wim-detail-row {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 15px;
    }
    .ntpc-wim-content {
        padding: 20px;
      
        flex-direction:column;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .ntpc-wim-content {
        padding: 20px 15px 25px;
    }

    .ntpc-wim-card-header {
        align-items: flex-start;
        padding: 15px;
    }

    .ntpc-wim-card-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 16px;
    }

    .ntpc-wim-card-label {
        font-size: 10px;
    }

    .ntpc-wim-card-header h3 {
        font-size: 16px;
    }

    .ntpc-wim-details {
        padding: 4px 15px;
    }

    .ntpc-wim-detail-row {
        display: block;
        padding: 13px 0;
    }

    .ntpc-wim-detail-label {
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
    }

    .ntpc-wim-detail-value {
        display: block;
        font-size: 13px;
        line-height: 1.6;
    }
}