* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #17202a;

    background:
        linear-gradient(
            145deg,
            #dff5e7 0%,
            #e9f5ff 45%,
            #fff4d6 100%
        );
}

.page {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;

    padding: 20px 14px 40px;
}


/* =========================
   ПОИСК
   ========================= */

.search-card {
    margin-top: 7vh;

    padding: 35px 25px 30px;

    background: rgba(255, 255, 255, 0.97);

    border-radius: 28px;

    box-shadow:
        0 15px 45px rgba(34, 84, 62, 0.15);

    text-align: center;
}

.apple {
    display: flex;

    width: 85px;
    height: 85px;

    margin: 0 auto 18px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5f7e9;

    font-size: 52px;

    box-shadow:
        0 8px 20px rgba(39, 174, 96, 0.15);
}

.search-card h1 {
    margin: 0;

    color: #183b2b;

    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.05;
}

.search-description {
    margin: 15px auto 28px;

    max-width: 500px;

    color: #667085;

    font-size: 20px;
    line-height: 1.45;
}

.search-form {
    text-align: left;
}

.search-form label {
    display: block;

    margin-bottom: 9px;

    color: #344054;

    font-size: 18px;
    font-weight: 700;
}

.search-form input {
    width: 100%;

    min-height: 70px;

    padding: 12px 18px;

    border: 3px solid #d0d5dd;
    border-radius: 16px;

    outline: none;

    background: #ffffff;

    color: #17202a;

    font-size: 28px;
    font-weight: 600;

    text-align: center;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.search-form input::placeholder {
    color: #a0a7b0;
    font-weight: 400;
}

.search-form input:focus {
    border-color: #27ae60;

    box-shadow:
        0 0 0 5px rgba(39, 174, 96, 0.14);
}

.search-form button {
    width: 100%;

    min-height: 70px;

    margin-top: 16px;

    border: 0;
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #27ae60,
            #159957
        );

    color: #ffffff;

    font-size: 23px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(21, 153, 87, 0.25);

    transition:
        transform 0.15s,
        box-shadow 0.15s;
}

.search-form button:active {
    transform: scale(0.98);

    box-shadow:
        0 4px 10px rgba(21, 153, 87, 0.2);
}


/* =========================
   НЕ НАЙДЕН
   ========================= */

.not-found {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 25px 0;

    padding: 18px;

    border-radius: 16px;

    background: #fff1f0;

    border: 2px solid #ffd6d2;

    text-align: left;
}

.not-found-icon {
    flex: 0 0 auto;

    font-size: 38px;
}

.not-found strong {
    display: block;

    margin-bottom: 4px;

    color: #c0392b;

    font-size: 21px;
}

.not-found span {
    color: #667085;

    font-size: 18px;
}


/* =========================
   КАРТОЧКА ПОЛЬЗОВАТЕЛЯ
   ========================= */

.user-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 28px;

    box-shadow:
        0 15px 45px rgba(34, 84, 62, 0.15);
}

.user-top {
    display: flex;

    align-items: center;

    gap: 17px;

    padding: 27px 24px;

    background:
        linear-gradient(
            135deg,
            #197a45,
            #27ae60
        );

    color: #ffffff;
}

.success-icon {
    display: flex;

    flex: 0 0 65px;

    width: 65px;
    height: 65px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #1d9b57;

    font-size: 40px;
    font-weight: 900;
}

.small-title {
    margin-bottom: 5px;

    opacity: 0.8;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.user-top h1 {
    margin: 0;

    font-size: clamp(28px, 7vw, 43px);
    line-height: 1.08;
}


/* =========================
   КОД
   ========================= */

.code-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 20px;

    padding: 18px 22px;

    border-radius: 18px;

    background: #fff6d8;

    border: 2px solid #f6dc83;
}

.code-card span {
    color: #806600;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.code-card strong {
    color: #6a5300;

    font-size: 32px;
    letter-spacing: 2px;
}


/* =========================
   ИНФОРМАЦИЯ
   ========================= */

.info-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    padding: 0 20px 20px;
}

.info-card {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    min-width: 0;

    padding: 17px;

    border-radius: 17px;

    background: #f5f9f7;

    border: 1px solid #dceee4;
}

.info-card.wide {
    grid-column: span 2;
}

.info-icon {
    flex: 0 0 auto;

    font-size: 27px;
}

.info-content {
    min-width: 0;
}

.info-content span {
    display: block;

    margin-bottom: 5px;

    color: #667085;

    font-size: 15px;
    line-height: 1.2;
}

.info-content strong {
    display: block;

    overflow-wrap: anywhere;

    color: #17202a;

    font-size: 20px;
    line-height: 1.3;
}

.children {
    color: #159957 !important;

    font-size: 29px !important;
}

.payment {
    background: #eef6ff;

    border-color: #d6e8ff;
}

.amount {
    color: #1769aa !important;

    font-size: 26px !important;
}


/* =========================
   КНОПКА НОВОГО ПОИСКА
   ========================= */

.search-again {
    display: block;

    margin: 5px 20px 25px;

    padding: 18px;

    border-radius: 16px;

    background: #edf8f1;

    color: #167344;

    font-size: 19px;
    font-weight: 800;

    text-align: center;

    text-decoration: none;
}


/* =========================
   МОБИЛЬНЫЙ ЭКРАН
   ========================= */

@media (max-width: 560px) {

    .page {
        padding: 10px 9px 25px;
    }

    .search-card {
        margin-top: 3vh;

        padding: 28px 18px 22px;

        border-radius: 22px;
    }

    .apple {
        width: 72px;
        height: 72px;

        font-size: 43px;
    }

    .search-card h1 {
        font-size: 34px;
    }

    .search-description {
        font-size: 18px;
    }

    .search-form input {
        min-height: 68px;

        font-size: 27px;
    }

    .search-form button {
        min-height: 68px;

        font-size: 21px;
    }

    .user-card {
        border-radius: 22px;
    }

    .user-top {
        padding: 22px 17px;
    }

    .success-icon {
        flex-basis: 53px;

        width: 53px;
        height: 53px;

        font-size: 32px;
    }

    .user-top h1 {
        font-size: 29px;
    }

    .code-card {
        margin: 15px;

        padding: 16px;
    }

    .code-card strong {
        font-size: 27px;
    }

    .info-grid {
        grid-template-columns: 1fr;

        padding: 0 15px 15px;
    }

    .info-card.wide {
        grid-column: span 1;
    }

    .info-card {
        padding: 16px;
    }

    .info-content strong {
        font-size: 20px;
    }
}