/**
 * Sparkid Onboarding — Custom CSS
 * Supplements sparkid.css (production CSS) with onboarding-specific styles.
 * Uses the same design language: purple palette, rounded inputs, lime accents, Hebrew typography.
 */

/* === Base Reset & RTL === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Ploni ML v2 AAA', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    direction: rtl;
    background: #fff;
    color: #333;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* === Step Visibility === */
.provident-form.new-post .step {
    display: none;
}
.provident-form.new-post .step.active {
    display: block;
}
.provident-form.new-post .inner-step {
    display: none;
}
.provident-form.new-post .inner-step.active {
    display: block;
}

/* === Step Description === */
.step-description {
    text-align: center;
    margin: 0 0 25px;
    padding: 0;
}
.step-description .title {
    font-family: 'Ploni Tzar ML v2 AAA', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #230E5B;
    line-height: 1.1;
    margin: 0 0 8px;
    letter-spacing: 0.25px;
}
.step-description .subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    line-height: 1.4;
    max-width: 370px;
    margin: 0 auto;
}

/* === Form Inputs === */
.provident-form.new-post .input {
    position: relative;
    margin: 0 0 15px;
    direction: rtl;
}
.provident-form.new-post .input.half {
    display: inline-block;
    width: 48%;
    vertical-align: top;
}
.provident-form.new-post .input.half:first-child {
    margin-left: 4%;
}
.provident-form.new-post .input.full {
    width: 100%;
}
.provident-form.new-post .input .input-name {
    display: block;
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: right;
}
.provident-form.new-post .input input[type="text"],
.provident-form.new-post .input input[type="email"],
.provident-form.new-post .input input[type="tel"],
.provident-form.new-post .input input[type="password"],
.provident-form.new-post .input input[type="number"],
.provident-form.new-post .input input[type="date"],
.provident-form.new-post .input select,
.provident-form.new-post .input textarea {
    width: 100%;
    height: 55px;
    padding: 0 15px;
    background: #EDE9F8;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: 'Ploni ML v2 AAA', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #333;
    direction: rtl;
    text-align: right;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.provident-form.new-post .input input::placeholder,
.provident-form.new-post .input select option:first-child {
    color: #999;
}
.provident-form.new-post .input input:focus,
.provident-form.new-post .input select:focus {
    border-color: #4A3ADB;
    background: #F5F2FF;
}

/* Error state */
.provident-form.new-post .input input.input-error,
.provident-form.new-post .input select.input-error {
    border-color: #d63031 !important;
    background-color: #fff5f5 !important;
}

/* === Password Field Eye Toggle === */
.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.password-toggle:hover {
    opacity: 0.8;
}
.input.password-wrap {
    position: relative;
}
.input.password-wrap input {
    padding-left: 45px;
}

/* === Checkbox UI === */
.checkbox-ui {
    display: flex;
    align-items: flex-start;
    margin: 12px 0;
    cursor: pointer;
}
.checkbox-ui input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #C8C4D9;
    border-radius: 4px;
    margin: 2px 0 0 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease;
}
.checkbox-ui input[type="checkbox"]:checked {
    background: #4CAF50;
    border-color: #4CAF50;
}
.checkbox-ui input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 5px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-ui label {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
    cursor: pointer;
}

/* === Navigation Buttons === */
.navigation-buttons {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 0;
    padding: 15px 0 25px;
    background: #fff;
    z-index: 99;
}
.navigation-buttons .next {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.navigation-buttons .next-button,
.navigation-buttons input[type="submit"],
.navigation-buttons .submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    padding: 2px 0 0;
    background: #230E5B;
    border: none;
    border-radius: 100px;
    font-family: 'Ploni Tzar ML v2 AAA', sans-serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.35px;
    color: #fff !important;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
    z-index: 9;
}
.navigation-buttons .next-button:hover,
.navigation-buttons .submit-button:hover {
    opacity: 0.92;
}
.navigation-buttons .next-button:active,
.navigation-buttons .submit-button:active {
    transform: scale(0.98);
}
.navigation-buttons .next-button:disabled,
.navigation-buttons .submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.navigation-buttons .back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    min-width: 55px;
    padding: 0;
    background: #fff;
    border: 1px solid #C8C4D9;
    border-radius: 150px;
    margin: 0 0 0 10px !important;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.navigation-buttons .back-button:hover {
    border-color: #4A3ADB;
}
.navigation-buttons .back-button img {
    width: 18px;
    height: 18px;
}

