:root {
        --bg: #f5f5f5;
        --panel: #ffffff;
        --panel-2: #f3f3f3;
        --text: #111;
        --muted: #666;
        --border-soft: #e0e0e0;
        --border-strong: #b0b0b0;
        --brand: #000;
        --brand-2: #333;
        --radius: 10px;
    }
    * { box-sizing: border-box; }
    body {
        font-family: "Segoe UI", Roboto, Arial, sans-serif;
        background-image: linear-gradient(180deg, rgba(15,23,42,0.55), rgba(15,23,42,0.25)), url(images/bg_image.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        margin: 0;
        padding: 0;
        color: var(--text);
        font-size: 16px;
    }
    .wrapper {
        max-width: 960px;
        margin: 0 auto;
        padding: 24px 16px 72px;
    }
    .self-app-header {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid #cbd5e1;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        position: relative;
        z-index: 10;
    }
    .self-app-header__inner {
        max-width: 960px;
        margin: 0 auto;
        padding: 18px 16px;
        display: flex;
        align-items: center;
        gap: 18px;
    }
    .self-app-brand {
        flex: 0 0 auto;
    }
    .self-app-brand img {
        max-width: 190px;
        height: auto;
        display: block;
    }
    .self-app-title {
        flex: 1 1 auto;
        text-align: left;
    }
    .self-app-title h1 {
        font-size: 30px;
        margin: 0;
    }
    .self-app-title p {
        color: var(--muted);
        font-size: 16px;
        margin: 6px 0 0;
    }
    @media (max-width: 760px) {
        .self-app-header__inner {
            flex-direction: column;
            align-items: center;
        }
        .self-app-title {
            width: 100%;
            text-align: center;
        }
    }
    .card {
        background: var(--panel);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        overflow: hidden;
    }
    .card-header {
        background: #fafafa;
        padding: 18px 22px;
        border-bottom: 1px solid var(--border-soft);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .card-header h2 { margin: 0; font-size: 18px; font-weight: 600; }
    .card-header .note { font-size: 13px; color: var(--muted); }
    .card-body { padding: 22px; }
    fieldset {
        border: 1px solid var(--border-soft);
        border-radius: 8px;
        padding: 16px;
        background: var(--panel-2);
        margin-bottom: 16px;
    }
    legend {
        font-size: 15px;
        color: var(--muted);
        padding: 0 6px;
    }
    label {
        font-size: 15px;
        margin-bottom: 6px;
        color: var(--muted);
        display: block;
    }
    input[type=text],
    input[type=date],
    input[type=email],
    textarea,
    select {
        width: 100%;
        padding: 10px 12px;
        font-size: 15px;
        border: 1px solid var(--border-soft);
        border-radius: 8px;
        background: #fff;
    }
    input:focus,
    textarea:focus,
    select:focus {
        border-color: var(--brand);
        outline: none;
    }
    textarea { min-height: 110px; }
    .grid { display: grid; gap: 14px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    @media (min-width: 720px) {
        .grid-2 { grid-template-columns: 1fr 1fr; }
    }
    @media (min-width: 960px) {
        .grid-3 { grid-template-columns: repeat(3, 1fr); }
    }
    .check {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px dashed var(--border-soft);
        padding: 10px;
        border-radius: 8px;
        background: #fff;
        font-size: 15px;
        color: var(--text);
    }
    .check input[type="checkbox"],
    .check input[type="radio"] {
        transform: scale(1.1);
    }
    .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 20px;
        justify-content: center;
    }
    .wizard-breadcrumb {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .wizard-breadcrumb__item {
        display: inline-block;
        padding: 8px 12px;
        border-radius: 999px;
        background: #e2e8f0;
        color: #334155;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }
    .wizard-breadcrumb__item.is-active {
        background: #0f4c81;
        color: #ffffff;
    }
    .wizard-breadcrumb__item.is-complete {
        background: #16a34a;
        color: #ffffff;
    }
    .wizard-nav {
        justify-content: space-between;
    }
    #wizard_submit {
        display: none;
    }
    .required-star {
        color: #dc2626;
        font-weight: 700;
    }
    .required-note {
        margin: 0;
        font-size: 14px;
        color: #334155;
        font-weight: 600;
    }
    @media (max-width: 720px) {
        .wizard-nav .btn-primary,
        .wizard-nav .btn-secondary,
        .wizard-nav button {
            width: 100%;
        }
    }
    button, .btn-link {
        padding: 12px 18px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        border: 1px solid var(--border-soft);
        text-decoration: none;
        display: inline-block;
    }
    .btn-primary {
        background: linear-gradient(90deg, var(--brand), var(--brand-2));
        color: #fff;
    }
    .btn-secondary { background: #fff; color: var(--text); }
    .alert {
        padding: 14px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 15px;
    }
    .alert.success {
        background: #d1fae5;
        border: 2px solid #10b981;
        color: #064e3b;
        font-weight: 800;
        font-size: 18px;
    }
    .alert.error   { background: #f3f3f3; border: 1px solid #000; }
    .readonly {
        background: #e9e9e9 !important;
        color: #555 !important;
        cursor: not-allowed !important;
    }
    .self-footer {
        text-align: center;
        padding: 0 16px 24px;
        color: #e2e8f0;
        font-size: 14px;
    }
    .self-footer a {
        color: #ffffff;
        text-decoration: underline;
    }
    .self-footer a:hover {
        text-decoration: none;
    }

