.wizard {
    display: flex;
}

.wizard-left {
    background: #1c1c1c;
    width: 60%;
    min-height: 100vh;
    padding: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.wizard-right {
    width: 40%;
}

.wizard-right img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gdpr-checkbox {
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
}

@media (max-width: 768px) {
    .gdpr-checkbox {
        font-size: 11px;
        gap: 5px;
    }
}

.gdpr-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    background-color: #1f2937;
    /* dark background */
    border: 2px solid #4b5563;
    /* dark border */
    border-radius: 4px;
    accent-color: #facc15;
    /* yellow accent, modern browsers only */
}

.gdpr-checkbox input[type="checkbox"]:focus {
    outline: 2px solid #facc15;
    outline-offset: 2px;
    border-radius: 3px;
}

.step-inner {
    /* justify-content: space-between;
  height: 100%; */

    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

.wizard-scrollable {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 10px;
    /* aby sa neprekrýval scrollbar s obsahom */
}

.progress-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 6px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #2c2c2c;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #f1c40f;
    border-radius: 4px 0 0 4px;
    transition: width 0.3s ease;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.form-col {
    flex: 1 1 45%;
    min-width: 240px;
}

.form-col-full {
    flex: 1 1 100%;
}

.step-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

.step-title {
    color: #f1c40f;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .step-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
}

.step-description {
    color: #dcdcdc;
    font-size: 16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .step-description {
        font-size: 11px;
        margin-bottom: 10px;
    }
}

.step-scrollable {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 10px;
}

.step-form {
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@media (max-width: 768px) {
    .form-row {
        gap: 16px;
    }
}

.form-col {
    flex: 1 1 45%;
    min-width: 240px;
}

.form-col-full {
    flex: 1 1 100%;
}

.step-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 30px;
}

label {
    color: #dcdcdc;
    font-family: var(--font-montserrat);
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
}

@media (max-width: 768px) {
    label {
        font-size: 13px;
    }
}

input:focus {
    outline: 2px solid #f1c40f;
}

input[type="text"],
input[type="date"],
select.form-control,
input.form-control {
    width: 100%;
    padding: 15px 13px;
    font-size: 14px;
    background: #2c2c2c;
    border: 1px solid #444;
    color: rgb(244, 244, 244);
    border-radius: 4px;
    margin-top: 5px;
}

@media (max-width: 768px) {

    input[type="text"],
    input[type="date"],
    select.form-control,
    input.form-control {
        font-size: 12px;
        padding: 12px 10px;
    }
}

input.form-control:focus {
    outline: 2px solid #f1c40f;
    background: #232323;
    color: #fff;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg width='16' height='16' fill='gray' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 16px 16px;
    cursor: pointer;
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.btn-yellow {
    background-color: #f1c40f;
    border: none;
    padding: 14px 24px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
    font-size: 18px;
    transition: 0.1s all;
    margin: 2px;
}

@media (max-width: 768px) {
    .btn-yellow {
        font-size: 15px;
        padding: 10px 16px;
    }
}

.portf-card.onboarding-card {
    height: auto !important;
    padding: 20px 35px !important;
    margin-bottom: 20px !important;
}

.portf-card.onboarding-card::after {
    display: none !important;
}

.portf-card-container.onboarding-card {
    align-items: stretch !important;
    justify-content: space-around !important;
    margin-top: 0 !important;
}

.portf-card-wrapper input {
    background-color: #2f2f2f;
    color: white;
}

.portf-card-wrapper input::placeholder {
    color: #ffffff9e;
    font-weight: 100;
}

.portf-card-wrapper input:focus {
    background-color: #2f2f2f66;
    color: white;
}

.btn-yellow:hover {
    background-color: #ffe476;
}

.btn-yellow:active {
    transform: scale(0.98);
    background-color: #ffe476;
}

.btn-dark {
    background-color: #333;
    border: none;
    padding: 14px 24px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
    font-size: 18px;
}

@media (max-width: 768px) {
    .btn-dark {
        font-size: 15px;
        padding: 10px 16px;
    }
}

.btn-dark:hover {
    background-color: #555;
}

/* OTP */

.step-otp-container {
    margin: 0 auto;
    padding: 60px 30px;
    background-color: #111;
    color: white;
    border-radius: 6px;
    text-align: center;
    max-width: 500px;
}

.step-otp-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #f1c40f;
    font-weight: 600;
}

.step-otp-note {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 32px;
}

.step-otp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.step-otp-input {
    padding: 14px;
    font-size: 24px;
    text-align: center;
    letter-spacing: 8px;
    border: 1px solid #444;
    background: #222;
    color: white;
    border-radius: 4px;
    max-width: 220px;
    width: 100%;
}

.step-resend-button {
    background: none;
    border: none;
    color: #999;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
}

/* 3D SCAN + ID */

.step-upload-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.step-upload-box {
    flex: 1;
    min-width: 200px;
    height: 180px;
    border: 2px dashed #555;
    border-radius: 6px;
    background: #1a1a1a;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.step-upload-box:hover {
    background-color: #222;
    border-color: #888;
}

.step-upload-box input[type="file"] {
    display: none;
}

.step-upload-content i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #f1c40f;
}

