/* DC Registration Styles */
*, *::before, *::after { box-sizing: border-box; }

.dcr-wrap {
    max-width: 540px;
    margin: 2rem auto 4rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    padding: 0 1rem;
}

/* Header */
.dcr-header { text-align: center; margin-bottom: 1.5rem; }
.dcr-header-icon { font-size: 3rem; margin-bottom: .5rem; }
.dcr-header h1 { font-size: 1.875rem; font-weight: 900; letter-spacing: -.04em; color: #1a1a2e; margin: 0 0 .375rem; }
.dcr-header p  { color: #636366; font-size: 1rem; margin: 0; }

/* Social proof */
.dcr-social-proof {
    display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap;
    font-size: .8125rem; color: #636366; margin-bottom: 1.5rem;
}
.dcr-social-proof span { display: flex; align-items: center; gap: .25rem; }

/* Form card */
.dcr-form {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* Errors */
.dcr-errors {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid #ef4444;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.dcr-errors-title { font-weight: 700; color: #991b1b; margin-bottom: .5rem; }
.dcr-errors ul { margin: 0; padding-left: 1.25rem; color: #7f1d1d; font-size: .875rem; line-height: 1.9; }

/* Fields */
.dcr-field { margin-bottom: 1.125rem; }
.dcr-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.125rem; }
@media (max-width: 480px) { .dcr-row { grid-template-columns: 1fr; } }

.dcr-label { display: block; font-size: .875rem; font-weight: 700; color: #1a1a2e; margin-bottom: .375rem; }
.dcr-req   { color: #e63946; }
.dcr-opt   { font-size: .75rem; color: #8e8e93; font-weight: 400; }
.dcr-hint  { font-size: .75rem; color: #8e8e93; margin-top: .25rem; }

.dcr-input {
    width: 100%;
    padding: .65rem .875rem;
    border: 1.5px solid #e0e0e8;
    border-radius: 8px;
    font-size: .9375rem;
    outline: none;
    transition: border .15s, box-shadow .15s;
    color: #1a1a2e;
    background: #fff;
}
.dcr-input:focus { border-color: #e63946; box-shadow: 0 0 0 3px rgba(230,57,70,.1); }
.dcr-input.error { border-color: #ef4444; background: #fff5f5; }

/* Input with eye button */
.dcr-input-wrap { position: relative; }
.dcr-input-wrap .dcr-input { padding-right: 2.5rem; }
.dcr-eye {
    position: absolute; right: .625rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 1rem; padding: .25rem; color: #8e8e93;
}

/* Password strength */
.dcr-strength-bar  { background: #f0f0f0; border-radius: 4px; height: 4px; margin-top: .375rem; overflow: hidden; }
.dcr-strength-fill { height: 100%; border-radius: 4px; transition: width .3s, background .3s; width: 0; }
.dcr-strength-lbl  { font-size: .75rem; margin-top: .2rem; font-weight: 600; }
.dcr-match-msg     { font-size: .75rem; margin-top: .25rem; font-weight: 600; }

/* Password requirements */
.dcr-pw-reqs {
    display: grid; grid-template-columns: 1fr 1fr; gap: .25rem;
    margin-bottom: 1.125rem; font-size: .8rem;
}
.dcr-pw-req { color: #8e8e93; transition: color .15s; }
.dcr-pw-req.ok { color: #22c55e; }

/* CAPTCHA */
.dcr-captcha-eq {
    display: flex; align-items: center; gap: .75rem;
    background: #f8f8fc; border: 1.5px solid #e0e0e8; border-radius: 8px;
    padding: .875rem 1.25rem; width: fit-content;
}
.dcr-captcha-num { font-size: 1.5rem; font-weight: 900; color: #1a1a2e; }
.dcr-captcha-op  { font-size: 1.5rem; font-weight: 700; color: #e63946; }
.dcr-captcha-eq-sign { font-size: 1.5rem; font-weight: 700; color: #8e8e93; }
.dcr-captcha-input { width: 80px !important; font-size: 1.25rem !important; font-weight: 800 !important; text-align: center; }

/* Checkboxes */
.dcr-checkbox-label {
    display: flex; align-items: flex-start; gap: .625rem; cursor: pointer;
    font-size: .875rem; line-height: 1.5;
}
.dcr-checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.dcr-checkbox-custom {
    width: 20px; height: 20px; border: 2px solid #e0e0e8; border-radius: 4px;
    flex-shrink: 0; margin-top: .1rem; transition: all .15s;
    display: flex; align-items: center; justify-content: center; background: #fff;
}
.dcr-checkbox-label input[type="checkbox"]:checked + .dcr-checkbox-custom {
    background: #e63946; border-color: #e63946;
}
.dcr-checkbox-label input[type="checkbox"]:checked + .dcr-checkbox-custom::after {
    content: '✓'; color: #fff; font-size: .875rem; font-weight: 800;
}
.dcr-checkbox-label.error-label .dcr-checkbox-custom { border-color: #ef4444; background: #fff5f5; }
.dcr-checkbox-text { flex: 1; }
.dcr-link { color: #e63946; font-weight: 600; text-decoration: none; }
.dcr-link:hover { text-decoration: underline; }

/* Submit button */
.dcr-btn-submit {
    width: 100%; padding: .875rem; background: #e63946; color: #fff;
    border: none; border-radius: 10px; font-size: 1.0625rem; font-weight: 800;
    cursor: pointer; transition: all .15s; margin-top: .5rem;
    letter-spacing: -.01em;
}
.dcr-btn-submit:hover { background: #c1121f; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(230,57,70,.3); }
.dcr-btn-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.dcr-login-link { text-align: center; font-size: .875rem; color: #636366; margin-top: .875rem; }

/* Benefits bar */
.dcr-benefits {
    display: grid; grid-template-columns: repeat(4,1fr); gap: .625rem; margin-top: 1.5rem;
}
@media (max-width:480px) { .dcr-benefits { grid-template-columns: repeat(2,1fr); } }
.dcr-benefit {
    background: #fff; border: 1px solid #e8e8ed; border-radius: 8px;
    padding: .75rem .5rem; text-align: center; font-size: .75rem; color: #636366;
}
.dcr-benefit-icon { display: block; font-size: 1.5rem; margin-bottom: .25rem; }

/* Notices */
.dcr-notice {
    background: #fff; border: 1px solid #e8e8ed; border-radius: 12px;
    padding: 2rem; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.dcr-notice-icon { font-size: 3rem; margin-bottom: .75rem; }
.dcr-notice h3   { font-size: 1.25rem; font-weight: 800; margin: 0 0 .5rem; }
.dcr-notice p    { color: #636366; margin: 0 0 .5rem; }
.dcr-notice-ok   { border-left: 4px solid #22c55e; }
.dcr-notice-warn { border-left: 4px solid #f59e0b; }
.dcr-notice-err  { border-left: 4px solid #ef4444; }

/* Success card */
.dcr-success-card {
    background: #fff; border: 1px solid #e8e8ed; border-radius: 16px;
    padding: 2.5rem 2rem; text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.dcr-success-icon { font-size: 4rem; margin-bottom: .875rem; }
.dcr-success-card h2 { font-size: 1.625rem; font-weight: 900; letter-spacing: -.04em; color: #1a1a2e; margin: 0 0 .5rem; }
.dcr-success-card p  { color: #636366; margin: 0 0 .5rem; font-size: .9375rem; }
.dcr-success-sub { font-size: .875rem !important; }

.dcr-success-steps {
    display: flex; flex-direction: column; gap: .375rem;
    margin: 1.25rem 0; text-align: left; max-width: 280px; margin-left: auto; margin-right: auto;
}
.dcr-step { padding: .5rem .875rem; border-radius: 6px; font-size: .875rem; font-weight: 600; color: #636366; background: #f8f8fc; }
.dcr-step.done   { background: #f0fdf4; color: #166534; }
.dcr-step.active { background: #fff1f2; color: #e63946; }
.dcr-step.pending{ background: #f8f8fc; color: #8e8e93; }

/* Buttons */
.dcr-btn-primary {
    display: inline-block; background: #e63946; color: #fff !important; text-decoration: none;
    padding: .75rem 2rem; border-radius: 10px; font-weight: 800; font-size: 1rem;
    transition: background .15s; margin-top: 1.25rem;
}
.dcr-btn-primary:hover { background: #c1121f; }
.dcr-btn-secondary {
    display: inline-block; background: #fff; color: #444 !important; text-decoration: none;
    padding: .625rem 1.5rem; border: 1px solid #ddd; border-radius: 10px;
    font-weight: 600; font-size: .9375rem; transition: all .15s;
}
.dcr-btn-secondary:hover { border-color: #e63946; color: #e63946 !important; }

/* Already logged in */
.dcr-already-in { text-align: center; padding: 3rem 1rem; }
.dcr-ai-icon { font-size: 3rem; display: block; margin-bottom: .75rem; }
.dcr-already-in h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .5rem; }
.dcr-already-in p  { color: #636366; margin-bottom: 1.25rem; }
