.cr-page {
    padding: 28px 0 44px;
    position: relative;
}

    .cr-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 14% 18%, rgba(1,165,180,0.07), transparent 24%), radial-gradient(circle at 86% 10%, rgba(42,168,222,0.05), transparent 20%);
        pointer-events: none;
    }

.cr-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cr-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 28px 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,252,255,0.96));
    border: 1px solid rgba(216,228,237,0.95);
    box-shadow: 0 18px 40px rgba(17,38,58,0.07), inset 0 1px 0 rgba(255,255,255,0.85);
    overflow: hidden;
}

.cr-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cr-hero-orb-a {
    width: 180px;
    height: 180px;
    inset-inline-start: -40px;
    top: -20px;
    background: radial-gradient(circle, rgba(1,165,180,0.12), transparent 70%);
}

.cr-hero-orb-b {
    width: 200px;
    height: 200px;
    inset-inline-end: -50px;
    top: -40px;
    background: radial-gradient(circle, rgba(42,168,222,0.08), transparent 70%);
}

.cr-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.cr-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(1,165,180,0.10), rgba(1,165,180,0.05));
    border: 1px solid rgba(1,165,180,0.14);
    color: #0b8693;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cr-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #01a5b4;
    box-shadow: 0 0 0 5px rgba(1,165,180,0.10);
}

.cr-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
    color: #152540;
    letter-spacing: -0.3px;
}

.cr-text {
    margin: 10px 0 0;
    max-width: 760px;
    color: #758396;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 700;
}

.cr-help-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #17314b, #102439);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(15,36,56,0.18);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .cr-help-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 30px rgba(15,36,56,0.24);
    }

.cr-stepper {
    position: relative;
    display: grid;
    gap: 14px;
}

.cr-stepper-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cr-stepper-line {
    position: absolute;
    inset-inline: 42px;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, #e2edf3, #edf5f8);
    z-index: 0;
}

.cr-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(214,228,238,1);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,252,254,0.95));
    color: #2a3851;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(18,42,63,0.04);
    transition: all 0.2s ease;
}

    .cr-step:hover {
        transform: translateY(-1px);
    }

.cr-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf8fa;
    color: #0b8693;
    font-size: 13px;
    font-weight: 900;
}

.cr-step.is-active {
    border-color: rgba(42,168,222,0.75);
    background: linear-gradient(180deg, rgba(42,168,222,0.12), rgba(42,168,222,0.06));
    box-shadow: 0 12px 24px rgba(42,168,222,0.10);
}

    .cr-step.is-active .cr-step-number {
        background: linear-gradient(135deg, #2aa8de, #1096c8);
        color: #fff;
    }

.cr-card {
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.985), rgba(249,252,254,0.96));
    border: 1px solid rgba(217,229,238,0.98);
    box-shadow: 0 22px 48px rgba(16,38,58,0.07), inset 0 1px 0 rgba(255,255,255,0.85);
    overflow: hidden;
}

.cr-card-head {
    padding: 22px 24px;
    border-bottom: 1px solid #e7eef3;
    background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(248,251,253,0.45));
}

.cr-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cr-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eefbfd, #ffffff);
    color: #01a5b4;
    font-size: 20px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.05);
}

.cr-card-title {
    margin: 0;
    color: #17324c;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.cr-card-subtitle {
    margin: 4px 0 0;
    color: #7c8a9a;
    font-size: 12px;
    font-weight: 800;
}

.cr-card-body {
    padding: 24px;
}

.cr-step-panel {
    display: none;
}

    .cr-step-panel.is-active {
        display: block;
    }

.cr-section {
    position: relative;
    border: 1px solid #e7eef3;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,252,0.96));
    padding: 18px;
    box-shadow: 0 10px 22px rgba(17,38,58,0.03), inset 0 1px 0 rgba(255,255,255,0.8);
}

    .cr-section + .cr-section {
        margin-top: 16px;
    }

