@font-face {
    font-family: "Optimistic";
    src: url("/assets/meta/fonts/Optimistic_Display_Lt.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

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

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

@font-face {
    font-family: "Optimistic";
    src: url("/assets/meta/fonts/Optimistic_Display_XBd.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

.meta-auth-view {
    --meta-auth-panel-text: #223442;
    --meta-auth-muted: #4f5f6d;
    --meta-auth-border: #999a9d;
    --meta-auth-primary: #0866ff;
    --meta-auth-font: "Optimistic", "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    color: var(--meta-auth-panel-text);
    font-family: var(--meta-auth-font);
}

.meta-auth-label {
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--meta-auth-panel-text);
}

.meta-auth-input,
.meta-auth-form select.meta-auth-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 42px 12px 14px;
    border: 1px solid var(--meta-auth-border);
    border-radius: 13px;
    background: #fff;
    color: #223442;
    font: inherit;
    box-sizing: border-box;
    box-shadow: none;
}

.meta-auth-form select.meta-auth-input {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #4f4f4f 50%),
        linear-gradient(135deg, #4f4f4f 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.meta-auth-input::placeholder {
    color: #7a7f84;
    opacity: 1;
}

.meta-auth-input-wrap {
    position: relative;
}

.meta-auth-eye {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.meta-auth-eye::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f4f4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.meta-auth-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.meta-auth-check,
.meta-auth-legal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #223442;
}

.meta-auth-check input,
.meta-auth-legal input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--meta-auth-primary);
}

.meta-auth-alert {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.72);
    margin-bottom: 12px;
}

.meta-auth-required,
.meta-auth-optional,
.meta-auth-field-help,
.meta-auth-section-copy {
    color: var(--meta-auth-muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
}

.meta-auth-fieldset {
    border: 1px solid rgba(34, 52, 66, 0.18);
    border-radius: 14px;
    padding: 14px;
}

.meta-auth-fieldset legend {
    font-weight: 700;
    padding: 0 6px;
}

.meta-auth-fieldset .public-auth-checkbox-list {
    display: grid;
    gap: 10px;
}

.meta-auth-fieldset .public-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.meta-auth-success-link {
    display: inline-block;
    margin-top: 8px;
}