/* === Select Box (Yes/No Toggle) === */
/* Already in sparkid.css — this is a fallback */

/* === Notes & Warnings === */
.pilot-note {
    display: block;
    max-width: 370px;
    margin: 10px auto;
    padding: 17px 10px;
    background: #FFF1C6;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 5px;
    text-align: center;
    color: #333;
}

.form-notes {
    padding: 0 20px;
}
.form-notes .error {
    margin: 5px 0;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: #AF2828;
    background: #FFD6D6;
    border: 1px solid #D13B3B;
    border-radius: 5px;
}
.form-notes .note {
    margin: 5px 0;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    background: #FFF1C6;
    border-radius: 5px;
}

/* === Tooltip Toggle === */
.toggle-tooltip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4A3ADB;
    cursor: pointer;
    border-bottom: 1px dashed #4A3ADB;
    transition: color 0.2s;
}
.toggle-tooltip:hover {
    color: #230E5B;
}

/* === Investment Card === */
.investment-card {
    position: relative;
    margin: 0 0 20px;
    padding: 20px;
    border: 2px solid #97D513;
    border-radius: 15px;
    background: #F9FFEC;
}
.investment-card .badge {
    position: absolute;
    top: -1px;
    left: 15px;
    padding: 4px 15px;
    background: #C8FF00;
    border-radius: 0 0 8px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.investment-card .check-icon {
    width: 30px;
    height: 30px;
    margin: 0 0 10px;
}
.investment-card .card-title {
    font-size: 22px;
    font-weight: 600;
    color: #230E5B;
    margin: 0 0 5px;
}
.investment-card .card-info {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}
.investment-card .card-note {
    font-size: 15px;
    color: #555;
    text-align: center;
    line-height: 1.4;
}

/* === Routes Toggle (Expand Investment Tracks) === */
.routes-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    padding: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: #4A3ADB;
}
.routes-toggle .arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}
.routes-toggle .arrow.rotated {
    transform: rotate(180deg);
}

/* === Investment Selection Panel === */
.inv-seletion {
    display: none;
    padding: 0 0 20px;
    border-top: 1px solid #EBE9F5;
}
.inv-seletion .section-title {
    font-size: 17px;
    font-weight: 600;
    color: #230E5B;
    margin: 20px 0 10px;
}
.inv-seletion .input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #EBE9F5;
}
.inv-seletion .input .maslul {
    flex: 1;
    cursor: pointer;
}
.inv-seletion .input .maslul .maslul-display-name {
    font-size: 15px;
    font-weight: 400;
    color: #333;
}
.inv-seletion .input .maslul .maslul-number {
    font-size: 13px;
    color: #888;
}
.inv-seletion .investment-select {
    width: 90px;
    height: 40px;
    padding: 0 8px;
    background: #EDE9F8;
    border: 1px solid #C8C4D9;
    border-radius: 8px;
    font-family: 'Ploni ML v2 AAA', sans-serif;
    font-size: 16px;
    color: #333;
    text-align: center;
    direction: ltr;
}

/* Total Counter */
.investment-total-counter {
    display: block;
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
}
.investment-total-counter.valid {
    background: #E8FFE8;
    color: #2E7D32;
}
.investment-total-counter.invalid {
    background: #FFF0F0;
    color: #D63031;
}

/* === Disclosure text === */
.disclosure-text {
    margin: 25px 0 15px;
    padding: 15px;
    border-top: 1px solid #EBE9F5;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: center;
}
.disclosure-text strong {
    color: #333;
}

/* === File Upload === */
.file-uploade-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 8px 0;
    padding: 15px;
    background: #FDFDE6;
    border: 2px dashed #E0D99A;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.file-uploade-button:hover {
    border-color: #97D513;
    background: #F9FFEC;
}
.file-uploade-button .upload-icon {
    width: 22px;
    height: 22px;
    opacity: 0.6;
}
.file-uploade-button .placeholder {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}
.file-uploade-button.uploaded {
    background: #E8FFE8;
    border-color: #4CAF50;
    border-style: solid;
}
.file-uploade-button.uploaded .placeholder {
    color: #2E7D32;
}
.file-uploade-button.error {
    background: #FFF5F5;
    border-color: #D63031;
    border-style: solid;
}