.cr-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cr-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef9fb, #ffffff);
    color: #01a5b4;
    font-size: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.cr-section-title {
    margin: 0;
    color: #17324c;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
}

.cr-section-subtitle {
    margin: 3px 0 0;
    color: #8190a0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
}

.cr-section-login {
    background: linear-gradient(180deg, rgba(246,251,253,0.98), rgba(255,255,255,0.96));
    border-color: rgba(1,165,180,0.14);
    box-shadow: 0 14px 28px rgba(19,42,63,0.04), inset 0 1px 0 rgba(255,255,255,0.82);
}

.cr-section-icon-lock {
    background: linear-gradient(135deg, #eef7fb, #ffffff);
    color: #17324c;
}

.cr-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 14px;
}

.cr-form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cr-form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cr-inline-pair {
    gap: 16px;
}

.cr-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cr-field-span-2 {
    grid-column: span 2;
}

.cr-field-span-3 {
    grid-column: span 3;
}

.cr-label {
    color: #1b2740;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
}

    .cr-label span {
        color: #e24243;
    }

.cr-input,
.cr-input[type="text"],
.cr-input[type="email"],
.cr-input[type="password"],
select.cr-input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid #d7e2ea;
    background: linear-gradient(180deg, #ffffff, #fbfdfe);
    color: #1d2741;
    font-size: 13px;
    font-weight: 800;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .cr-input::placeholder {
        color: #9aa7b5;
        font-weight: 700;
    }

    .cr-input:focus {
        border-color: #2aa8de;
        box-shadow: 0 0 0 4px rgba(42,168,222,0.10);
        transform: translateY(-1px);
    }

.cr-field-lg .cr-input,
.cr-input-lg {
    min-height: 54px;
    font-size: 14px;
    font-weight: 800;
}

.cr-field-sm .cr-input {
    min-height: 44px;
    font-size: 13px;
}

.cr-field-sm .cr-label {
    font-size: 12px;
    opacity: 0.86;
}

.cr-hint {
    color: #8a97a7;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 800;
}

.cr-login-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(1,165,180,0.08), rgba(255,255,255,0.96));
    border: 1px solid rgba(1,165,180,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.cr-login-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #01a5b4;
    font-size: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.cr-login-banner-text {
    color: #4e6679;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}

.cr-password-wrap {
    position: relative;
}

.cr-input-password {
    padding-inline-end: 54px;
}

.cr-password-toggle {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgba(1,165,180,0.08);
    color: #0f7181;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

    .cr-password-toggle:hover {
        transform: translateY(-50%) scale(1.04);
        background: rgba(1,165,180,0.14);
    }

.cr-password-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.cr-strength-bar {
    height: 5px;
    border-radius: 999px;
    background: #e6edf2;
    transition: all 0.2s ease;
}

    .cr-strength-bar.is-on.is-weak {
        background: #e24243;
    }

    .cr-strength-bar.is-on.is-medium {
        background: #f3a536;
    }

    .cr-strength-bar.is-on.is-strong {
        background: #01a5b4;
    }

.cr-input.is-valid {
    border-color: #24b47e;
    box-shadow: 0 0 0 4px rgba(36,180,126,0.10);
}

.cr-input.is-invalid {
    border-color: #e24243;
    box-shadow: 0 0 0 4px rgba(226,66,67,0.10);
}

.cr-card-foot {
    padding: 20px 24px;
    border-top: 1px solid #e7eef3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(248,251,253,0.55));
}

.cr-btn {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 16px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

    .cr-btn:hover {
        transform: translateY(-2px);
    }

.cr-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #01a5b4, #11879a);
    box-shadow: 0 14px 24px rgba(1,165,180,0.22);
}

.cr-btn-light {
    color: #24314b;
    background: linear-gradient(180deg, #ffffff, #f5f8fb);
    border: 1px solid #d7e2ea;
    box-shadow: 0 8px 16px rgba(12,29,45,0.04);
}

.cr-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .cr-form-grid,
    .cr-form-grid-2,
    .cr-form-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cr-field-span-2,
    .cr-field-span-3 {
        grid-column: span 2;
    }

    .cr-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .cr-page {
        padding: 20px 0 30px;
    }

    .cr-hero {
        padding: 22px 18px 18px;
        border-radius: 24px;
        flex-direction: column;
    }

    .cr-title {
        font-size: 22px;
    }

    .cr-text {
        font-size: 13px;
    }

    .cr-stepper,
    .cr-stepper-2 {
        grid-template-columns: 1fr;
    }

    .cr-stepper-line {
        display: none;
    }

    .cr-card-head,
    .cr-card-body,
    .cr-card-foot {
        padding: 18px;
    }

    .cr-form-grid,
    .cr-form-grid-2,
    .cr-form-grid-3 {
        grid-template-columns: 1fr;
    }

    .cr-field-span-2,
    .cr-field-span-3 {
        grid-column: span 1;
    }

    .cr-card-foot {
        flex-direction: column-reverse;
    }

    .cr-btn,
    .cr-help-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Section Header ===== */
.cr-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cr-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1c1e3d;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .cr-section-title i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: linear-gradient(135deg, #01a5b4, #91cfdc);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
    }

.cr-section-sub {
    font-size: 12px;
    color: #8a94a6;
    margin-top: 2px;
}

.cr-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* ===== Card Style ===== */
.cr-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.4);
}

/* ===== Inputs ===== */
.cr-input {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    padding: 0 14px;
    transition: all 0.2s ease;
    font-size: 14px;
}

    .cr-input:focus {
        border-color: #01a5b4;
        box-shadow: 0 0 0 3px rgba(1,165,180,0.1);
    }

/* ===== Labels ===== */
.cr-label {
    font-size: 13px;
    font-weight: 600;
    color: #1c1e3d;
    margin-bottom: 6px;
    display: block;
}

/* ===== Button ===== */
.cr-btn-primary {
    background: linear-gradient(135deg, #01a5b4, #1c1e3d);
    border: none;
    border-radius: 14px;
    padding: 12px 28px;
    color: white;
    font-weight: 700;
    transition: 0.2s;
}

    .cr-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(1,165,180,0.25);
    }

.cr-section {
    margin-bottom: 22px;
}

.cr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .cr-modal.show {
        display: flex;
    }

.cr-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    width: 360px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeInScale 0.3s ease;
}

.cr-modal-icon {
    font-size: 50px;
    color: #01a5b4;
    margin-bottom: 15px;
}

.cr-modal h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cr-modal p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cr-ui-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

    .cr-ui-overlay.show {
        display: flex;
    }

.cr-ui-spinner-card {
    width: min(92vw, 380px);
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.cr-ui-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 4px solid rgba(1, 165, 180, 0.18);
    border-top-color: #01a5b4;
    animation: crSpin 0.8s linear infinite;
}

.cr-ui-overlay-title {
    font-size: 20px;
    font-weight: 800;
    color: #1c1e3d;
    margin-bottom: 8px;
}

.cr-ui-overlay-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}

@keyframes crSpin {
    to {
        transform: rotate(360deg);
    }
}

.cr-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    padding: 20px;
}

    .cr-modal.show {
        display: flex;
    }

.cr-modal-content {
    width: min(92vw, 430px);
    background: #ffffff;
    border-radius: 26px;
    padding: 30px 24px 24px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
    animation: crModalIn 0.24s ease;
}

.cr-modal-success {
    border-top: 5px solid #01a5b4;
}

.cr-modal-error {
    border-top: 5px solid #e24243;
}

.cr-modal-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.cr-modal-success .cr-modal-icon {
    background: rgba(1, 165, 180, 0.10);
    color: #01a5b4;
}

.cr-modal-error .cr-modal-icon {
    background: rgba(226, 66, 67, 0.10);
    color: #e24243;
}

.cr-modal-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #1c1e3d;
    font-weight: 800;
}

.cr-modal-content p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.9;
    color: #64748b;
}

@keyframes crModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}