/* ===========================================================================
   БРОНДАУДЫ ТЕКСЕРУ БЕТІ
   ---------------------------------------------------------------------------
   Клиент өтінім қалдырғаннан кейін осы бетке түседі: нөмірін көреді,
   мәліметін тексереді, қажет болса өзі бас тартады.

   site.css-ке тиіспейміз — бұл бет өз файлымен жұмыс істейді.
=========================================================================== */

.bs-page {
    min-height: 70vh;
    padding: 120px 20px 70px;
}

.bs-wrap {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- хабарламалар ---------- */

.bs-flash {
    margin: 0;
    padding: 13px 16px;

    border: 1px solid rgba(255, 92, 92, .3);
    border-radius: 12px;
    background: rgba(255, 92, 92, .08);

    color: #ff8f8f;
    font-size: 14px;
    font-weight: 700;
}

.bs-flash-success {
    border-color: rgba(61, 220, 132, .3);
    background: rgba(61, 220, 132, .08);
    color: #6ee7a8;
}

/* ---------- карточка ---------- */

.bs-card {
    position: relative;

    padding: 30px 28px;

    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: rgba(13, 18, 24, .92);

    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.bs-card.is-cancelled { border-color: rgba(255, 92, 92, .26); }

.bs-title {
    margin: 0 0 8px;

    color: #fff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.bs-subtitle {
    margin: 0 0 8px;

    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.bs-text {
    margin: 0 0 20px;

    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- белгі ---------- */

.bs-check {
    display: block;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
}

.bs-check svg { width: 100%; height: 100%; overflow: visible; }

.bs-check circle,
.bs-check path {
    fill: none;
    stroke: #3ddc84;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bs-check circle {
    stroke-dasharray: 88;
    stroke-dashoffset: 88;
    animation: bs-ring .55s cubic-bezier(.22, .61, .36, 1) forwards;
}

.bs-check path {
    stroke-dasharray: 26;
    stroke-dashoffset: 26;
    animation: bs-mark .35s cubic-bezier(.22, .61, .36, 1) .4s forwards;
}

@keyframes bs-ring  { to { stroke-dashoffset: 0; } }
@keyframes bs-mark  { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .bs-check circle,
    .bs-check path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- нөмір ---------- */

.bs-code-box {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 20px;
    margin-bottom: 22px;

    border: 1px dashed rgba(255, 90, 0, .45);
    border-radius: 16px;
    background: rgba(255, 90, 0, .07);
}

.bs-code-label {
    flex: 0 0 auto;

    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bs-code {
    flex: 1 1 auto;
    min-width: 0;

    color: #FF5A00;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: .08em;

    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.bs-copy {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);

    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    cursor: pointer;

    transition: background .2s ease, color .2s ease;
}

.bs-copy:hover { background: rgba(255, 255, 255, .09); color: #fff; }

.bs-copy.is-copied {
    border-color: rgba(61, 220, 132, .45);
    background: rgba(61, 220, 132, .14);
    color: #3ddc84;
}

.bs-copy.is-copied::after { content: "✓"; }
.bs-copy.is-copied { font-size: 0; }
.bs-copy.is-copied::after { font-size: 15px; }

/* ---------- мәлімет ---------- */

.bs-rows { margin: 0; }

.bs-rows > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;

    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.bs-rows > div:last-child { border-bottom: 0; }

.bs-rows dt {
    flex: 0 0 auto;

    color: rgba(255, 255, 255, .45);
    font-size: 13px;
}

.bs-rows dd {
    margin: 0;
    min-width: 0;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.bs-total-row dd strong {
    color: #FF5A00;
    font-size: 17px;
    font-weight: 900;
}

.bs-status {
    display: inline-block;
    padding: 5px 12px;

    border-radius: 999px;
    background: rgba(61, 220, 132, .14);

    color: #3ddc84;
    font-size: 12px;
    font-weight: 800;
}

.bs-status.is-off {
    background: rgba(255, 92, 92, .14);
    color: #ff8f8f;
}

/* ---------- форма ---------- */

.bs-field { display: block; margin-bottom: 14px; }

.bs-field > span {
    display: block;
    margin-bottom: 7px;

    color: rgba(255, 255, 255, .45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bs-field input,
.bs-find-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);

    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
}

.bs-field input:focus,
.bs-find-input:focus {
    border-color: rgba(255, 90, 0, .55);
    outline: none;
}

.bs-find-input {
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bs-find-form {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.bs-btn {
    flex: 0 0 auto;

    min-height: 48px;
    padding: 13px 24px;

    border: 0;
    border-radius: 12px;
    background: #FF5A00;

    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;

    transition: transform .18s ease, filter .18s ease;
}

.bs-btn:hover { filter: brightness(1.08); }
.bs-btn:active { transform: translateY(1px); }

.bs-btn-danger {
    width: 100%;
    background: rgba(255, 92, 92, .14);
    border: 1px solid rgba(255, 92, 92, .35);
    color: #ff8f8f;
}

.bs-btn-danger:hover {
    background: rgba(255, 92, 92, .2);
    filter: none;
}

/* ---------- төменгі жол ---------- */

.bs-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 4px 4px 0;
}

.bs-back {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    font-weight: 700;
}

.bs-back:hover { color: #fff; }

.bs-wa {
    color: #3ddc84;
    font-size: 13px;
    font-weight: 800;
}

/* ---------- телефон ---------- */

@media (max-width: 560px) {

    .bs-page { padding: 100px 14px 50px; }

    .bs-card { padding: 24px 18px; border-radius: 18px; }

    .bs-title { font-size: 22px; }

    .bs-code-box {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px 16px;
    }

    .bs-code-label { flex: 1 1 100%; }

    .bs-code { text-align: left; font-size: 19px; }

    .bs-find-form { flex-direction: column; }
    .bs-btn { width: 100%; }

    .bs-rows > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .bs-rows dd { text-align: left; }
}

/* ===========================================================================
   КЕРІ САНАҚ ЖӘНЕ ДАЙЫНДЫҚ
=========================================================================== */

.bs-countdown {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px 20px;
    margin-bottom: 22px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;

    background:
        linear-gradient(135deg, rgba(255, 90, 0, .12), rgba(255, 90, 0, 0)),
        rgba(255, 255, 255, .03);
}

.bs-countdown.is-soon {
    border-color: rgba(61, 220, 132, .35);
    background:
        linear-gradient(135deg, rgba(61, 220, 132, .14), rgba(61, 220, 132, 0)),
        rgba(255, 255, 255, .03);
}

.bs-countdown.is-past {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
}

.bs-count-number {
    color: #FF5A00;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1;

    animation: bs-count .6s cubic-bezier(.34, 1.4, .5, 1);
}

@keyframes bs-count {
    from { opacity: 0; transform: translateY(8px) scale(.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bs-count-label {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.bs-count-word {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.bs-countdown.is-soon .bs-count-word { color: #6ee7a8; }
.bs-countdown.is-past .bs-count-word { color: rgba(255, 255, 255, .5); }

/* ---------- ауа райы ---------- */

.bs-weather {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-left: auto;
    padding-left: 16px;

    border-left: 1px solid rgba(255, 255, 255, .1);

    animation: bs-weather-in .45s cubic-bezier(.22, .61, .36, 1);
}

.bs-weather[hidden] { display: none; }

@keyframes bs-weather-in {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

.bs-weather-icon { font-size: 26px; line-height: 1; }

.bs-weather-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bs-weather-text strong {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.bs-weather-text small {
    color: rgba(255, 255, 255, .45);
    font-size: 10px;
    font-weight: 700;
}

/* ---------- дайындық тізімі ---------- */

.bs-prep-list {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bs-prep-list li {
    position: relative;

    padding: 11px 0 11px 30px;

    border-bottom: 1px solid rgba(255, 255, 255, .06);

    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.5;
}

.bs-prep-list li:last-child { border-bottom: 0; }

/* Белгі — тізім нүктесінің орнына */
.bs-prep-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;

    width: 11px;
    height: 6px;

    border-left: 2px solid #FF5A00;
    border-bottom: 2px solid #FF5A00;
    border-radius: 1px;

    transform: rotate(-45deg);
}

@media (max-width: 560px) {

    .bs-countdown {
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px 16px;
    }

    .bs-count-number { font-size: 34px; }

    .bs-weather {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;

        flex: 1 1 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .bs-prep-list li { font-size: 13.5px; padding-left: 27px; }
}

@media (prefers-reduced-motion: reduce) {
    .bs-count-number,
    .bs-weather { animation: none; }
}

/* ---------------------------------------------------------------------------
   Телефонда өріске басқанда бет жақындап кетпесін (iOS Safari).
--------------------------------------------------------------------------- */

@media (max-width: 860px) {

    .bs-field input,
    .bs-find-input {
        font-size: 16px !important;
    }
}