/* =========================================================
   NAVGRAH — FEEDBACK POPUP
========================================================= */


/* =========================================================
   PAGE LOCK
========================================================= */

body.navgrah-feedback-open {
    overflow: hidden;
}


/* =========================================================
   OVERLAY
========================================================= */

.navgrah-feedback-overlay {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    padding: 30px;

    background: rgba(36, 16, 47, 0.72);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.navgrah-feedback-overlay.is-visible {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   POPUP
========================================================= */

.navgrah-feedback-popup {
    position: relative;

    width: min(560px, 100%);

    max-height: calc(100vh - 60px);

    overflow-y: auto;

    box-sizing: border-box;

    padding: 48px 48px 42px;

    background: #f8f4ec;

    border-left: 4px solid #d89418;

    box-shadow:
        0 25px 70px rgba(36, 16, 47, 0.28);

    transform: translateY(18px);

    transition:
        transform 0.3s ease;
}


.navgrah-feedback-overlay.is-visible
.navgrah-feedback-popup {
    transform: translateY(0);
}


/* =========================================================
   CLOSE
========================================================= */

.navgrah-feedback-close {
    position: absolute;

    top: 16px;
    right: 18px;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #d89418;

    border-radius: 50%;

    background: transparent;

    color: #24102f;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 22px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


.navgrah-feedback-close:hover {
    background: #d89418;

    color: #ffffff;
}


/* =========================================================
   BRAND
========================================================= */

.navgrah-feedback-brand {
    margin-bottom: 12px;

    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px;

    letter-spacing: 0.28em;

    text-align: center;
}


/* =========================================================
   TITLE
========================================================= */

.navgrah-feedback-title {
    margin: 0 0 10px;

    color: #24102f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(30px, 5vw, 40px);

    font-weight: 500;

    line-height: 1.05;

    text-align: center;
}


/* =========================================================
   INTRO
========================================================= */

.navgrah-feedback-intro {
    margin: 0 auto 30px;

    color: #6a5a6c;

    font-size: 14px;

    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   FORM
========================================================= */

.navgrah-feedback-form {
    display: flex;

    flex-direction: column;

    gap: 21px;
}


/* =========================================================
   FIELDSET
========================================================= */

.navgrah-feedback-fieldset {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 0;

    padding: 0;

    border: 0;
}


.navgrah-feedback-fieldset legend {
    margin-bottom: 5px;

    color: #24102f;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   RATING OPTIONS
========================================================= */

.navgrah-feedback-fieldset label {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #24102f;

    font-size: 14px;

    cursor: pointer;
}


.navgrah-feedback-fieldset input[type="radio"] {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: #d89418;
}


/* =========================================================
   STANDARD FIELDS
========================================================= */

.navgrah-feedback-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.navgrah-feedback-field > label {
    color: #24102f;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.08em;

    line-height: 1.3;

    text-transform: uppercase;
}


/* =========================================================
   INPUTS
========================================================= */

.navgrah-feedback-field input[type="text"],
.navgrah-feedback-field input[type="tel"],
.navgrah-feedback-field select,
.navgrah-feedback-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid rgba(36, 16, 47, 0.25);

    border-radius: 0;

    outline: none;

    background: #ffffff;

    color: #24102f;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.4;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.navgrah-feedback-field textarea {
    min-height: 105px;

    resize: vertical;
}


.navgrah-feedback-field input:focus,
.navgrah-feedback-field select:focus,
.navgrah-feedback-field textarea:focus {
    border-color: #d89418;

    box-shadow:
        0 0 0 2px rgba(216, 148, 24, 0.12);
}


/* =========================================================
   FIELD HELP
========================================================= */

.navgrah-feedback-field small {
    color: #6a5a6c;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   REWARD
========================================================= */

.navgrah-feedback-reward {
    display: flex;

    flex-direction: column;

    gap: 5px;

    box-sizing: border-box;

    padding: 16px 18px;

    border-top: 1px solid #d89418;

    border-bottom: 1px solid #d89418;

    background: #f6eadb;

    color: #24102f;

    text-align: center;
}


.navgrah-feedback-reward strong {
    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    font-weight: 600;
}


.navgrah-feedback-reward span {
    color: #24102f;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SUBMIT
========================================================= */

.navgrah-feedback-submit {
    width: 100%;

    padding: 14px 20px;

    border: 1px solid #24102f;

    border-radius: 0;

    background: #24102f;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}


.navgrah-feedback-submit:hover {
    background: #d89418;

    border-color: #d89418;
}


/* =========================================================
   CONSENT
========================================================= */

.navgrah-feedback-consent {
    margin: -5px 0 0;

    color: #6a5a6c;

    font-size: 10px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .navgrah-feedback-overlay {
        align-items: center;

        padding: 16px;
    }

    .navgrah-feedback-popup {
        max-height: calc(100vh - 32px);

        padding: 42px 24px 28px;

        border-left-width: 3px;
    }

    .navgrah-feedback-close {
        top: 12px;
        right: 12px;
    }

    .navgrah-feedback-title {
        font-size: 30px;
    }

    .navgrah-feedback-intro {
        margin-bottom: 25px;
    }

}

/* =========================================================
   NAVGRAH — FEEDBACK POPUP DESKTOP COMPACT LAYOUT
========================================================= */

@media (min-width: 768px) {

    .navgrah-feedback-overlay {
        padding: 20px;
    }


    .navgrah-feedback-popup {
        width: min(650px, 100%);

        max-height: calc(100vh - 40px);

        padding: 28px 48px 24px;

        overflow-y: auto;
    }


    /* BRAND */

    .navgrah-feedback-brand {
        margin-bottom: 6px;

        font-size: 10px;
    }


    /* TITLE */

    .navgrah-feedback-title {
        margin-bottom: 5px;

        font-size: 34px;

        line-height: 1.05;
    }


    /* INTRO */

    .navgrah-feedback-intro {
        margin-bottom: 17px;

        font-size: 13px;
    }


    /* FORM */

    .navgrah-feedback-form {
        gap: 13px;
    }


    /* RATING */

    .navgrah-feedback-fieldset {
        gap: 0;
    }


    .navgrah-feedback-fieldset legend {
        margin-bottom: 7px;
    }


    .navgrah-feedback-fieldset label {
        display: inline-flex;

        margin-right: 24px;

        gap: 8px;

        font-size: 13px;
    }


    /* STANDARD FIELD */

    .navgrah-feedback-field {
        gap: 5px;
    }


    .navgrah-feedback-field > label {
        font-size: 11px;
    }


    /* CATEGORY */

    .navgrah-feedback-field select {
        padding: 9px 12px;
    }


    /* NAME + PHONE */

    .navgrah-feedback-form
    .navgrah-feedback-field:nth-of-type(3),
    .navgrah-feedback-form
    .navgrah-feedback-field:nth-of-type(4) {
        width: calc(50% - 7px);
    }


    .navgrah-feedback-form {
        position: relative;
    }


    .navgrah-feedback-field input[type="text"],
    .navgrah-feedback-field input[type="tel"] {
        padding: 9px 12px;
    }


    /* MESSAGE */

    .navgrah-feedback-field textarea {
        min-height: 65px;

        padding: 9px 12px;
    }


    /* PHONE HELP */

    .navgrah-feedback-field small {
        font-size: 10px;
    }


    /* REWARD */

    .navgrah-feedback-reward {
        padding: 10px 16px;

        gap: 3px;
    }


    .navgrah-feedback-reward strong {
        font-size: 14px;
    }


    .navgrah-feedback-reward span {
        font-size: 11px;
    }


    /* SUBMIT */

    .navgrah-feedback-submit {
        padding: 11px 20px;

        font-size: 11px;
    }


    /* CONSENT */

    .navgrah-feedback-consent {
        font-size: 9px;
    }

}

/* =========================================================
   NAVGRAH — 10% COUPON INTRO SCREEN
========================================================= */

.navgrah-feedback-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 390px;

    box-sizing: border-box;

    text-align: center;
}


/* OFFER BRAND */

.navgrah-feedback-offer-brand {
    margin-bottom: 18px;

    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 11px;

    letter-spacing: 0.28em;
}


/* ANIMATED 10% BADGE */

.navgrah-feedback-offer-badge {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 126px;
    height: 126px;

    margin-bottom: 22px;

    border: 1px solid #d89418;

    border-radius: 50%;

    background: #f6eadb;

    color: #24102f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 38px;

    font-weight: 600;

    line-height: 1;

    box-shadow:
        0 0 0 8px rgba(216, 148, 24, 0.06);

    animation: navgrahDiscountPulse 2.8s ease-in-out infinite;
}


.navgrah-feedback-offer-badge::before {
    content: "";

    position: absolute;

    inset: 8px;

    border: 1px dashed rgba(216, 148, 24, 0.55);

    border-radius: 50%;
}


@keyframes navgrahDiscountPulse {

    0%,
    100% {
        transform: scale(1);

        box-shadow:
            0 0 0 8px rgba(216, 148, 24, 0.06);
    }

    50% {
        transform: scale(1.045);

        box-shadow:
            0 0 0 14px rgba(216, 148, 24, 0.03);
    }

}


/* OFFER TITLE */

.navgrah-feedback-offer-title {
    margin: 0 0 9px;

    color: #24102f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;

    font-weight: 500;

    line-height: 1.1;
}


/* OFFER SUBTITLE */

.navgrah-feedback-offer-subtitle {
    max-width: 390px;

    margin: 0 0 22px;

    color: #6a5a6c;

    font-size: 14px;

    line-height: 1.6;
}


/* CLAIM BUTTON */

.navgrah-feedback-claim {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 250px;

    box-sizing: border-box;

    padding: 14px 24px;

    border: 1px solid #24102f;

    border-radius: 0;

    background: #24102f;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.navgrah-feedback-claim:hover {
    background: #d89418;

    border-color: #d89418;

    transform: translateY(-2px);
}


/* SMALL REASSURANCE */

.navgrah-feedback-offer-note {
    margin: 13px 0 0;

    color: #6a5a6c;

    font-size: 10px;

    line-height: 1.5;
}


/* FORM HIDDEN INITIALLY */

.navgrah-feedback-form {
    display: none;
}


/* FORM ACTIVE */

.navgrah-feedback-popup.show-feedback-form
.navgrah-feedback-form {
    display: flex;
}


.navgrah-feedback-popup.show-feedback-form
.navgrah-feedback-offer {
    display: none;
}


/* MOBILE */

@media (max-width: 767px) {

    .navgrah-feedback-offer {
        min-height: 420px;
    }

    .navgrah-feedback-offer-badge {
        width: 112px;
        height: 112px;

        font-size: 34px;
    }

    .navgrah-feedback-offer-title {
        font-size: 30px;
    }

    .navgrah-feedback-offer-subtitle {
        font-size: 13px;
    }

}

/* =========================================================
   NAVGRAH — FEEDBACK FORM DESKTOP GRID
========================================================= */

@media (min-width: 768px) {

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form {
        display: grid;

        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

        column-gap: 18px;
        row-gap: 13px;

        align-items: start;
    }


    /* BRAND */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-brand {
        grid-column: 1 / -1;
    }


    /* TITLE */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-title {
        grid-column: 1 / -1;
    }


    /* INTRO */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-intro {
        grid-column: 1 / -1;
    }


    /* EXPERIENCE */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-fieldset {
        grid-column: 1 / -1;
    }


    /* CATEGORY */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-field:nth-of-type(2) {
        grid-column: 1 / -1;

        width: 100%;
    }


    /* NAME */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-field:nth-of-type(3) {
        grid-column: 1;

        width: 100%;
    }


    /* PHONE */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-field:nth-of-type(4) {
        grid-column: 2;

        width: 100%;
    }


    /* MESSAGE */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-field:nth-of-type(5) {
        grid-column: 1 / -1;

        width: 100%;
    }


    /* SUBMIT */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-submit {
        grid-column: 1 / -1;
    }


    /* CONSENT */

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form
    > .navgrah-feedback-consent {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE — RETURN TO SINGLE COLUMN
========================================================= */

@media (max-width: 767px) {

    .navgrah-feedback-popup.show-feedback-form
    .navgrah-feedback-form {
        display: flex;

        flex-direction: column;

        gap: 21px;
    }

}