:root {
    --brand-primary: #00b2d8;
    --brand-primary-dark: #008fb0;
    --brand-primary-soft: #dff8ff;
    --brand-deep: #073b4c;
    --brand-muted: #5d7380;
    --surface: #ffffff;
    --surface-alt: #f5fbfd;
    --border: #d6e7ed;
    --shadow: 0 24px 70px rgba(7, 59, 76, 0.16);
    --text: #16325c;
    --danger: #c7364c;
}

.login-pf body.simtraineco-next-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 178, 216, 0.16), transparent 28%),
        linear-gradient(135deg, #eefbff 0%, #f8fdff 42%, #ffffff 100%);
    color: var(--text);
    font-family: SFS, Arial, sans-serif;
}

html.login-pf,
body.simtraineco-next-body {
    background-color: #ffffff;
}

.simtraineco-next-page {
    min-height: 100vh;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.simtraineco-next-shell {
    display: grid;
    grid-template-columns: minmax(340px, 1.15fr) minmax(420px, 0.95fr);
    max-width: 1220px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
    min-height: 760px;
}

.simtraineco-next-hero {
    position: relative;
    overflow: hidden;
    padding: 44px 42px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(160deg, #0a8fb2 0%, #00b2d8 48%, #27caeb 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.simtraineco-next-hero::before,
.simtraineco-next-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.simtraineco-next-hero::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -60px;
}

.simtraineco-next-hero::after {
    width: 220px;
    height: 220px;
    bottom: 70px;
    left: -80px;
}

.simtraineco-next-brand,
.simtraineco-next-hero-copy,
.simtraineco-next-feature-list {
    position: relative;
    z-index: 1;
}

.simtraineco-next-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.simtraineco-next-brand-mark {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.simtraineco-next-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.simtraineco-next-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 700;
    opacity: 0.8;
}

.simtraineco-next-hero-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
}

.simtraineco-next-hero-text {
    margin: 16px 0 0;
    max-width: 560px;
    font-size: 1.03rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.simtraineco-next-feature-list {
    display: grid;
    gap: 14px;
}

.simtraineco-next-feature-card {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.simtraineco-next-feature-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.simtraineco-next-feature-card span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.simtraineco-next-panel {
    padding: 38px 42px 34px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
    display: flex;
    flex-direction: column;
}

.simtraineco-next-header {
    margin-bottom: 28px;
}

.simtraineco-next-header-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.simtraineco-next-panel-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.simtraineco-next-panel-eyebrow {
    margin: 0 0 4px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-primary);
}

.simtraineco-next-panel-title {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--brand-primary);
}

.simtraineco-next-panel-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.simtraineco-next-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.simtraineco-next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label.control-label {
    color: var(--brand-primary);
    font-size: 0.92rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 0;
}

.form-control {
    height: 50px !important;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-alt);
    box-shadow: none;
    color: var(--text);
    padding: 12px 16px;
    font-size: 0.98rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.form-control:focus {
    border-color: var(--brand-primary) !important;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 178, 216, 0.12) !important;
}

.input-group2 {
    position: relative;
}

.input-group2 input[type="password"] {
    padding-right: 48px;
}

.password-visibility-btn {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #7a8f99;
    cursor: pointer;
    padding: 0;
}

.password-visibility-btn i {
    display: block;
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b2d8' 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");
}

.password-visibility-btn i.fa-eye-slash {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b2d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.58 10.58a2 2 0 1 0 2.83 2.83'/%3E%3Cpath d='M9.88 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a17.45 17.45 0 0 1-2.59 3.38'/%3E%3Cpath d='M6.61 6.61A17.37 17.37 0 0 0 1 12s4 8 11 8a10.94 10.94 0 0 0 5.39-1.61'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E");
}

.password-visibility-btn:hover {
    color: var(--brand-primary);
}

.text-error {
    display: block;
    margin-top: 8px;
    color: var(--danger);
    font-size: 0.85rem;
}

.simtraineco-next-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 2px;
}

.simtraineco-next-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--brand-muted);
    cursor: pointer;
}

.simtraineco-next-checkbox input {
    margin: 0;
}

.simtraineco-next-link {
    font-weight: 700;
    color: var(--brand-primary);
}

.btn.btn-primary {
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(0, 178, 216, 0.22);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: linear-gradient(135deg, #007e9b 0%, #00a4c7 100%);
    color: #fff;
}

.simtraineco-next-divider {
    position: relative;
    text-align: center;
    margin: 4px 0 14px;
}

.simtraineco-next-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--border);
}

.simtraineco-next-divider span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: #fff;
    color: var(--brand-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.simtraineco-next-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.simtraineco-next-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--brand-deep);
    font-weight: 700;
    text-decoration: none;
}

.simtraineco-next-provider-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 18px;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