.upload-progress {
    width: 100%;
    height: 4px;
    background: #EDE9F8;
    border-radius: 2px;
    margin: 5px 0;
    overflow: hidden;
}
.upload-progress .bar {
    height: 100%;
    background: #4A3ADB;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.upload-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0;
    font-size: 14px;
}
.upload-status.success { color: #2E7D32; }
.upload-status.error { color: #D63031; }

.id-upload-section {
    margin: 0 0 25px;
    padding: 0 0 20px;
    border-bottom: 1px solid #EBE9F5;
}
.id-upload-section:last-child {
    border-bottom: none;
}
.id-upload-section .person-name {
    font-size: 20px;
    font-weight: 600;
    color: #230E5B;
    margin: 0 0 5px;
    text-align: right;
}
.id-upload-section .upload-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin: 0 0 10px;
}

/* === Signature === */
.sig-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 70px;
    margin: 10px 0;
    padding: 15px;
    background: #F5F2FF;
    border: 2px dashed #C8C4D9;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400;
    color: #4A3ADB;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}
.sig-btn:hover {
    border-color: #4A3ADB;
    background: #EDE9F8;
}
.sig-btn small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #888;
    margin-top: 3px;
}
.sig-btn.signed {
    border-color: #4CAF50;
    border-style: solid;
    background: #E8FFE8;
    color: #2E7D32;
}

.signature-preview {
    display: none;
    margin: 5px 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #EBE9F5;
    border-radius: 8px;
    text-align: center;
}
.signature-preview svg {
    max-width: 200px;
    max-height: 60px;
}

/* Signature Popup */
.signature-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}
.signature-popup.show {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}
.signature-popup .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
.signature-popup .popup-content {
    position: relative;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 25px 20px 30px;
    max-height: 85vh;
    overflow: auto;
    z-index: 2;
}
.signature-popup .popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px;
}
.signature-popup .popup-header img {
    width: 22px;
    height: 22px;
}
.signature-popup .signer-name {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #230E5B;
    margin: 5px 0 10px;
}
.signature-popup .instruction {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.4;
}
.signature-popup .warning-box {
    margin: 0 0 15px;
    padding: 12px 15px;
    background: #FFF1C6;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.4;
}
.signature-popup canvas {
    display: block;
    width: 100%;
    max-width: 350px;
    height: 200px;
    margin: 0 auto 15px;
    border: 2px solid #E0D99A;
    border-radius: 10px;
    background: #FFFEF5;
    touch-action: none;
}
.signature-popup .popup-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.signature-popup .clear-signature {
    font-size: 15px;
    font-weight: 400;
    color: #4A3ADB;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}
.signature-popup .confirm-signature {
    flex: 1;
    height: 55px;
    background: #230E5B;
    border: none;
    border-radius: 100px;
    font-family: 'Ploni Tzar ML v2 AAA', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.25px;
}

/* === Bank Dropdown === */
.provident-form.new-post .input select {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath d="M1 1l5 5 5-5" stroke="%23666" stroke-width="1.5" fill="none"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 35px;
}

/* === Declarations Section === */
.declaration-section {
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid #EBE9F5;
}
.declaration-section:last-child {
    border-bottom: none;
}
.declaration-section .section-title {
    font-size: 19px;
    font-weight: 600;
    color: #230E5B;
    margin: 0 0 8px;
}
.declaration-section .section-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
}

/* === Signatures Section === */
.signatures-section .section-title {
    font-size: 19px;
    font-weight: 600;
    color: #230E5B;
    margin: 20px 0 5px;
}
.signatures-section .section-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0 0 15px;
    line-height: 1.4;
}
.parent-signatures {
    margin: 0 0 25px;
}
.parent-signatures .parent-sig-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
}

/* === Review Step === */
.review-description {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 20px;
    text-align: center;
}

