.accident-page {
    background: #eef1f7;
    min-height: 100vh;
    padding: 28px;
}

.create-header-card,
.form-section {
    /* max-width: 980px; */
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

.create-header-card {
    padding: 28px 40px 22px;
    text-align: center;
}

.create-header-card h1 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.create-header-card p {
    color: #5f6670;
    margin-bottom: 28px;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step {
    width: 90px;
    text-align: center;
}

.step span {
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid #cfd5dc;
    background: #f7f8fa;
    color: #9aa1aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step.active span {
    background: #22b36b;
    border-color: #22b36b;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(34,179,107,.18);
}

.step strong {
    font-size: 13px;
}

.step-line {
    width: 210px;
    height: 2px;
    background: #cfd5dc;
    margin-bottom: 25px;
}

.step-line.active {
    background: #22b36b;
}

.form-section {
    overflow: hidden;
}

.section-title {
    height: 46px;
    background: #dff3ec;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    font-size: 14px;
}

.section-title i {
    width: 24px;
    height: 24px;
    background: #e9f3ff;
    color: #1473d2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.section-title small {
    color: #333;
    font-size: 13px;
}

.section-body {
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 20px;
}

.form-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.col-full {
    grid-column: 1 / -1;
}

.col-span-2 {
    grid-column: span 2;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #394150;
    margin-bottom: 8px;
}

label span {
    color: #e11d48;
}

input,
select,
textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid #dfe5ec;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 13px;
    color: #374151;
    outline: none;
    background: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #c9d0d8;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #22b36b;
    box-shadow: 0 0 0 3px rgba(34,179,107,.1);
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 38px;
}

.radio-row.wrap {
    flex-wrap: wrap;
}

.radio-row label {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 5px;
}

.radio-row input {
    width: 16px;
    min-height: 16px;
    accent-color: #22b36b;
}

textarea {
    min-height: 170px;
    padding: 14px;
    resize: vertical;
}

.upload-box {
    height: 180px;
    border: 1px dashed #cbd5df;
    border-radius: 6px;
    background: #fcfcfd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
}

.upload-box i {
    font-size: 34px;
    color: #999;
    margin-bottom: 12px;
}

.upload-box p {
    margin: 0 0 4px;
    font-weight: 700;
}

.upload-box small {
    color: #999;
}

.form-actions {
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-draft,
.btn-next {
    height: 38px;
    border: 0;
    border-radius: 4px;
    padding: 0 18px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.btn-draft {
    background: #4f8df5;
}

.btn-next {
    background: #16803d;
}

@media (max-width: 991px) {
    .form-grid,
    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .col-span-2 {
        grid-column: auto;
    }

    .step-line {
        width: 80px;
    }
}
.col-half {
    grid-column: span 3.5;
}

.input-group-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.unit-input {
    position: relative;
}

.unit-input input {
    padding-right: 58px;
}

.unit-input span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #374151;
    font-size: 13px;
}

.editor-box {
    border: 1px solid #dfe5ec;
    border-radius: 4px;
    overflow: hidden;
}

.editor-toolbar {
    height: 48px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    border-bottom: 1px solid #dfe5ec;
}

.editor-toolbar button {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #374151;
    border-radius: 4px;
}

.editor-toolbar button:hover {
    background: #e2e8f0;
}

.editor-box textarea {
    border: 0;
    min-height: 200px;
    box-shadow: none;
}

.upload-box {
    height: 220px;
}

.upload-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.upload-icon i {
    font-size: 30px;
    color: #888;
    margin: 0;
}
.step.done span {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.question-tab {
    max-width: 980px;
    /* margin: 0 auto; */
    width: 95px;
    height: 38px;
    background: #dff3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    border-radius: 4px 4px 0 0;
}

.question-card {
    /* max-width: 980px; */
    margin: 0 auto 18px;
    background: #fff;
    border-radius: 5px;
    padding: 22px 26px;
    border-left: 7px solid #dff3ec;
    box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

.question-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 20px;
    align-items: end;
}

.question-input label span {
    color: #e11d48;
    font-size: 10px;
}

.question-type {
    border-color: #2563eb;
}

.option-row {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}

.option-row.full {
    grid-template-columns: 1fr 24px;
}

.option-row label,
.option-row.full label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.option-row label input[type="text"] {
    flex: 1;
}

.option-row input[type="radio"],
.option-row input[type="checkbox"],
.yesno-row input[type="radio"] {
    width: 16px;
    min-height: 16px;
    accent-color: #22b36b;
}

.add-option {
    border: 0;
    background: transparent;
    color: #006edc;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 0;
}

.yesno-row {
    display: grid;
    grid-template-columns: 260px 1fr 70px 45px;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.yesno-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
}

.rating-select {
    width: 90px;
}

.rating-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    margin-top: 16px;
}

.rating-row div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.rating-row i {
    font-size: 22px;
}

.date-option {
    display: flex;
    align-items: center;
    gap: 16px;
}

.date-option input[type="text"] {
    width: 300px;
}

.small-upload {
    height: 220px;
}

.question-footer {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.question-footer span {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
}

.question-footer small {
    font-size: 12px;
    color: #374151;
}

.toggle-switch {
    width: 38px !important;
    height: 20px !important;
    min-height: 20px !important;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #dbe3ec;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.toggle-switch::before {
    content: "";
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 2px;
    transition: .2s;
}

.toggle-switch:checked {
    background: #22b36b;
}

.toggle-switch:checked::before {
    left: 20px;
}

.bottom-actions {
    /* max-width: 980px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-add-question,
.btn-add-section {
    height: 36px;
    border: 0;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
}

.btn-add-question {
    background: #61c486;
    color: #fff;
}

.btn-add-section {
    background: #fff;
    color: #333;
    border: 1px solid #dfe5ec;
}

@media (max-width: 991px) {
    .question-row,
    .option-row,
    .yesno-row {
        grid-template-columns: 1fr;
    }

    .date-option {
        flex-wrap: wrap;
    }

    .date-option input[type="text"] {
        width: 100%;
    }

    .bottom-actions {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
}
.step {
    text-decoration: none;
}

.step.done span {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.step.done strong {
    color: #111827;
    font-weight: 700;
}
.green-title {
    background: #16a34a !important;
    color: #fff;
}

.green-title i {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.target-desc {
    margin-bottom: 14px;
    color: #4b5563;
}

.target-filter {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
    margin-bottom: 20px;
}

.country-filter label {
    margin-bottom: 6px;
}

.target-top-check {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f4;
    margin-bottom: 18px;
}

.target-top-check label,
.country-header label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
}

.country-box {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 18px;
}

.country-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 18px;
}

.country-header strong {
    font-size: 18px;
}

.country-header span {
    color: #6b7280;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.company-item {
    height: 42px;
    border: 1px solid #dfe5ec;
    border-radius: 4px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.company-item.active {
    background: #e7f5ed;
    border-color: #cde8d8;
}

.company-item input,
.target-top-check input,
.country-header input {
    width: 16px;
    min-height: 16px;
    accent-color: #16a34a;
}

.selected-box {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 18px;
}

.selected-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.selected-tag {
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #e7f5ed;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.selected-tag i {
    cursor: pointer;
}

@media (max-width: 991px) {

    .target-filter {
        grid-template-columns: 1fr;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .target-top-check {
        flex-wrap: wrap;
    }

}

/* =========================
   APPROVAL FLOW
========================= */

.approval-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 22px;
}

.approval-head {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 22px;
}

.approval-number {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.approval-head h4 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
}

.approval-head p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.approval-table {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.approval-table-head {
    background: #e8f4ed;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1.5fr;
    padding: 18px 22px;
    font-weight: 700;
    color: #1f2937;
}

.approval-table-body {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1.5fr;
    padding: 18px 22px;
    align-items: center;
    gap: 18px;
}

.approval-table-body select {
    width: 100%;
    height: 46px;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    padding: 0 14px;
    background: #fff;
}

.approve-date {
    color: #c4c9d1;
    font-weight: 500;
}

.text-muted {
    color: #c4c9d1;
}

@media (max-width: 991px) {

    .approval-table-head {
        display: none;
    }

    .approval-table-body {
        grid-template-columns: 1fr;
    }

    .approval-card {
        padding: 18px;
    }

    .approval-head {
        flex-direction: column;
    }

}
