:root {
    --do-bg: #f4f9fb;
    --do-surface: #ffffff;
    --do-surface-muted: #f7fbfc;
    --do-text: #16324a;
    --do-muted: #64819a;
    --do-border: #d7e6ee;
    --do-primary: #167c8b;
    --do-primary-dark: #105f6f;
    --do-accent: #2d9fb0;
    --do-highlight: #dff4f7;
    --do-success: #16996b;
    --do-warning: #c98512;
    --do-danger: #c7515b;
    --do-shadow: 0 24px 60px rgba(15, 63, 83, 0.12);
    --do-radius-xl: 28px;
    --do-radius-lg: 22px;
    --do-radius-md: 16px;
    --do-radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body.do-body {
    margin: 0;
    min-height: 100vh;
    color: var(--do-text);
    background:
        radial-gradient(circle at top left, rgba(45, 159, 176, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(22, 153, 107, 0.10), transparent 28%),
        linear-gradient(180deg, #f9fdff 0%, #eef7f9 100%);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.do-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.do-shell {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    box-shadow: var(--do-shadow);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.do-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(215, 230, 238, 0.8);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 252, 0.9));
}

.do-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.do-logo {
    max-height: 58px;
    width: auto;
}

.do-brand-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.do-brand-copy h1,
.do-brand-copy h2,
.do-brand-copy h3 {
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: normal;
}

.do-brand-copy small,
.do-top-note,
.do-muted {
    color: var(--do-muted);
}

.do-brand-copy h1,
.do-brand-copy h2,
.do-brand-copy h3,
.do-brand-copy p,
.do-hero-copy h2,
.do-section-title,
.do-card-title,
.do-step-title {
    margin: 0;
}

.do-page-body {
    padding: 28px;
}

.do-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: stretch;
}

.do-hero-main,
.do-panel,
.do-form-card,
.do-utility-card,
.do-review-card,
.do-banner-card {
    background: var(--do-surface);
    border: 1px solid var(--do-border);
    border-radius: var(--do-radius-xl);
    box-shadow: 0 12px 34px rgba(22, 63, 83, 0.08);
}

.do-hero-main {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background:
        radial-gradient(circle at top left, rgba(223, 244, 247, 0.9), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f2fbfd 100%);
}

.do-hero-main::after {
    content: "";
    position: absolute;
    inset: auto -60px -70px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 159, 176, 0.16), transparent 68%);
    pointer-events: none;
}

.do-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--do-highlight);
    color: var(--do-primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.do-hero-copy {
    max-width: 640px;
    margin-top: 18px;
}

.do-hero-copy h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.do-hero-copy p {
    margin-top: 14px;
    color: var(--do-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.do-hero-actions,
.do-action-grid,
.do-inline-actions,
.do-footer-actions,
.do-review-grid,
.do-stats-grid,
.do-quick-grid,
.do-utility-grid,
.do-info-grid,
.do-detail-grid,
.do-summary-grid {
    display: grid;
    gap: 16px;
}

.do-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
}

.do-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.do-stat {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(215, 230, 238, 0.9);
}

.do-stat strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.do-panel {
    padding: 26px;
}

.do-panel + .do-panel,
.do-form-card + .do-form-card {
    margin-top: 20px;
}

.do-card-title,
.do-section-title,
.do-step-title {
    font-size: 1.22rem;
    font-weight: 800;
}

.do-card-subtitle,
.do-section-subtitle {
    margin-top: 8px;
    color: var(--do-muted);
    line-height: 1.7;
}

.do-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.do-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef7f9;
    color: var(--do-primary-dark);
    font-size: 0.94rem;
    font-weight: 600;
}

.do-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.do-action-card,
.do-utility-card,
.do-quick-card,
.do-info-card,
.do-service-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--do-radius-lg);
    border: 1px solid var(--do-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
    box-shadow: 0 12px 30px rgba(14, 67, 89, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.do-action-card:hover,
.do-utility-card:hover,
.do-quick-card:hover,
.do-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(14, 67, 89, 0.1);
    border-color: rgba(22, 124, 139, 0.35);
}

.do-action-card {
    padding: 22px;
}

.do-icon-badge {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #dff4f7 0%, #ecfbf7 100%);
    color: var(--do-primary);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.do-action-card h3,
.do-utility-card h3,
.do-quick-card h3,
.do-service-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.do-action-card p,
.do-utility-card p,
.do-quick-card p,
.do-service-card p,
.do-info-card p {
    color: var(--do-muted);
    line-height: 1.7;
    margin: 0;
}

.do-section {
    margin-top: 30px;
}

.do-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.do-quick-grid,
.do-utility-grid,
.do-info-grid,
.do-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.do-quick-card,
.do-info-card,
.do-utility-card,
.do-service-card {
    padding: 22px;
}

.do-info-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfefe 100%);
}

