@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../assets/fonts/figtree-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../assets/fonts/figtree-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../assets/fonts/figtree-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../assets/fonts/figtree-latin-700-normal.woff2") format("woff2");
}

:root {
    --accent: #14abfd;
    --accent-hover: #3dbbff;
    --link: #29bdf8;
    --link-hover: #6fd3ff;
    --page-bg: #04182f;
    --card-bg: rgba(6, 28, 52, 0.94);
    --card-border: rgba(120, 170, 220, 0.24);
    --input-bg: rgba(4, 20, 38, 0.55);
    --input-border: rgba(165, 192, 220, 0.42);
    --social-border: rgba(130, 180, 230, 0.62);
    --rule: rgba(170, 195, 220, 0.35);
    --text: #ffffff;
    --text-soft: #d4dfeb;
    --text-muted: #c3d0dc;
    --placeholder: #8a9bad;
    --partner: #9fb2c6;
    --radius-card: 26px;
    --radius-input: 8px;
    --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: var(--page-bg);
  background-image: url("/public/img/background.jpg");
  background-image: image-set(
    url("/public/img/background.jpg") 1x,
    url("/public/img/background.jpg") 2x
  );
  height: fit-content;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background-color: transparent;
  height: fit-content;
  /* no background here */
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--link);
}

a:hover,
a:focus {
    color: var(--link-hover);
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.grecaptcha-badge {
    z-index: 100;
    bottom: 100px !important;
}

[ui-view] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[ui-view]>[style*="padding-top"] {
    display: none;
}

[ui-view] form {
    margin: 0;
}

.layout {
    width: 100%;
    max-width: 1672px;
    margin: 0 auto auto;
    padding: 71px 105px 60px 110px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 567px;
    column-gap: 64px;
    align-items: start;
}

.brand {
    margin: 0;
    line-height: 0;
}

.brand img {
    width: 342px;
    height: auto;
}

.tagline {
    margin: 65px 0 0;
    max-width: 640px;
    font-size: 30px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.2px;
    color: var(--text-soft);
}

.features {
    list-style: none;
    margin: 50px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 17px;
    line-height: 23px;
    color: #dce6f0;
}

.feature img {
    flex: none;
}

.feature+.feature {
    position: relative;
    margin-left: 38px;
    padding-left: 34px;
}

.feature+.feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 38px;
    transform: translateY(-50%);
    background-color: rgba(200, 220, 240, 0.32);
}

.webinar-link {
    margin: 40px 0 0 -16px;
    padding: 12px 18px 12px 16px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.webinar-link:focus {
    color: var(--text);
}

.webinar-link:hover {
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.06);
}

.webinar-icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(20, 171, 253, 0.45);
    background-color: rgba(20, 171, 253, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.webinar-label {
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
}

.webinar-link .arrow {
    margin-left: 14px;
    transition: transform 0.2s ease;
}

.webinar-link:hover .arrow {
    transform: translateX(4px);
}

.card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 23px 61px 34px;
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    color: var(--text);
    box-shadow: 0 30px 80px rgba(0, 8, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.card img {
    width: auto;
    height: auto;
}

.card-brand {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-brand img {
    width: 260px;
    height: auto;
}

.card h2 {
    margin: 25px 0 0;
    font-family: inherit;
    font-size: 35px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.4px;
    display: flex;
    justify-content: center;
}

.card [uib-alert] {
    margin: 16px 0 0;
    border-radius: var(--radius-input);
}

.signin-form {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.signin-form label {
    margin: 15px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--text);
}

.signin-form label:first-child {
    margin-top: 21px;
}

.input-wrap {
    position: relative;
    margin-top: 4px;
}

.input-wrap input {
    width: 100%;
    height: 41px;
    margin: 0;
    padding: 0 16px 0 56px;
    border-radius: var(--radius-input);
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    line-height: normal;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-wrap input::placeholder {
    color: var(--placeholder);
    opacity: 1;
}

.input-wrap input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 171, 253, 0.25);
}

.input-wrap input:-webkit-autofill {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 100px #0a2440 inset;
    caret-color: var(--text);
}

#password {
    padding-right: 56px;
}

.input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.toggle-password:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.forgot-row {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.forgot,
.register {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

.login-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-input);
    font-size: 14px;
    line-height: 20px;
}

.login-error-message {
    color: #ffb4b4;
    background-color: rgba(255, 90, 90, 0.12);
    border: 1px solid rgba(255, 90, 90, 0.4);
}

.login-info-message {
    color: #bfe9ff;
    background-color: rgba(20, 171, 253, 0.12);
    border: 1px solid rgba(20, 171, 253, 0.4);
}

.btn-primary {
    margin-top: 18px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background-color: var(--accent);
    color: #ffffff;
    font-family: inherit;
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
    color: #ffffff;
    background-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:active:hover {
    color: #ffffff;
    background-color: var(--accent-hover);
}

.btn-primary:disabled,
.btn-primary:disabled:hover {
    opacity: 0.5;
    cursor: default;
    background-color: var(--accent);
}

.divider-text {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-muted);
}

.divider-text::before,
.divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--rule);
}

