:root {
    color-scheme: light;
    color: #182230;
    background: #f4f6f8;
}

@font-face {
  font-family: "Clear";
  src: url("./fonts/AlgorytmClear-Regular.0802b7a05833.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mono";
  src: url("./fonts/AlgorytmMono-Regular.18421e6b6aeb.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

* {
    box-sizing: border-box;
}

.idp-page {
    font-family: "Clear";
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(78, 70, 229, 0.12), transparent 34rem),
        #f4f6f8;
}

.idp-page .brand {
    font-size: 19px;
    letter-spacing: -0.02em;
}

.idp-header {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.idp-header .identity {
    color: rgb(102 112 133);
}

.idp-header .account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.idp-header .admin-link {
    color: #667085;
}

.idp-page .card {
    border: 1px solid #e1e6ed;
    border-radius: 16px;
    background: white;
    box-shadow: 0 18px 48px rgba(24, 34, 48, 0.09);
}

.idp-page .copyright {
    margin-top: 25px;
    color: rgb(102 112 133 / 80%);
    text-align: center;
    font-size: 13px;
}

.idp-page .copyright a {
    color: inherit;
    text-decoration: none;
}

.idp-page h1 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: normal;
}

.login-page main {
    width: min(100%, 420px);
}

.login-page .card {
    padding: 36px;
}

.login-page .intro {
    margin: 8px 0 28px;
    color: #667085;
    line-height: 1.5;
}

.login-page label {
    display: block;
    margin: 18px 0 7px;
    font-size: 14px;
}

.login-page input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd2dc;
    border-radius: 9px;
    color: inherit;
    background: white;
    font: inherit;
    outline: none;
}

.login-page input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.13);
}

.login-page button {
    width: 100%;
    margin-top: 24px;
    padding: 12px 16px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: #4f46e5;
    font: inherit;
    cursor: pointer;
}

.login-page button:hover {
    background: #4338ca;
}

.login-page .error {
    margin: 0 0 18px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    color: #991b1b;
    background: #fef2f2;
    font-size: 14px;
    line-height: 1.4;
}

.login-page .field-error {
    margin: 6px 0 0;
    color: #b42318;
    font-size: 13px;
}

.login-page .help {
    margin: 22px 0 0;
    color: #7a8492;
    text-align: center;
    font-size: 13px;
}

.profile-page main {
    width: min(100%, 620px);
    margin: 0;
    transform: translateY(-6vh);
}

.profile-page .card {
    padding: 34px;
}

.profile-page .intro {
    margin: 0;
    padding: 0;
    color: #667085;
    line-height: 1.5;
}

.profile-page .applications {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.profile-page .application {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #e1e6ed;
    border-radius: 10px;
    color: #344054;
    text-decoration: underline;
}

.profile-page .application:hover {
    border-color: #a5a0f5;
    color: #4338ca;
    background: #fafaff;
}

.profile-page .empty {
    margin: 0;
    color: #667085;
}

.idp-header .sign-out {
    margin: 0;
}

.idp-header .sign-out button {
    padding: 0;
    border: 0;
    color: #667085;
    background: none;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.idp-header .sign-out button:hover {
    color: #344054;
}

@media (max-height: 640px) {
    .profile-page main {
        transform: none;
    }
}