.do-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(22, 124, 139, 0.08);
    color: var(--do-primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.do-search-box {
    position: relative;
    margin-top: 18px;
}

#hasil_pencarian {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--do-border);
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(14, 67, 89, 0.15);
    max-height: 260px;
    overflow-y: auto;
    z-index: 1050;
}

#daftar-autocomplete li.autocomplete_active {
    background-color: #eff8fb;
}

.do-banner-card {
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 251, 0.95));
}

.do-banner-card a {
    color: var(--do-primary-dark);
    font-weight: 700;
}

.do-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.95fr);
    gap: 24px;
}

.do-form-card {
    padding: 24px;
}

.do-stepper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.do-stepper-item {
    flex: 1 1 0;
    min-width: 150px;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid var(--do-border);
    background: #f9fdff;
    color: var(--do-muted);
    transition: all 0.18s ease;
}

.do-stepper-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e6f1f4;
    color: var(--do-primary-dark);
    font-weight: 800;
}

.do-stepper-item.is-active {
    background: linear-gradient(135deg, #f2fbfd, #ffffff);
    border-color: rgba(22, 124, 139, 0.32);
    color: var(--do-text);
}

.do-stepper-item.is-active .do-stepper-number,
.do-stepper-item.is-complete .do-stepper-number {
    background: linear-gradient(135deg, var(--do-primary), var(--do-success));
    color: #fff;
}

.do-stepper-item.is-complete {
    border-color: rgba(22, 153, 107, 0.26);
    color: var(--do-text);
}

.do-wizard-step {
    display: none;
}

.do-wizard-step.is-active {
    display: block;
}

.do-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.do-fields-grid.one-col {
    grid-template-columns: minmax(0, 1fr);
}

.do-field-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.do-field-block.full {
    grid-column: 1 / -1;
}

.do-field-block label,
.do-field-block .do-label {
    font-size: 0.94rem;
    font-weight: 700;
}

.do-field-block small {
    color: var(--do-muted);
}

.do-field-block .form-control,
.do-field-block .form-select,
.do-field-block .select2-selection {
    min-height: 50px;
    border-radius: 14px !important;
    border: 1px solid #cfe0e8 !important;
    background: #fbfeff;
}

.do-field-block textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 16px !important;
    color: var(--do-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.do-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.do-radio-card {
    flex: 1 1 180px;
    position: relative;
}

.do-radio-card input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.do-radio-card span {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--do-border);
    background: #fbfeff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.do-radio-card input:checked + span {
    border-color: rgba(22, 124, 139, 0.38);
    background: rgba(223, 244, 247, 0.78);
    color: var(--do-primary-dark);
}

.do-inline-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.do-footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.do-review-card {
    padding: 22px;
    position: sticky;
    top: 20px;
}

.do-review-item {
    padding: 14px 0;
    border-bottom: 1px solid #e9f1f4;
}

.do-review-item:last-child {
    border-bottom: 0;
}

.do-review-item span {
    display: block;
    color: var(--do-muted);
    font-size: 0.86rem;
    margin-bottom: 4px;
}

.do-review-item strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.6;
}

