@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.yoo-register-page {
    --reg-brand: #FAA61A;
    --reg-brand-dark: #e08e00;
    --reg-soft: #fff8ec;
    --reg-ink: #1f2937;
    --reg-muted: #5A5A59;
    --reg-line: #e5e7eb;
    --reg-danger: #dc2626;
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--reg-ink);
    background: #2f2f2e url('../images/background.jpg') center / cover no-repeat fixed;
    -webkit-font-smoothing: antialiased;
}

.yoo-register-page *,
.yoo-register-page *::before,
.yoo-register-page *::after {
    box-sizing: border-box;
}

.yoo-reg {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
}

.yoo-reg::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.yoo-reg-shell {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 1080px;
    height: min(780px, calc(100vh - 56px));
    min-height: 560px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: yooRegUp 0.4s ease;
}

.yoo-reg-shell.is-status {
    max-width: 920px;
    height: auto;
    min-height: 520px;
}

@keyframes yooRegUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sidebar */
.yoo-reg-side {
    position: relative;
    flex: 0 0 310px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 30px 26px;
    color: #fff;
    background: linear-gradient(160deg, rgba(58, 58, 57, 0.94), rgba(38, 38, 37, 0.97)), url('../images/background.jpg') center / cover;
    overflow-y: auto;
}

.yoo-reg-side::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--reg-brand), rgba(250, 166, 26, 0));
}

.yoo-reg-logo {
    display: flex;
    justify-content: center;
    align-self: stretch;
    padding: 4px 0 2px;
}

.yoo-reg-logo img {
    display: block;
    height: 104px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.yoo-reg-side-copy h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.yoo-reg-side-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.yoo-reg-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yoo-reg-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.55);
    transition: background 0.2s ease, color 0.2s ease;
}

.yoo-reg-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 44px;
    width: 2px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
}

.yoo-reg-steps li.is-done::after {
    background: var(--reg-brand);
}

.yoo-reg-step-dot {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.yoo-reg-step-dot .dashicons {
    font-size: 17px;
    width: 17px;
    height: 17px;
}

.yoo-reg-step-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.yoo-reg-step-copy strong {
    font-size: 13px;
    font-weight: 600;
}

.yoo-reg-step-copy small {
    font-size: 11px;
    opacity: 0.75;
}

.yoo-reg-steps li.is-active {
    background: rgba(250, 166, 26, 0.14);
    color: #fff;
}

.yoo-reg-steps li.is-active .yoo-reg-step-dot {
    background: var(--reg-brand);
    border-color: var(--reg-brand);
    box-shadow: 0 6px 16px rgba(250, 166, 26, 0.35);
}

.yoo-reg-steps li.is-done {
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

.yoo-reg-steps li.is-done:hover,
.yoo-reg-steps.is-preview li:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.06);
}

.yoo-reg-steps.is-preview li {
    cursor: pointer;
}

.yoo-reg-steps li.is-done .yoo-reg-step-dot {
    background: rgba(250, 166, 26, 0.18);
    border-color: rgba(250, 166, 26, 0.5);
    color: var(--reg-brand);
}

.yoo-reg-side-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    word-break: break-all;
}

.yoo-reg-side-foot a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--reg-brand);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.yoo-reg-side-foot a:hover {
    color: #ffc05a;
}

.yoo-reg-side-foot .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Main */
.yoo-reg-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.yoo-reg-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: var(--reg-soft);
    border-bottom: 1px solid #fde2b3;
    color: #9a5b00;
    font-size: 12px;
    font-weight: 600;
}

.yoo-reg-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.yoo-reg-head {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 26px 36px 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #f1f1f1;
}

.yoo-reg-progress {
    height: 5px;
    margin-bottom: 16px;
    background: #f1f1f1;
    border-radius: 99px;
    overflow: hidden;
}

.yoo-reg-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--reg-brand), #ffc05a);
    border-radius: 99px;
    transition: width 0.35s ease;
}

.yoo-reg-head small {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--reg-brand-dark);
}

.yoo-reg-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--reg-ink);
}

.yoo-reg-head p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--reg-muted);
}

.yoo-reg-panel {
    display: none;
    padding: 24px 36px;
    animation: yooRegFade 0.25s ease;
}

.yoo-reg-panel.is-active {
    display: block;
}

