.cn-auth-shell {
    margin: 0;
    min-height: 100vh;
    font-family: "Roboto", Arial, sans-serif;
    color: #2f2f2f;
    background:
        radial-gradient(circle at 8% 12%, rgba(253, 140, 64, 0.18) 0, rgba(253, 140, 64, 0) 32%),
        radial-gradient(circle at 93% 86%, rgba(242, 111, 42, 0.14) 0, rgba(242, 111, 42, 0) 34%),
        linear-gradient(180deg, #fff8f3 0%, #fff 55%);
}

.cn-auth-stage {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 22px 20px 32px;
}

.cn-auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.cn-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cn-auth-brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f3d7c5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(242, 111, 42, 0.14);
}

.cn-auth-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cn-auth-brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.2;
}

.cn-auth-brand-text strong {
    color: #2f2c2a;
    font-size: 1rem;
    font-weight: 700;
}

.cn-auth-brand-text small {
    color: #8a817b;
    font-size: 0.78rem;
}

.cn-auth-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cn-auth-ghost-link {
    color: #7e7671;
    text-decoration: none;
    font-size: 0.85rem;
}

.cn-auth-ghost-link:hover {
    color: #f26f2a;
}

.cn-auth-pill-link {
    border: 1px solid #f4d8c8;
    background: #fff;
    color: #cc5f21;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 14px;
    text-decoration: none;
}

.cn-auth-pill-link:hover {
    color: #b15019;
}

.cn-auth-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: start;
}

.cn-auth-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.cn-auth-kpi-item {
    border: 1px solid #f2ddcf;
    border-radius: 12px;
    background: #fff;
    padding: 11px 12px;
}

.cn-auth-kpi-item b {
    display: block;
    color: #cf6223;
    font-size: 1.02rem;
    line-height: 1.2;
}

.cn-auth-kpi-item span {
    color: #8c8179;
    font-size: 0.8rem;
}

.cn-auth-card {
    border: 1px solid #f4dfd1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(230, 128, 65, 0.14);
    padding: 22px 20px;
}

.cn-auth-title {
    margin: 0;
    font-size: 1.4rem;
    color: #2e2b28;
    font-weight: 700;
}

.cn-auth-subtitle {
    margin: 5px 0 16px;
    color: #837b76;
    font-size: 0.91rem;
}

.cn-auth-card .form-label {
    color: #45403c;
    margin-bottom: 6px;
    font-size: 0.86rem;
    font-weight: 600;
}

.cn-auth-card .form-control,
.cn-auth-card .form-select {
    border: 1.5px solid #f0ded3;
    min-height: 44px;
    border-radius: 10px;
    font-size: 0.91rem;
    color: #3a3531;
}

.cn-auth-card .form-control:focus,
.cn-auth-card .form-select:focus {
    border-color: #fd8c40;
    box-shadow: 0 0 0 3px rgba(253, 140, 64, 0.18);
}

.cn-auth-card .input-group .form-control {
    border-right: 0;
    border-radius: 10px 0 0 10px;
}

.cn-auth-card .input-group-text {
    border: 1.5px solid #f0ded3;
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: #fff;
    color: #d86a2a;
    cursor: pointer;
}

.cn-auth-card .input-group:focus-within .input-group-text {
    border-color: #fd8c40;
}

.cn-auth-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(115deg, #fd8c40, #f26f2a);
    box-shadow: 0 10px 22px rgba(242, 111, 42, 0.28);
    transition: transform 0.18s ease;
}

.cn-auth-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.cn-auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b4ada7;
    font-size: 0.8rem;
    margin: 15px 0;
}

.cn-auth-divider::before,
.cn-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #f1e3da;
}

.cn-auth-switch-row {
    text-align: center;
    color: #837b76;
    font-size: 0.9rem;
}

.cn-auth-switch-row a,
.cn-auth-link {
    color: #cf6223;
    font-weight: 700;
    text-decoration: none;
}

.cn-auth-switch-row a:hover,
.cn-auth-link:hover {
    text-decoration: underline;
}

.cn-auth-card .form-check-input:checked {
    background-color: #fd8c40;
    border-color: #fd8c40;
}

.cn-auth-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cn-auth-side-panel {
    border: 1px solid #f4dfd1;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fff6ef 100%);
    padding: 18px;
}

.cn-auth-side-panel h3 {
    margin: 0 0 12px;
    color: #2f2b29;
    font-size: 1rem;
    font-weight: 700;
}

.cn-auth-side-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cn-auth-side-panel li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #6f6761;
    font-size: 0.85rem;
    line-height: 1.6;
}

.cn-auth-side-panel i {
    color: #f27b31;
    margin-top: 2px;
}

.cn-auth-register-stage {
    border: 1px solid #f4dfd1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(230, 128, 65, 0.13);
    padding: 20px;
}

.cn-auth-register-head {
    margin-bottom: 14px;
}

.cn-auth-register-head h1 {
    margin: 0;
    color: #2f2b29;
    font-size: 1.44rem;
    font-weight: 700;
}

.cn-auth-register-head p {
    margin: 6px 0 11px;
    color: #807871;
    font-size: 0.9rem;
}

.cn-auth-step-line {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cn-auth-step-line span {
    border-radius: 999px;
    border: 1px solid #ecd8ca;
    background: #fff8f3;
    color: #a39185;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 10px;
}

.cn-auth-step-line .is-active {
    border-color: #fdc7a4;
    background: #fff1e8;
    color: #c75a1f;
}

.cn-auth-register-card {
    border: 0;
    box-shadow: none;
    padding: 0;
}

.cn-auth-agree-wrap {
    border-radius: 10px;
    border: 1px dashed #efcfbd;
    padding: 10px 12px;
    background: #fff9f4;
}

@media (max-width: 992px) {
    .cn-auth-main-grid {
        grid-template-columns: 1fr;
    }

    .cn-auth-side-panel {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cn-auth-stage {
        padding: 14px 10px 20px;
    }

    .cn-auth-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .cn-auth-kpi-row {
        grid-template-columns: 1fr;
    }

    .cn-auth-grid-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cn-auth-card,
    .cn-auth-register-stage {
        border-radius: 14px;
        padding: 16px 14px;
    }
}