.simtraineco-next-provider-icon.fa-google {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EA4335' d='M12 10.2v3.9h5.5c-.2 1.3-1.5 3.8-5.5 3.8-3.3 0-6-2.8-6-6.2s2.7-6.2 6-6.2c1.9 0 3.2.8 3.9 1.5l2.7-2.6C16.9 2.7 14.7 2 12 2 6.9 2 2.8 6.5 2.8 12s4.1 10 9.2 10c5.3 0 8.8-3.8 8.8-9.1 0-.6-.1-1.1-.2-1.6H12Z'/%3E%3Cpath fill='%234285F4' d='M2.8 7.3 6 9.6C6.9 7.7 8.3 6.4 12 6.4c1.9 0 3.2.8 3.9 1.5l2.7-2.6C16.9 2.7 14.7 2 12 2 8 2 4.6 4.2 2.8 7.3Z' opacity='.001'/%3E%3Cpath fill='%23FBBC05' d='M2.8 16.7 6.5 14c-.3-.8-.5-1.3-.5-2s.2-1.2.5-2L2.8 7.3C2.1 8.7 1.8 10.3 1.8 12s.4 3.3 1 4.7Z'/%3E%3Cpath fill='%2334A853' d='M12 22c2.6 0 4.8-.9 6.4-2.5l-3.1-2.6c-.8.6-1.9 1-3.3 1-2.5 0-4.7-1.7-5.5-4l-3.8 2.9C4.6 19.9 8 22 12 22Z'/%3E%3C/svg%3E");
}

.simtraineco-next-provider-icon.fa-windows {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300A4EF' d='M2 3.8 10.7 2.6v8.7H2Zm9.8-1.4L22 1v10.3h-10.2ZM2 12.7h8.7v8.7L2 20.2Zm9.8 0H22V23l-10.2-1.4Z'/%3E%3C/svg%3E");
}

.simtraineco-next-social-link:hover {
    border-color: rgba(0, 178, 216, 0.45);
    background: var(--brand-primary-soft);
    color: var(--brand-deep);
    text-decoration: none;
}

.simtraineco-next-registration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
    color: var(--brand-muted);
    font-weight: 600;
}

.simtraineco-next-registration a {
    color: var(--brand-primary);
    font-weight: 800;
}

.simtraineco-next-signup {
    margin-top: auto;
}

.simtraineco-next-reset-copy {
    color: var(--brand-muted);
    line-height: 1.65;
    font-weight: 500;
}

.simtraineco-next-alert {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 22px;
    font-weight: 600;
}

.simtraineco-next-alert.alert-error {
    background: #fff2f4;
    color: #9c2638;
}

.simtraineco-next-alert.alert-success {
    background: #eefdf6;
    color: #157347;
}

.simtraineco-next-alert.alert-warning {
    background: #fff8e8;
    color: #8a6700;
}

.simtraineco-next-alert.alert-info {
    background: #eef9fd;
    color: #0b6b84;
}

.simtraineco-next-terms {
    color: var(--brand-muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.simtraineco-next-panel-register {
    justify-content: flex-start;
}

.simtraineco-next-register-form {
    height: 100%;
}

.simtraineco-next-hero-register {
    justify-content: flex-start;
}

.simtraineco-next-footer {
    max-width: 1220px;
    margin: 18px auto 0;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    background: transparent;
    color: var(--brand-primary);
    font-size: 0.85rem;
    text-align: center;
}

.simtraineco-next-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.simtraineco-next-footer a {
    color: var(--brand-primary);
    text-decoration: none;
}

.simtraineco-next-footer a:hover {
    color: var(--brand-primary-dark);
}

@media (max-width: 1080px) {
    .simtraineco-next-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .simtraineco-next-hero {
        min-height: 420px;
    }
}

@media (max-width: 720px) {
    html.login-pf,
    body.simtraineco-next-body,
    .simtraineco-next-page {
        background: #ffffff !important;
    }

    .simtraineco-next-shell {
        display: flex;
        flex-direction: column;
        border-radius: 32px;
        width: auto;
        max-width: none;
        min-height: auto;
        overflow: hidden;
    }

    .simtraineco-next-panel {
        order: 1;
        padding: 24px 20px 28px;
    }

    .simtraineco-next-hero {
        display: none;
    }

    .simtraineco-next-page {
        min-height: 100dvh;
        padding: 12px 12px calc(28px + env(safe-area-inset-bottom, 0px));
        justify-content: flex-start;
    }

    .simtraineco-next-header {
        margin-bottom: 20px;
        min-height: 64px;
    }

    .simtraineco-next-panel-title {
        font-size: 1.3rem;
        line-height: 1.15;
    }

    .simtraineco-next-grid {
        grid-template-columns: 1fr;
    }

    .simtraineco-next-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 0.88rem;
    }

    .simtraineco-next-checkbox,
    .simtraineco-next-link {
        font-size: 0.88rem;
    }

    .simtraineco-next-footer {
        margin-top: 18px;
        padding: 0 18px calc(10px + env(safe-area-inset-bottom, 0px));
        text-align: center;
        background: transparent;
    }

    .simtraineco-next-footer > span {
        white-space: nowrap;
        font-size: 0.64rem;
    }

    .simtraineco-next-footer-links {
        flex-wrap: nowrap;
        gap: 8px;
        row-gap: 0;
        font-size: 0.7rem;
    }
}