@keyframes yooRegFade {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Fields */
.yoo-reg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.yoo-reg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.yoo-reg-field.is-full,
.yoo-reg-section.is-full {
    grid-column: 1 / -1;
}

.yoo-reg-field > span:first-child {
    font-size: 12px;
    font-weight: 600;
    color: var(--reg-muted);
}

.yoo-reg-field em {
    font-style: normal;
    color: var(--reg-brand-dark);
}

.yoo-reg-field input[type="text"],
.yoo-reg-field input[type="email"],
.yoo-reg-field input[type="tel"],
.yoo-reg-field input[type="date"],
.yoo-reg-field input[type="number"],
.yoo-reg-field input[type="password"],
.yoo-reg-field select,
.yoo-reg-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font: inherit;
    font-size: 14px;
    color: var(--reg-ink);
    background: #fff;
    border: 1.5px solid var(--reg-line);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.yoo-reg-field select {
    padding-right: 38px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5A59' d='M6 8 0 0h12z'/%3E%3C/svg%3E") right 14px center / 10px no-repeat;
}

.yoo-reg-field textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.5;
}

.yoo-reg-field input:focus,
.yoo-reg-field select:focus,
.yoo-reg-field textarea:focus {
    border-color: var(--reg-brand);
    box-shadow: 0 0 0 4px rgba(250, 166, 26, 0.15);
}

.yoo-reg-field input::placeholder,
.yoo-reg-field textarea::placeholder {
    color: #9ca3af;
}

.yoo-reg-field.is-invalid input,
.yoo-reg-field.is-invalid select,
.yoo-reg-field.is-invalid textarea,
.yoo-reg-field.is-invalid .yoo-reg-drop,
.yoo-reg-field.is-invalid .yoo-reg-choice {
    border-color: #fca5a5;
}

.yoo-reg-field.is-invalid input:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* Saved progress */
.yoo-reg-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.yoo-reg-head-row small {
    margin-bottom: 0;
}

.yoo-reg-saved {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
}

.yoo-reg-saved .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.yoo-reg-saved.is-saving {
    background: #f3f4f6;
    color: var(--reg-muted);
}

.yoo-reg-saved.is-saving .dashicons {
    animation: yooRegSpin 1s linear infinite;
}

.yoo-reg-saved.is-error {
    background: #fef2f2;
    color: var(--reg-danger);
}

@keyframes yooRegSpin {
    to { transform: rotate(360deg); }
}

.yoo-reg-resume {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 36px 0;
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
}

.yoo-reg-resume-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #22c55e;
    color: #fff;
}

.yoo-reg-resume strong {
    display: block;
    margin-bottom: 2px;
    color: #14532d;
    font-size: 14px;
}

.yoo-reg-resume p {
    margin: 0;
    color: #166534;
    font-size: 13px;
    line-height: 1.5;
}

.yoo-reg-resume > div {
    flex: 1;
}

.yoo-reg-resume-close {
    display: inline-flex;
    padding: 2px;
    border: 0;
    background: transparent;
    color: #16a34a;
    cursor: pointer;
}

.yoo-reg-save-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--reg-soft);
    color: #7c4a03;
    font-size: 12px;
    line-height: 1.5;
}

.yoo-reg-save-note .dashicons {
    flex: 0 0 auto;
    font-size: 17px;
    width: 17px;
    height: 17px;
    color: var(--reg-brand-dark);
}

.yoo-reg-drop.is-saved {
    border-style: solid;
    border-color: #86efac;
    background: #f0fdf4;
}

.yoo-reg-drop.is-saved .yoo-reg-drop-icon {
    background: #22c55e;
    color: #fff;
}

@media (max-width: 860px) {
    .yoo-reg-resume {
        margin: 14px 18px 0;
    }
}

/* Follow-up questions */
.yoo-reg-field.is-hidden,
.yoo-reg-section.is-hidden {
    display: none;
}

.yoo-reg-field.is-follow-up {
    position: relative;
    padding-left: 14px;
}

.yoo-reg-field.is-follow-up::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--reg-brand), #ffd58a);
}

.yoo-reg-field.is-revealed,
.yoo-reg-section.is-revealed {
    animation: yooRegReveal 0.35s ease;
}

@keyframes yooRegReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Date picker */
.yoo-reg-date {
    position: relative;
    display: block;
}

