.cs-auth-page { margin: 0; padding: 0; background: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.cs-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.cs-auth-form-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 64px); }
.cs-auth-form-content { width: 100%; max-width: 540px; margin: auto; padding-block: 24px; }
.cs-auth h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.cs-auth .cs-auth-intro { color: #64748b; font-size: 1.05rem; line-height: 1.65; }
.cs-auth .form-label { font-weight: 600; }
.cs-auth .form-control { min-height: 56px; background: #f8f9fc; border-radius: 12px; padding-left: 46px; }
.cs-auth .form-control:focus { background: #fff; }
.cs-auth .cs-auth-input { position: relative; }
.cs-auth .cs-auth-input > i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; }
.cs-auth .cs-auth-submit { min-height: 56px; border-radius: 12px; font-weight: 600; white-space: normal; }
.cs-auth-register-content { max-width: 760px; }
.cs-auth-name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; row-gap: 18px; }
.cs-auth-register-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 18px; }
.cs-auth-visual { display: flex; align-items: center; justify-content: center; color: #fff; padding: clamp(28px, 4vw, 64px); background: linear-gradient(155deg, rgba(20,61,52,.94), rgba(23,107,84,.82)), url('../images/368992.jpg') center / cover no-repeat; }
.cs-auth-visual-content { width: 100%; max-width: 560px; }
.cs-auth-logo { width: min(320px, 90%); height: auto; display: block; margin: 0 auto 40px; }
.cs-auth-visual h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: #fff; font-weight: 700; }
.cs-auth-visual p { font-size: 1.1rem; line-height: 1.75; }
.cs-auth-steps { list-style: none; padding: 0; margin: 28px 0 0; }
.cs-auth-steps li { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; font-size: 1.05rem; line-height: 1.6; }
.cs-auth-steps .cs-auth-step { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; background: rgba(255,255,255,.16); border-radius: 50%; font-weight: 700; }
.cs-auth-footer { text-align: center; font-size: .8rem; color: #64748b; margin: 0; padding-top: 18px; }
@media (max-width: 991.98px) {
    .cs-auth { grid-template-columns: minmax(0, 1fr); }
    .cs-auth-form-panel { min-height: 100vh; min-height: 100dvh; padding: 24px; }
    .cs-auth-visual { padding: 40px 24px; }
    .cs-auth-logo { margin-bottom: 28px; }
}
@media (max-width: 1199.98px) {
    .cs-auth-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs-auth-name-grid > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .cs-auth-name-grid, .cs-auth-register-grid { grid-template-columns: minmax(0, 1fr); }
    .cs-auth-name-grid > :nth-child(3) { grid-column: auto; }
}

.cs-register-page { min-height: 100vh; background: linear-gradient(135deg, #f1f8f3, #fff 58%, #f6faf7); }
.cs-register-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0; }
.cs-register-main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 40px; }
.cs-register-heading { margin: 0 0 12px; }
.cs-register-heading h1 { margin: 0 0 6px; color: #173f35; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 750; letter-spacing: -.035em; }
.cs-register-heading .cs-auth-intro { max-width: 680px; }
.cs-register-required-note { color: #687970; font-size: .9rem; }
.cs-required { color: #b02a37; font-weight: 750; }
.cs-register-card { padding: clamp(22px, 4vw, 42px); border: 1px solid #e6eee8; border-radius: 20px; background: #fff; box-shadow: 0 18px 55px rgba(22, 65, 49, .09); }
.cs-register-section + .cs-register-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid #e8efea; }
.cs-register-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cs-register-section-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #eaf5ed; color: #176b54; }
.cs-register-section-heading h2 { margin: 0 0 3px; color: #183f35; font-size: 1.2rem; font-weight: 700; }
.cs-register-section-heading p { margin: 0; color: #718078; font-size: .92rem; }
.cs-register-page .form-label { margin-bottom: 8px; color: #253d34; font-weight: 600; }
.cs-register-page .form-control { min-height: 54px; padding-left: 46px; border-radius: 12px; background: #f8faf9; }
.cs-register-page .form-select { min-height: 54px; padding-left: 46px; border-radius: 12px; background-color: #f8faf9; }
.cs-register-page .form-control:focus { background: #fff; }
.cs-register-page .cs-auth-input { position: relative; }
.cs-register-page .cs-auth-input > i { position: absolute; top: 50%; left: 17px; z-index: 2; transform: translateY(-50%); color: #718078; pointer-events: none; }
.cs-register-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #e8efea; }
.cs-register-terms { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); align-items: start; gap: 14px; width: 100%; max-width: 650px; margin: 0; padding: 16px; border: 1px solid #cfe1d5; border-radius: 14px; background: #f4faf6; }
.cs-register-terms > .text-danger { grid-column: 2; }
.cs-register-terms .form-check-input { position: static; flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; margin: 2px 0 0; border: 2px solid #668377; border-radius: 6px; cursor: pointer; }
.cs-register-terms.border-danger .form-check-input { border-color: #b02a37; }
.cs-register-terms.border-danger .form-check-label { color: #b02a37; }
.cs-register-terms .form-check-input:checked { border-color: #176b54; background-color: #176b54; }
.cs-register-terms .form-check-input:focus { border-color: #176b54; box-shadow: 0 0 0 .25rem rgba(23, 107, 84, .2); }
.cs-register-terms .form-check-label { color: #34483e; line-height: 1.6; cursor: pointer; }
.cs-register-page .cs-auth-submit { min-width: 230px; min-height: 54px; border-radius: 12px; font-weight: 650; }
.cs-register-footer { padding-top: 28px; }
.cs-register-main { width: min(900px, calc(100% - 40px)); }
.cs-register-page .cs-auth-name-grid,
.cs-register-page .cs-auth-register-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-register-page .cs-auth-name-grid { row-gap: 18px; }
.cs-register-page .cs-auth-register-grid { row-gap: 18px; }
.cs-register-page .cs-auth-name-grid > :first-child { grid-column: 1 / -1; }
@media (max-width: 767.98px) {
    .cs-register-header { width: min(100% - 32px, 1040px); padding: 20px 0; }
    .cs-register-main { width: calc(100% - 32px); padding-top: 20px; }
    .cs-auth-name-grid, .cs-auth-register-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .cs-register-header { align-items: flex-start; flex-direction: column; gap: 8px; }
    .cs-register-main { padding-top: 12px; }
    .cs-register-card { padding: 20px 16px; border-radius: 16px; }
    .cs-auth-name-grid, .cs-auth-register-grid { grid-template-columns: minmax(0, 1fr); }
    .cs-register-actions { align-items: stretch; flex-direction: column; gap: 20px; }
    .cs-register-page .cs-auth-submit { width: 100%; }
}
@media (max-width: 767.98px) {
    .cs-register-page .cs-auth-name-grid,
    .cs-register-page .cs-auth-register-grid { grid-template-columns: minmax(0, 1fr); }
    .cs-register-page .cs-auth-name-grid > :first-child { grid-column: auto; }
}