.final-checkboxes {
    margin: 20px 0;
    padding: 15px;
    background: #F5F2FF;
    border-radius: 10px;
}
.final-checkboxes .checkbox-ui {
    margin: 12px 0;
    padding: 8px 0;
    border-bottom: 1px solid #EBE9F5;
}
.final-checkboxes .checkbox-ui:last-child {
    border-bottom: none;
}

.submit-button.final-submit {
    background: linear-gradient(135deg, #4A3ADB, #230E5B) !important;
    font-size: 26px !important;
}

/* === Image Upload (Child Photo) === */
.image-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px dashed #C8C4D9;
    border-radius: 15px;
    background: #F5F2FF;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    margin: 0 0 15px;
}
.image-upload-area:hover {
    border-color: #4A3ADB;
}
.image-upload-area .camera-icon {
    width: 50px;
    height: 50px;
    margin: 0 0 10px;
    opacity: 0.5;
}
.image-upload-area .upload-text {
    font-size: 15px;
    font-weight: 400;
    color: #555;
}
.image-upload-area .upload-hint {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.image-preview {
    display: none;
    text-align: center;
    margin: 0 0 15px;
}
.image-preview img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #97D513;
}
.image-preview .remove-photo {
    display: block;
    margin: 10px auto 0;
    font-size: 14px;
    color: #D63031;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

/* === Secured Note === */
.secured-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}
.secured-note img {
    width: 18px;
    height: 18px;
}

/* === Address Fields Wrapper === */
.address-fields-wrap {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}
.address-fields-wrap.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

/* === Additional Note === */
.info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 15px 0;
    padding: 12px 15px;
    background: #F5F2FF;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.info-note img {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* === Gender Toggle === */
.gender-toggle {
    display: flex;
    gap: 10px;
}
.gender-toggle .radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: 2px solid #C8C4D9;
    border-radius: 100px;
    font-size: 17px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}
.gender-toggle .radio-option.active {
    border-color: #97D513;
    background: #F1FEC6;
}
.gender-toggle .radio-option input {
    display: none;
}

/* === Existing Fund Sections === */
.exists-box,
.not-exists-box {
    display: none;
}
.exists-box.active,
.not-exists-box.active {
    display: block;
}

/* === Harshaa (bank authorization explanation) === */
.harshaa-list .item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.4;
}
.harshaa-list .item .star-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
}

/* === Autocomplete Dropdown === */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #C8C4D9;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
}
.autocomplete-dropdown.active {
    display: block;
}
.autocomplete-dropdown .autocomplete-item {
    padding: 10px 15px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}
.autocomplete-dropdown .autocomplete-item:hover,
.autocomplete-dropdown .autocomplete-item.active {
    background: #F5F2FF;
}

/* === Divorcee/Hide logic === */
.hide-if-divorced {
    transition: opacity 0.3s ease;
}
.hide-if-divorced.hidden {
    display: none !important;
}

/* === Form Document Viewer (Step 8) === */
.form-viewer-container {
    margin: 0 0 25px;
    border: 3px solid #E7E5E5;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
}
.form-viewer-container::-webkit-scrollbar {
    width: 4px;
}
.form-viewer-container::-webkit-scrollbar-thumb {
    background: #C8C4D9;
    border-radius: 2px;
}

/* === Step Transitions === */
.step {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Auto-save indicator === */
.auto-save-indicator {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: rgba(35, 14, 91, 0.85);
    color: #fff;
    font-size: 13px;
    border-radius: 20px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.auto-save-indicator.show {
    opacity: 1;
}

/* === Mobile Responsive (Already mobile-first, ensure small screens) === */
@media (max-width: 375px) {
    .step-description .title {
        font-size: 26px;
    }
    .navigation-buttons .next-button {
        font-size: 24px;
        height: 55px;
    }
    .provident-form.new-post .input.half {
        width: 47%;
    }
}

@media (min-width: 768px) {
    .registration-popup-ui {
        max-width: 500px;
        margin: 0 auto;
    }
    .progress-steps {
        max-width: 460px;
        margin: 0 auto;
    }
}

/* === Loading spinner === */
.sparkid-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === Success Screen === */
.step-success {
    text-align: center;
    padding: 40px 20px;
}
.step-success .big-title {
    font-family: 'Ploni Tzar ML v2 AAA', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #230E5B;
    margin: 20px 0 10px;
}
.step-success .success-content {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}