.yoo-reg-field .yoo-reg-date .yoo-reg-date-text {
    padding-right: 48px;
    letter-spacing: 0.4px;
}

.yoo-reg-field .yoo-reg-date .yoo-reg-date-text.is-bad {
    border-color: #fca5a5;
}

.yoo-reg-date-open {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--reg-muted);
    background: #f6f6f6;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.yoo-reg-date-open:hover,
.yoo-reg-date.is-open .yoo-reg-date-open {
    color: var(--reg-brand-dark);
    background: var(--reg-soft);
}

.yoo-reg-date-open .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.yoo-reg-date-pop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    display: block;
    width: 290px;
    max-width: 100%;
    min-width: 260px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--reg-line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
}

.yoo-reg-date-pop[hidden] {
    display: none;
}

.yoo-reg-date-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.yoo-reg-field .yoo-reg-date-pop select {
    min-height: 36px;
    padding: 6px 30px 6px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background-position: right 10px center;
}

.yoo-reg-date-week,
.yoo-reg-date-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
}

.yoo-reg-date-week i {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #9ca3af;
    padding: 2px 0 6px;
}

.yoo-reg-date-days i,
.yoo-reg-date-day {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 13px;
    border-radius: 8px;
}

.yoo-reg-date-days i.is-disabled {
    color: #d1d5db;
}

.yoo-reg-date-day {
    padding: 0;
    font: inherit;
    font-size: 13px;
    color: var(--reg-ink);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.yoo-reg-date-day:hover {
    background: var(--reg-soft);
    color: var(--reg-brand-dark);
}

.yoo-reg-date-day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--reg-brand);
}

.yoo-reg-date-day.is-selected {
    background: var(--reg-brand);
    color: #fff;
    font-weight: 700;
}

.yoo-reg-field-error {
    font-size: 12px;
    font-weight: 500;
    color: var(--reg-danger);
}

.yoo-reg-help {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.yoo-reg-field .iti {
    width: 100%;
}

.yoo-reg-field .iti input[type="tel"] {
    padding-left: 92px;
}

.yoo-reg-pass {
    position: relative;
    display: block;
}

.yoo-reg-pass input {
    padding-right: 46px !important;
}

.yoo-reg-eye {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}

.yoo-reg-eye:hover {
    color: var(--reg-muted);
    background: #f5f5f5;
}

.yoo-reg-strength {
    display: block;
    height: 4px;
    background: #f1f1f1;
    border-radius: 99px;
    overflow: hidden;
}

.yoo-reg-strength i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width 0.25s ease, background 0.25s ease;
}

