/* =========================================================
   TIMEFLOW - JELSZÓ VISSZAÁLLÍTÁS
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at top left,
            #edf5ff 0,
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #f7f9fc,
            #eef3f9
        );

    color: #17233a;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    text-decoration: none;
}


/* =========================================================
   OLDAL
========================================================= */

.tf-reset-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px 18px;
}

.tf-reset-card {
    width: 100%;
    max-width: 470px;

    padding: 30px;

    border: 1px solid #dce4ee;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 25px 70px
        rgba(31, 52, 83, .12);
}


/* =========================================================
   BRAND
========================================================= */

.tf-reset-brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 30px;

    color: #17233a;

    font-size: 19px;
    font-weight: 800;
}

.tf-reset-brand-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #1766dd;
    border-radius: 50%;

    color: #1766dd;

    font-size: 21px;
}


/* =========================================================
   FEJLÉC
========================================================= */

.tf-reset-heading {
    margin-bottom: 24px;
}

.tf-reset-kicker {
    display: block;

    margin-bottom: 8px;

    color: #1766dd;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .06em;
    text-transform: uppercase;
}

.tf-reset-kicker-error {
    color: #dc2626;
}

.tf-reset-heading h1 {
    margin: 0 0 10px;

    color: #13233f;

    font-size: 28px;
    line-height: 1.2;
}

.tf-reset-heading p {
    margin: 0;

    color: #708096;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   ŰRLAP
========================================================= */

.tf-reset-form {
    display: grid;

    gap: 17px;
}

.tf-reset-form label > span {
    display: block;

    margin-bottom: 7px;

    color: #53657d;

    font-size: 13px;
    font-weight: 700;
}

.tf-reset-form input {
    width: 100%;
    height: 48px;

    padding: 0 13px;

    border: 1px solid #ccd6e2;
    border-radius: 11px;

    background: #ffffff;

    color: #17233a;

    font: inherit;

    outline: none;
}

.tf-reset-form input:focus {
    border-color: #1766dd;

    box-shadow:
        0 0 0 4px
        rgba(23, 102, 221, .10);
}

.tf-reset-password-field {
    position: relative;
}

.tf-reset-password-field input {
    padding-right: 52px;
}

.tf-reset-password-toggle {
    position: absolute;

    top: 50%;
    right: 7px;

    width: 38px;
    height: 34px;

    transform: translateY(-50%);

    border: 0;
    border-radius: 8px;

    background: #f4f7fb;

    cursor: pointer;
}


/* =========================================================
   GOMBOK
========================================================= */

.tf-reset-primary-btn {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border: 0;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #1769e8,
            #0e57d0
        );

    color: #ffffff;

    font: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 20px
        rgba(23, 102, 221, .16);
}

.tf-reset-primary-btn:hover {
    filter: brightness(.98);
}

.tf-reset-link-btn {
    margin-top: 4px;
}

.tf-reset-back-link {
    display: block;

    margin-top: 20px;

    color: #64748b;

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}

.tf-reset-back-link:hover {
    color: #1766dd;
}


/* =========================================================
   MODAL
========================================================= */

.tf-reset-modal-overlay {
    position: fixed;
    inset: 0;

    z-index: 10000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(7, 22, 45, .62);

    backdrop-filter: blur(5px);
}

.tf-reset-modal-overlay.show {
    display: flex;
}

.tf-reset-modal {
    width: 100%;
    max-width: 420px;

    padding: 28px;

    border: 1px solid #dde5ef;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 30px 80px
        rgba(10, 30, 60, .30);

    text-align: center;
}

.tf-reset-modal-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 27px;
    font-weight: 800;
}

.tf-reset-modal-icon.success {
    background: #e8f8ef;
    color: #159653;
}

.tf-reset-modal-icon.error {
    background: #fff0f0;
    color: #dc2626;
}

.tf-reset-modal h2 {
    margin: 0 0 8px;

    font-size: 21px;
}

.tf-reset-modal p {
    margin: 0 0 20px;

    color: #718096;

    font-size: 13px;
    line-height: 1.6;
}

.tf-reset-modal-btn {
    min-width: 110px;
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;

    border: 0;
    border-radius: 10px;

    background: #1766dd;

    color: #ffffff;

    font: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}

.tf-reset-modal-link {
    text-decoration: none;
}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 520px) {

    .tf-reset-card {
        padding: 24px 20px;
    }

    .tf-reset-heading h1 {
        font-size: 24px;
    }
}
