html,
body.fixio-login {
    min-height: 100%;
}

body.fixio-login {
    margin: 0;
    color: #f7fbff;
    background: #07111f;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0;
}

.fixio-auth {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0, rgba(24, 124, 255, .14), transparent 36%),
        #07111f;
}

.fixio-auth:before,
.fixio-auth:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fixio-auth:before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, #000, transparent 72%);
    opacity: .22;
}

.fixio-auth:after {
    inset: auto auto 0 0;
    width: 100%;
    height: 34%;
    background: linear-gradient(0deg, rgba(2, 7, 14, .72), transparent);
}

.fixio-auth__wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 18px;
}

.fixio-auth__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
    width: min(460px, 100%);
    padding: clamp(26px, 5vw, 46px);
    background: rgba(4, 11, 22, .76);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .36);
    backdrop-filter: blur(18px);
}

.fixio-auth__panel--wide {
    max-width: none;
    width: min(900px, 100%);
    min-height: auto;
}

.fixio-auth__brand img {
    display: block;
    width: min(280px, 100%);
    height: auto;
    margin: 0 auto;
}

.fixio-auth__content {
    width: 100%;
    max-width: 430px;
    text-align: left;
}

.fixio-auth__panel:not(.fixio-auth__panel--wide) .fixio-auth__content {
    text-align: center;
}

.fixio-auth__panel--wide .fixio-auth__content {
    max-width: none;
}

.fixio-auth__eyebrow {
    margin: 0 0 12px;
    color: #45d8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.fixio-auth h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 800;
    line-height: 1.04;
}

.fixio-auth__text {
    margin: 16px 0 0;
    color: #b9c7d8;
    font-size: 15px;
    line-height: 1.65;
}

.fixio-form {
    display: grid;
    gap: 18px;
    margin-top: 34px;
    text-align: left;
}

.fixio-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fixio-field {
    margin: 0;
}

.fixio-field label,
.fixio-label {
    display: block;
    margin: 0 0 8px;
    color: #dbe7f5;
    font-size: 13px;
    font-weight: 700;
}

.fixio-field .form-control {
    width: 100%;
    height: 50px;
    color: #f7fbff;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    box-shadow: none;
    font-size: 15px;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.fixio-field .form-control:focus {
    background: rgba(255, 255, 255, .1);
    border-color: #1880ff;
    box-shadow: 0 0 0 4px rgba(24, 128, 255, .18);
    outline: none;
}

.fixio-field .form-control::placeholder {
    color: #7f91a7;
}

.fixio-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 4px;
}

.fixio-button,
.fixio-auth .btn.fixio-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    color: #ffffff;
    background: #187cff;
    border: 1px solid #187cff;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(24, 124, 255, .28);
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.fixio-button:hover,
.fixio-button:focus,
.fixio-auth .btn.fixio-button:hover,
.fixio-auth .btn.fixio-button:focus {
    color: #ffffff;
    background: #0969e8;
    border-color: #0969e8;
    box-shadow: 0 18px 42px rgba(24, 124, 255, .34);
    text-decoration: none;
    transform: translateY(-1px);
}

.fixio-button--block {
    width: 100%;
}

.fixio-link {
    display: inline-flex;
    justify-content: center;
    color: #45d8ff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fixio-link:hover,
.fixio-link:focus {
    color: #ffffff;
    text-decoration: none;
}

.fixio-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 26px;
}

.fixio-message {
    margin-top: 30px;
    padding: 18px;
    color: #dbe7f5;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    line-height: 1.65;
}

.fixio-account {
    display: inline-flex;
    max-width: 100%;
    padding: 10px 12px;
    color: #dbe7f5;
    background: rgba(69, 216, 255, .1);
    border: 1px solid rgba(69, 216, 255, .24);
    border-radius: 8px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.fixio-hint {
    margin-top: 10px;
    color: #9fb0c3;
    font-size: 12px;
    line-height: 1.5;
}

.fixio-hint ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.fixio-auth .field-validation-error,
.fixio-auth .alert-danger {
    margin: 8px 0 0;
    color: #ffd6d6;
    background: rgba(255, 88, 88, .12);
    border-color: rgba(255, 88, 88, .28);
    border-radius: 8px;
}

@media (max-width: 900px) {
    .fixio-auth__panel--wide {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .fixio-auth__wrap {
        align-items: flex-start;
        padding: 18px;
    }

    .fixio-auth__panel {
        padding: 28px 20px;
    }

    .fixio-form__grid {
        grid-template-columns: 1fr;
    }

    .fixio-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fixio-auth__brand img {
        width: min(250px, 100%);
    }
}