.yoo-reg-strength[data-score="0"] i,
.yoo-reg-strength[data-score="1"] i { width: 25%; background: #ef4444; }
.yoo-reg-strength[data-score="2"] i { width: 55%; background: #f59e0b; }
.yoo-reg-strength[data-score="3"] i { width: 80%; background: #84cc16; }
.yoo-reg-strength[data-score="4"] i { width: 100%; background: #16a34a; }

.yoo-reg-match {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
}

.yoo-reg-match[hidden] {
    display: none;
}

.yoo-reg-match .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.yoo-reg-match.is-ok {
    color: #16a34a;
}

.yoo-reg-match.is-bad {
    color: var(--reg-danger);
}

.yoo-reg-section {
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px dashed var(--reg-line);
}

.yoo-reg-section:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.yoo-reg-section h3 {
    margin: 6px 0 2px;
    font-size: 15px;
    font-weight: 700;
    color: var(--reg-ink);
}

.yoo-reg-section p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

/* Choices */
.yoo-reg-choices {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.yoo-reg-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid var(--reg-line);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.yoo-reg-choice:hover {
    border-color: #fcd38a;
}

.yoo-reg-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yoo-reg-choice-mark {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.yoo-reg-choice input[type="checkbox"] + .yoo-reg-choice-mark {
    border-radius: 5px;
}

.yoo-reg-choice:has(input:checked) {
    border-color: var(--reg-brand);
    background: var(--reg-soft);
}

.yoo-reg-choice input:checked + .yoo-reg-choice-mark {
    border-color: var(--reg-brand);
    background: var(--reg-brand);
    box-shadow: inset 0 0 0 3px #fff;
}

.yoo-reg-choice input[type="checkbox"]:checked + .yoo-reg-choice-mark {
    box-shadow: none;
    background: var(--reg-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.yoo-reg-choice input:focus-visible + .yoo-reg-choice-mark {
    box-shadow: 0 0 0 4px rgba(250, 166, 26, 0.2);
}

/* Uploads */
.yoo-reg-drop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 16px;
    border: 1.5px dashed #d8d8d8;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.yoo-reg-drop:hover,
.yoo-reg-drop.is-over {
    border-color: var(--reg-brand);
    background: var(--reg-soft);
}

.yoo-reg-drop input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.yoo-reg-drop-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--reg-soft);
    color: var(--reg-brand);
}

.yoo-reg-drop-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.yoo-reg-drop-copy strong {
    font-size: 13px;
    font-weight: 600;
}

.yoo-reg-drop-copy small {
    font-size: 12px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yoo-reg-drop-preview:empty {
    display: none;
}

.yoo-reg-drop-preview {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--reg-line);
    color: var(--reg-muted);
}

.yoo-reg-drop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yoo-reg-drop.has-file {
    border-style: solid;
    border-color: #86efac;
    background: #f0fdf4;
}

.yoo-reg-drop.has-file .yoo-reg-drop-icon {
    background: #dcfce7;
    color: #16a34a;
}

.yoo-reg-drop.has-file .yoo-reg-drop-icon .dashicons::before {
    content: "\f147";
}

.yoo-reg-kind {
    display: inline-flex;
    align-self: flex-start;
    gap: 4px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 11px;
}

.yoo-reg-kind label {
    cursor: pointer;
}

.yoo-reg-kind input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yoo-reg-kind label > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--reg-muted);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.yoo-reg-kind .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.yoo-reg-kind input:checked + span {
    background: #fff;
    color: var(--reg-brand-dark);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.yoo-reg-sides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.yoo-reg-back-side[hidden] {
    display: none;
}

/* OTP */
.yoo-reg-otp-card {
    max-width: 440px;
    margin: 10px auto 0;
    text-align: center;
}

.yoo-reg-otp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--reg-soft);
    color: var(--reg-brand);
}

.yoo-reg-otp-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.yoo-reg-otp-card p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--reg-muted);
}

.yoo-reg-otp {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.yoo-reg-otp input {
    width: 50px;
    height: 58px;
    text-align: center;
    font: inherit;
    font-size: 22px;
    font-weight: 700;
    color: var(--reg-ink);
    border: 1.5px solid var(--reg-line);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yoo-reg-otp input:focus {
    border-color: var(--reg-brand);
    box-shadow: 0 0 0 4px rgba(250, 166, 26, 0.15);
}

.yoo-reg-otp.is-invalid input {
    border-color: #fca5a5;
    animation: yooRegShake 0.3s ease;
}

@keyframes yooRegShake {
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.yoo-reg-otp-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #d1d5db;
}

.yoo-reg-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--reg-brand-dark);
    cursor: pointer;
}

.yoo-reg-link:hover {
    color: var(--reg-brand);
}

.yoo-reg-link:disabled {
    color: #9ca3af;
    cursor: default;
}

.yoo-reg-link .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Programs */
.yoo-reg-programs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.yoo-reg-program {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--reg-line);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.yoo-reg-program:hover {
    border-color: #fcd38a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.yoo-reg-program input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yoo-reg-program-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 188px;
    background: #f3f4f6 center top / cover no-repeat;
}

.yoo-reg-program-media.is-empty {
    background: linear-gradient(135deg, var(--reg-soft), #ffe7bf);
    color: var(--reg-brand);
}

.yoo-reg-program-media.is-empty .dashicons {
    font-size: 38px;
    width: 38px;
    height: 38px;
}

.yoo-reg-program-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

.yoo-reg-program-head {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.yoo-reg-program-body strong {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--reg-ink);
}

.yoo-reg-info-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.yoo-reg-info-btn .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.yoo-reg-info-btn:hover,
.yoo-reg-info-btn:focus-visible {
    background: rgba(250, 166, 26, .14);
    color: var(--reg-brand, #FAA61A);
    outline: none;
}

.yoo-info-pop {
    position: fixed;
    z-index: 100080;
    width: min(360px, calc(100vw - 24px));
    max-height: min(420px, calc(100vh - 24px));
    overflow: auto;
    padding: 14px 16px;
    background: #fff;
    color: #1f2937;
    border: 1px solid #e8eaee;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .16), 0 2px 8px rgba(15, 23, 42, .06);
}

.yoo-info-pop[hidden] {
    display: none !important;
}

.yoo-info-pop-title {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.yoo-info-pop-body {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #4b5563;
    word-break: break-word;
}

.yoo-info-pop-body p {
    margin: 0 0 0.65em;
}

.yoo-info-pop-body p:last-child {
    margin-bottom: 0;
}

.yoo-info-pop-body h3,
.yoo-info-pop-body h4 {
    margin: 0.85em 0 0.35em;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.yoo-info-pop-body h3:first-child,
.yoo-info-pop-body h4:first-child {
    margin-top: 0;
}

.yoo-info-pop-body ul,
.yoo-info-pop-body ol {
    margin: 0.35em 0 0.65em;
    padding-left: 1.25em;
}

.yoo-info-pop-body li {
    margin: 0.2em 0;
}

.yoo-info-pop-body strong,
.yoo-info-pop-body b {
    font-weight: 700;
    color: #1f2937;
}

.yoo-info-pop-body em,
.yoo-info-pop-body i {
    font-style: italic;
}

.yoo-reg-program-body em {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 3px 8px;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: var(--reg-brand-dark);
    background: var(--reg-soft);
    border-radius: 99px;
}

.yoo-reg-program-body em .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.yoo-reg-program-body small {
    font-size: 12px;
    line-height: 1.55;
    color: #6b7280;
}

.yoo-reg-program-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid #fff;
    color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
}

.yoo-reg-program.is-selected {
    border-color: var(--reg-brand);
    box-shadow: 0 0 0 4px rgba(250, 166, 26, 0.15);
}

.yoo-reg-program.is-selected .yoo-reg-program-check {
    background: var(--reg-brand);
    color: #fff;
}

/* Terms */
.yoo-reg-terms {
    max-height: 340px;
    overflow-y: auto;
    padding: 18px 22px;
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
    background: #fafafa;
    border: 1px solid var(--reg-line);
    border-radius: 12px;
}

.yoo-reg-terms > :first-child { margin-top: 0; }
.yoo-reg-terms > :last-child { margin-bottom: 0; }

.yoo-reg-accept {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--reg-line);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.yoo-reg-accept input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--reg-brand);
    flex: 0 0 18px;
}

.yoo-reg-accept:has(input:checked) {
    border-color: var(--reg-brand);
    background: var(--reg-soft);
}

/* Review */
.yoo-reg-review {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yoo-reg-review-card {
    border: 1px solid var(--reg-line);
    border-radius: 14px;
    overflow: hidden;
}

.yoo-reg-review-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: #fafafa;
}

.yoo-reg-review-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.yoo-reg-review-card h3 .dashicons {
    color: var(--reg-brand);
}

.yoo-reg-review-card.is-ok header {
    background: #f0fdf4;
}

.yoo-reg-review-card.is-ok h3 .dashicons {
    color: #16a34a;
}

.yoo-reg-review-card dl {
    margin: 0;
    padding: 4px 16px;
}

.yoo-reg-review-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
}

.yoo-reg-review-row:last-child {
    border-bottom: 0;
}

.yoo-reg-review-row dt {
    color: #6b7280;
}

.yoo-reg-review-row dd {
    margin: 0;
    font-weight: 600;
    word-break: break-word;
}

.yoo-reg-muted {
    color: #9ca3af;
    font-weight: 400;
}

/* Status */
.yoo-reg-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto;
    padding: 44px 40px;
    max-width: 560px;
}

.yoo-reg-status.is-inline {
    padding: 30px 10px;
}

.yoo-reg-status-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 22px;
    background: var(--reg-soft);
    color: var(--reg-brand);
}