.do-summary-grid {
    margin-top: 18px;
}

.do-summary-card {
    padding: 16px;
    border-radius: 18px;
    background: #f9fdff;
    border: 1px solid #dcebf1;
}

.do-summary-card span {
    display: block;
    color: var(--do-muted);
    margin-bottom: 6px;
    font-size: 0.86rem;
}

.do-summary-card strong {
    display: block;
    line-height: 1.7;
}

.do-accordion-note {
    border: 1px dashed rgba(22, 124, 139, 0.28);
    background: #f8fcfd;
    border-radius: 16px;
    padding: 16px 18px;
}

.do-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    color: var(--do-muted);
}

.do-breadcrumb a {
    color: var(--do-primary-dark);
    text-decoration: none;
}

.do-alert {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.do-alert-success {
    background: rgba(22, 153, 107, 0.10);
    border-color: rgba(22, 153, 107, 0.18);
}

.do-alert-warning {
    background: rgba(201, 133, 18, 0.10);
    border-color: rgba(201, 133, 18, 0.18);
}

.do-alert-danger {
    background: rgba(199, 81, 91, 0.10);
    border-color: rgba(199, 81, 91, 0.18);
}

.do-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.18s ease;
}

.do-btn:hover {
    transform: translateY(-1px);
}

.do-btn-primary {
    background: linear-gradient(135deg, var(--do-primary), var(--do-accent));
    color: #fff;
    box-shadow: 0 16px 28px rgba(22, 124, 139, 0.22);
}

.do-btn-primary:hover,
.do-btn-primary:focus {
    color: #fff;
}

.do-btn-soft {
    background: #eff8fb;
    border-color: #d3e8ef;
    color: var(--do-primary-dark);
}

.do-btn-outline {
    background: #fff;
    border-color: #d6e7ee;
    color: var(--do-text);
}

.do-btn-danger {
    background: #fff2f3;
    border-color: #f4d0d4;
    color: #9d3244;
}

.do-link-arrow {
    color: var(--do-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.do-table-wrap {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--do-border);
    background: #fff;
}

.do-modal-title {
    font-weight: 800;
}

.do-kv {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #edf4f6;
}

.do-kv:last-child {
    border-bottom: 0;
}

.do-kv span {
    color: var(--do-muted);
}

.do-kv strong {
    text-align: right;
}

@media (max-width: 991.98px) {
    .do-hero,
    .do-form-layout,
    .do-quick-grid,
    .do-utility-grid,
    .do-info-grid,
    .do-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .do-review-card {
        position: static;
    }

    .do-stats-grid,
    .do-action-grid,
    .do-inline-actions,
    .do-footer-actions,
    .do-hero-actions,
    .do-fields-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .do-page {
        width: min(100% - 20px, 1180px);
        padding-top: 12px;
    }

    .do-shell {
        border-radius: 24px;
    }

    .do-header,
    .do-page-body,
    .do-hero-main,
    .do-panel,
    .do-form-card,
    .do-review-card {
        padding: 18px;
    }

    .do-brand {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .do-brand-copy {
        width: 100%;
    }

    .do-brand-copy h1,
    .do-brand-copy h2,
    .do-brand-copy h3 {
        font-size: 1.06rem;
        line-height: 1.35;
        white-space: normal;
    }

    .do-header {
        flex-direction: column;
        align-items: start;
    }

    .do-hero-copy h2 {
        font-size: 2rem;
    }

    .do-stepper {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        margin-inline: -4px;
        padding-inline: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .do-stepper-item {
        flex: 0 0 220px;
        min-width: 220px;
        scroll-snap-align: start;
    }

    .do-stepper::-webkit-scrollbar {
        height: 6px;
    }

    .do-stepper::-webkit-scrollbar-thumb {
        background: rgba(22, 124, 139, 0.28);
        border-radius: 999px;
    }

    .do-stepper-item .small {
        line-height: 1.3;
    }
}