.divider-text--inset {
    margin-top: 22px;
    padding: 0 5px;
    gap: 20px;
}

.btn-social {
    margin-top: 13px;
    width: 100%;
    height: 41px;
    border-radius: 999px;
    border: 1.5px solid var(--social-border);
    background-color: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-social img {
    max-height: 24px;
}

.divider-text+.btn-social {
    margin-top: 19px;
}

.btn-social:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(150, 200, 245, 0.85);
}

.card-rule {
    margin: 26px 0 0;
    border: 0;
    height: 1px;
    background-color: rgba(120, 165, 210, 0.28);
}

.card .partner-badge {
    margin: 19px auto 0;
    width: 240px;
    height: auto;
}

.partners {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 14px;
}

.partner {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    color: var(--partner);
}

.partner sup {
    position: static;
    font-size: 8px;
    line-height: 1;
    font-weight: 600;
    align-self: flex-start;
    margin-left: -4px;
}

.partner img {
    width: 20px;
    height: 20px;
}

.partner--dg img {
    width: 79px;
    height: 33px;
    position: relative;
    top: -5px;
}

.partner-sep {
    width: 1.5px;
    height: 22px;
    background-color: rgba(159, 178, 198, 0.55);
}

.site-footer {
    padding: 0;
    border-top: 1px solid rgba(220, 232, 245, 0.22);
    background-color: rgba(3, 15, 30, 0.55);
}

.site-footer__inner {
    max-width: 1672px;
    min-height: 70px;
    margin: 0 auto;
    padding: 0 105px 0 117px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 24px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.footer-nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 20px;
    color: #ffffff;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--link-hover);
}

.version {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.site-footer .copyright {
    justify-self: end;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 20px;
    color: #e8eef5;
    text-align: right;
}

@media (max-width: 1320px) {
    .layout {
        padding: 56px 48px 56px;
        column-gap: 48px;
        grid-template-columns: minmax(0, 1fr) 520px;
    }

    .card {
        padding: 23px 44px 32px;
    }

    .site-footer__inner {
        padding: 0 48px;
    }
}

@media (max-width: 1060px) {
    .layout {
        grid-template-columns: 1fr;
        row-gap: 48px;
        padding: 40px 32px 48px;
    }

    .card {
        max-width: 567px;
        justify-self: center;
    }

    .site-footer__inner {
        padding: 0 32px;
    }
}

@media (max-width: 720px) {
    .layout {
        padding: 28px 16px 40px;
        row-gap: 36px;
    }

    .brand img {
        width: 240px;
    }

    .tagline {
        margin-top: 28px;
        font-size: 22px;
        line-height: 30px;
    }

    .features {
        margin-top: 28px;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 16px;
    }

    .feature+.feature {
        margin-left: 0;
        padding-left: 0;
    }

    .feature+.feature::before {
        display: none;
    }

    .feature img {
        width: 36px;
        height: auto;
    }

    .webinar-link {
        margin-top: 24px;
    }

    .webinar-label {
        font-size: 20px;
    }

    .card {
        padding: 18px 20px 28px;
        border-radius: 20px;
    }

    .card-brand img {
        width: 210px;
    }

    .card h2 {
        font-size: 28px;
        line-height: 34px;
        margin-top: 18px;
    }

    .input-wrap input,
    .btn-social {
        height: 46px;
    }

    .btn-primary {
        height: 46px;
    }

    .partners {
        gap: 10px 20px;
    }

    .partner-sep {
        display: none;
    }

    .partner {
        font-size: 16px;
    }

    .partner--dg img {
        width: 67px;
        height: 28px;
        top: -4px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        row-gap: 10px;
        padding: 20px 16px;
        justify-items: start;
    }

    .site-footer .copyright {
        justify-self: start;
        text-align: left;
        font-size: 14px;
    }
}