.yoo-reg-status-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
}

.yoo-reg-status.is-rejected .yoo-reg-status-icon {
    background: #fef2f2;
    color: var(--reg-danger);
}

.yoo-reg-status.is-approved .yoo-reg-status-icon,
.yoo-reg-status-icon.is-success {
    background: #f0fdf4;
    color: #16a34a;
}

.yoo-reg-status h2 {
    margin: 10px 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.yoo-reg-status > p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--reg-muted);
}

.yoo-reg-chip {
    display: inline-flex;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 99px;
    background: var(--reg-soft);
    color: var(--reg-brand-dark);
}

.yoo-reg-chip.is-rejected {
    background: #fef2f2;
    color: var(--reg-danger);
}

.yoo-reg-chip.is-approved {
    background: #f0fdf4;
    color: #16a34a;
}

.yoo-reg-status-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0 0 20px;
    border: 1px solid var(--reg-line);
    border-radius: 14px;
    overflow: hidden;
}

.yoo-reg-status-meta div {
    padding: 14px 16px;
    text-align: left;
}

.yoo-reg-status-meta div + div {
    border-left: 1px solid var(--reg-line);
}

.yoo-reg-status-meta dt {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9ca3af;
}

.yoo-reg-status-meta dd {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.yoo-reg-note {
    width: 100%;
    margin: 0 0 22px;
    padding: 14px 18px;
    text-align: left;
    background: var(--reg-soft);
    border-left: 4px solid var(--reg-brand);
    border-radius: 6px;
}

.yoo-reg-note strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--reg-muted);
}