.step-upload-content span {
    font-size: 20px;
    line-height: 1.4;
}

.step-upload-content small {
    font-size: 18px;
    color: #888;
}

.step-scan-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-scan-status {
    margin-top: 12px;
    font-size: 14px;
    color: #aaa;
}

/* Accordion wrapper */
.wizard-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Accordion jednotlivý blok */
.wizard-accordion-item {
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #2c2c2c;
    overflow: hidden;
}

/* Accordion tlačidlo */
.wizard-accordion-toggle {
    width: 100%;
    background: none;
    color: #f1c40f;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    padding: 25px 30px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.2s ease;
}

.wizard-accordion-toggle:hover {
    background-color: #2a2a2a;
}

/* Accordion obsah (skrytý defaultne) */
.wizard-accordion-content {
    display: block;
    padding: 20px;
    border-top: 1px solid #444;
    background-color: #1c1c1c;
}

/* Viditeľný accordion (keď otvorený cez JS) */
.wizard-accordion-item.open .wizard-accordion-content {
    display: block;
}

/* Otázky */
.form-question {
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 25px;
    font-size: 18px;
}

/* Riadky s možnosťami */
.radio-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Karta s odpoveďou */
.radio-card {
    flex: 1;
    min-width: 150px;
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    position: relative;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card input[type="radio"]:checked+span,
.radio-card:hover span {
    color: #000;
    background-color: #f1c40f;
    border-radius: 4px;
}

.radio-card span {
    display: inline-block;
    font-weight: 500;
    padding: 4px 8px;
}

/* Znalosti a skúsenosti 2 */

.step-know-title {
    color: #f1c40f;
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.step-know-question {
    margin-bottom: 30px;
}

.step-know-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.step-know-radio-group label {
    display: flex;
    align-items: center;
    background: #222;
    border: 1px solid #444;
    padding: 20px 25px;
    border-radius: 4px;
    color: #dcdcdc;
    cursor: pointer;
    transition: 0.2s ease;
}

.step-know-radio-group label:hover {
    background-color: #2a2a2a;
}

.step-know-radio-group input[type="radio"] {
    margin-right: 10px;
}

.ciele-check {
    width: 100%;
    text-align: start;
    margin-top: 10px;
}

.ciele-check input[type="checkbox"]:checked+span {
    background-color: #f1c40f;
    color: #000;
    border-radius: 4px;
}

.ciele-check input[type="checkbox"] {
    display: none;
}

.form-percent-input {
    flex: 1;
    min-width: 180px;
}

.form-percent-input label {
    display: block;
    margin-bottom: 6px;
    margin-top: 16px;
    font-size: 14px;
    color: #ddd;
}

.form-percent-input input[type="number"] {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    border-radius: 4px;
    color: white;
}

input.form-control.nationality-other::placeholder {
    color: rgb(244, 244, 244);
    opacity: 1;
}

@media (max-width: 768px) {
    .wizard {
        flex-direction: column;
    }

    .wizard-left {
        width: 100%;
        padding: 20px 20px;
    }

    .wizard-right {
        display: none;
    }

    .step-wrapper,
    .step-scrollable {
        height: auto;
        max-height: none;
    }

    .step-buttons {
        flex-direction: row;
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 0px;
        border-top: 1px solid #333;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .step-scrollable {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-height: 680px) {
    .wizard-left {
        padding: 16px 8px;
        min-height: 100vh;
    }

    .wizard-right {
        display: none !important;
    }

    .step-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .step-description {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .step-scrollable {
        padding: 4px;
        max-height: 100%;
    }

    .step-wrapper {
        flex-grow: 0 !important;
    }

    .form-row {
        gap: 10px;
    }

    .form-col,
    .form-col-full {
        min-width: 120px;
    }

    label {
        font-size: 11px;
    }

    input[type="text"],
    input[type="date"],
    select.form-control,
    input.form-control {
        font-size: 11px;
        padding: 8px 6px;
    }

    .btn-yellow,
    .btn-dark {
        font-size: 12px;
        padding: 8px 12px;
    }

    .step-buttons {
        padding-top: 10px;
        margin-top: 10px;
    }

    .progress-wrapper {
        margin-bottom: 10px;
    }

    .progress-label {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .progress-bar {
        height: 5px;
    }

    .onb-thank-you {
        margin: 20px auto;
        padding: 10px 6px;
        max-width: 95vw;
    }

    .onb-thank-you-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .onb-thank-you-text {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .onb-thank-you-button {
        font-size: 12px;
        padding: 8px 14px;
    }

    .step-otp-container {
        padding: 20px 8px;
        max-width: 95vw;
    }

    .step-otp-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .step-otp-note {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .step-otp-input {
        font-size: 16px;
        padding: 8px;
    }

    .step-upload-box {
        min-width: 100px;
        height: 80px;
        font-size: 11px;
    }

    .step-upload-content i {
        font-size: 18px;
    }

    .step-upload-content span {
        font-size: 12px;
    }

    .step-upload-content small {
        font-size: 10px;
    }

    .form-question {
        font-size: 12px;
        margin-bottom: 8px;
        margin-top: 10px;
    }

    .radio-card {
        min-width: 80px;
        padding: 8px;
        font-size: 11px;
    }

    .wizard-accordion-toggle {
        font-size: 13px;
        padding: 10px 12px;
    }

    .wizard-accordion-content {
        padding: 8px;
    }

    .step-know-title {
        font-size: 13px;
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .step-know-question {
        margin-bottom: 10px;
    }

    .step-know-radio-group label {
        padding: 8px 10px;
        font-size: 11px;
    }

    .form-percent-input label {
        font-size: 10px;
        margin-bottom: 2px;
        margin-top: 4px;
    }

    .form-percent-input input[type="number"] {
        font-size: 11px;
        padding: 6px;
    }

    .onb-podpis {
        gap: 8px;
        margin-top: 10px;
    }

    .onb-podpis button {
        padding: 4px 10px;
        font-size: 11px;
    }
}

.errorclass {
    color: #eb5252;
    font-size: 0.8rem;
}


.onb-podpis {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.onb-podpis canvas {
    touch-action: none;
    user-select: none;
    border: 2px dashed grey;
}

.onb-podpis button {
    padding: 7px 18px;
    background: #383838;
    color: white;
    border-radius: 3px;
    font-weight: 800;
    cursor: pointer;
}


.onb-thank-you {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px 30px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.onb-thank-you-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.onb-thank-you-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.onb-thank-you-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ffd324;
    color: #000;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.onb-thank-you-button:hover {
    background-color: #e6bc00;
}