.yoo-reg-note p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--reg-muted);
}

/* Error and nav */
.yoo-reg-error {
    margin: 0 36px 4px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
}

.yoo-reg-nav {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid #f1f1f1;
}

.yoo-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.yoo-reg-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.yoo-reg-btn.is-primary {
    color: #fff;
    background: var(--reg-brand);
    box-shadow: 0 6px 16px rgba(250, 166, 26, 0.3);
}

.yoo-reg-btn.is-primary:hover {
    background: var(--reg-brand-dark);
}

.yoo-reg-btn.is-secondary {
    color: var(--reg-muted);
    background: #fff;
    border-color: var(--reg-line);
}

.yoo-reg-btn.is-secondary:hover {
    border-color: #cfcfcf;
    color: var(--reg-ink);
}

.yoo-reg-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.yoo-reg-btn.is-busy .dashicons::before {
    content: "\f463";
}

.yoo-reg-btn.is-busy .dashicons {
    animation: yooRegSpin 0.9s linear infinite;
}

@keyframes yooRegSpin {
    to { transform: rotate(360deg); }
}

.yoo-register-page .yoo-admin-toast-message {
    z-index: 100000;
}

/* Mobile */
@media (max-width: 860px) {
    .yoo-reg-logo img {
        height: 64px;
    }

    .yoo-reg {
        align-items: stretch;
        padding: 0;
    }

    .yoo-reg-shell,
    .yoo-reg-shell.is-status {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
    }

    .yoo-reg-side {
        flex: 0 0 auto;
        gap: 14px;
        padding: 18px 18px 14px;
        overflow: visible;
    }

    .yoo-reg-side::after {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--reg-brand), rgba(250, 166, 26, 0));
    }

    .yoo-reg-side-copy p {
        display: none;
    }

    .yoo-reg-side-copy h1 {
        font-size: 18px;
        margin: 0;
    }

    .yoo-reg-steps {
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .yoo-reg-steps li {
        padding: 0;
        background: none !important;
    }

    .yoo-reg-steps li::after,
    .yoo-reg-step-copy {
        display: none !important;
    }

    .yoo-reg-step-dot {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .yoo-reg-side-foot {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
    }

    .yoo-reg-main {
        overflow: visible;
    }

    .yoo-reg-head {
        padding: 18px 18px 14px;
    }

    .yoo-reg-head h2 {
        font-size: 19px;
    }

    .yoo-reg-panel {
        padding: 18px;
    }

    .yoo-reg-error {
        margin: 0 18px 4px;
    }

    .yoo-reg-nav {
        padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    }

    .yoo-reg-nav .yoo-reg-btn {
        flex: 1;
    }
}

@media (max-width: 560px) {
    .yoo-reg-grid,
    .yoo-reg-sides,
    .yoo-reg-status-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .yoo-reg-status-meta div + div {
        border-left: 0;
        border-top: 1px solid var(--reg-line);
    }

    .yoo-reg-review-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .yoo-reg-otp {
        gap: 6px;
    }

    .yoo-reg-otp input {
        width: 44px;
        height: 52px;
        font-size: 20px;
    }

    .yoo-reg-status {
        padding: 30px 20px;
    }
}
