/* ============================================================
    ROOT VARIABLES
============================================================ */
:root {
    --primary-color: #1f1e30;
    --secondary-color: #adcb43ff;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --dark-color: #1a252f;
    --light-bg: #f8f9fa;
    --text-primary: #2c3e50;
    --text-grey: #bdbdbdff;
    --text-gray: #6c757d;
    --text-secondary: #90996e;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-color: #e2e8f0;
    --surface: #ffffff;
    --bg-app: #f1f3f7;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

/* ============================================================
    GLOBAL
============================================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-app);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
    APP SHELL — Top bar / Sidebar feel
============================================================ */
.app-shell {
    min-height: 100vh;
}

.app-topbar {
    background: var(--primary-color);
    padding: 0 1.5rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.app-topbar .brand {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.app-topbar .brand-icon {
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
}

.app-topbar .topbar-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-grey);
    font-size: 0.78rem;
}

.app-topbar .topbar-meta .divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

.app-topbar .topbar-badge {
    background: rgba(173, 203, 67, 0.15);
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================================
    LAYOUT
============================================================ */
.app-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

/* ============================================================
    PAGE HEADER
============================================================ */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header .breadcrumb-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.page-header .breadcrumb-line i {
    font-size: 0.65rem;
    color: var(--text-grey);
}

.page-header .breadcrumb-line .current {
    color: var(--primary-color);
    font-weight: 600;
}

.page-header h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.page-header .subtitle {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* ============================================================
       STEP PROGRESS BAR
       ============================================================ */
.step-progress-container {
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.step-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.step-progress-header .label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.step-progress-header .step-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--light-bg);
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.progress-track {
    height: 6px;
    background: #eef0f3;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #c5e05a);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 11%;
}

/* ============================================================
       STEP TABS
       ============================================================ */
.step-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.step-tabs::-webkit-scrollbar {
    height: 3px;
}

.step-tabs::-webkit-scrollbar-thumb {
    background: var(--text-grey);
    border-radius: 4px;
}

.step-tab {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    background: var(--surface);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
    white-space: nowrap;
    cursor: default;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.step-tab .tab-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #eef0f3;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.step-tab.active {
    border-color: var(--secondary-color);
    background: #f9fdf0;
    color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(173, 203, 67, 0.2);
}

.step-tab.active .tab-num {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.step-tab.completed {
    border-color: var(--secondary-color);
    background: #f6fbe8;
    color: var(--primary-color);
}

.step-tab.completed .tab-num {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ============================================================
       PANEL / FORM CARD
       ============================================================ */
.panel {
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: none;
    animation: panelIn 0.3s ease forwards;
}

.panel.active {
    display: block;
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: #fafbfc;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.panel-header .panel-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f6fbe8;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.panel-header h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.01em;
}

.panel-header .panel-hint {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0;
}

.panel-body {
    padding: 1.5rem;
}

.panel-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: #fafbfc;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 0.75rem;
}

.varification-status {
    padding: 0.5rem 0;
    font-weight: 600;
}

/* ============================================================
       FORM CONTROLS
       ============================================================ */
.form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.form-label .required {
    color: var(--accent-color);
    margin-left: 2px;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    background: var(--surface);
    color: var(--text-primary);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(173, 203, 67, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-grey);
    font-size: 0.82rem;
}

.form-text {
    font-size: 0.72rem;
    color: var(--text-gray);
    margin-top: 0.2rem;
}

.input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.input-group .btn-otp {
    border-radius: 0 8px 8px 0;
    border: 1.5px solid var(--secondary-color);
    border-left: none;
    color: var(--primary-color);
    background: #f6fbe8;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0 0.85rem;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.input-group .btn-otp:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ============================================================
       UPLOAD / DROPZONE
       ============================================================ */
.dropzone {
    border: 1.5px dashed #d0d7e2;
    border-radius: 8px;
    padding: 1.1rem 0.85rem;
    text-align: center;
    background: #fafbfc;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.dropzone:hover {
    border-color: var(--secondary-color);
    background: #f9fdf0;
}

.dropzone .dz-icon {
    font-size: 1.4rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.dropzone .dz-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.dropzone .dz-hint {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
}

.status-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.status-uploaded {
    background: #eef0f3;
    color: var(--text-gray);
}

.status-pending {
    background: #fef9e7;
    color: #b7791f;
}

.status-verified {
    background: #e8f8f0;
    color: var(--success-color);
}

.status-rejected {
    background: #fdecea;
    color: var(--accent-color);
}

/* ============================================================
       CHECKBOX GRID
       ============================================================ */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    background: #fafbfc;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.check-item:hover {
    border-color: var(--secondary-color);
    background: #f9fdf0;
}

.check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
    margin: 0;
}

.check-item input[type="checkbox"]:checked+span {
    font-weight: 600;
    color: var(--primary-color);
}

.check-item span {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================================
       SUMMARY ROW
       ============================================================ */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fafbfc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.45rem;
    transition: all 0.15s ease;
}

.summary-row:hover {
    border-color: var(--secondary-color);
    background: #f9fdf0;
}

.summary-row .sr-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.summary-row .sr-check {
    color: var(--success-color);
    font-size: 0.95rem;
}

.summary-row .sr-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.summary-row .btn-edit {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: 1.5px solid var(--secondary-color);
    color: var(--primary-color);
    background: var(--surface);
    transition: all 0.15s ease;
}

.summary-row .btn-edit:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ============================================================
       BUTTONS
       ============================================================ */
.btn-app {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
    border: none;
    letter-spacing: 0.01em;
}

.btn-app-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-app-primary:hover {
    background: var(--dark-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 30, 48, 0.25);
    color: #ffffff;
}

.btn-app-secondary {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-gray);
}

.btn-app-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fafbfc;
}

.btn-app-success {
    background: var(--success-color);
    color: #ffffff;
}

.btn-app-success:hover {
    background: #1e8e4f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    color: #ffffff;
}

.btn-app-success:disabled {
    background: #a0d4b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================================
       INFO BANNER
       ============================================================ */
.info-banner {
    background: #f9fdf0;
    border: 1px solid #e8f0d0;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-banner i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================================
       FLOW / PROCESS
       ============================================================ */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
}

.process-flow .pf-step {
    background: #fafbfc;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    white-space: nowrap;
}

.process-flow .pf-arrow {
    color: var(--text-grey);
    font-size: 0.7rem;
}

.process-flow .pf-step.warning {
    background: #fef9e7;
    border-color: #f9e79f;
    color: #b7791f;
}

/* ============================================================
       LEGAL CHECKLIST
       ============================================================ */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f1f3f6;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 6px;
    transition: background 0.15s ease;
}

.legal-list li:hover {
    background: #fafbfc;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* ============================================================
       FINAL BOX
       ============================================================ */
.final-box {
    background: #fafbfc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
}

.final-box .check-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.final-box .check-list .cl-item {
    font-size: 0.8rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.final-box .check-list .cl-item i {
    color: var(--success-color);
    font-size: 0.85rem;
}

/* ============================================================
       STATUS BADGE
       ============================================================ */
.status-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e8f8f0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ============================================================
       DIVIDER
       ============================================================ */
.divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.25rem 0;
    border: none;
}

/* ============================================================
       RESPONSIVE
       ============================================================ */
@media (max-width: 768px) {
    .app-main {
        padding: 1.25rem 0.85rem 3rem;
    }

    .panel-body {
        padding: 1.1rem;
    }

    .panel-header {
        padding: 0.9rem 1.1rem;
    }

    .panel-footer {
        padding: 0.85rem 1.1rem;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .panel-footer .btn-app {
        justify-content: center;
    }

    .check-grid {
        grid-template-columns: 1fr 1fr;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .step-progress-container {
        padding: 0.85rem 1rem;
    }

    .app-topbar {
        padding: 0 1rem;
    }

    .app-topbar .topbar-meta .meta-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .check-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.15rem;
    }

    .app-topbar .brand {
        font-size: 0.85rem;
    }

    .final-box .check-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
       UTILITIES
       ============================================================ */
.fw-700 {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

.text-gray {
    color: var(--text-gray);
}

.text-primary-dark {
    color: var(--primary-color);
}

.font-mono {
    font-family: var(--font-mono);
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.w-100 {
    width: 100%;
}

/* ============================================================
   ACCESSION TERMS MODAL
============================================================ */

.accession-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}


/* HEADER */

.accession-modal-header {
    border: 0;
    padding: 18px 24px;
    color: #ffffff;
    background:
        linear-gradient(135deg,
            var(--primary-color, #2563eb),
            var(--secondary-color, #0f766e));
}

.accession-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.16);

    font-size: 1.35rem;
}

.accession-modal-header .modal-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.accession-header-subtitle {
    font-size: 0.76rem;
    opacity: 0.82;
}


/* BODY */

.accession-modal-body {
    padding: 20px;
    background: #f5f7fb;
}


/* INFO */

.accession-info-card {
    padding: 16px 18px;
    margin-bottom: 16px;

    background: #ffffff;

    border: 1px solid var(--border-color, #e5e7eb);

    border-radius: 12px;
}

.accession-meta-label {
    margin-bottom: 4px;

    font-size: 0.67rem;
    font-weight: 700;

    letter-spacing: 0.07em;

    color: #8a94a6;
}

.accession-meta-value {
    font-size: 0.88rem;
    font-weight: 700;

    color:
        var(--text-primary, #1f2937);
}


/* DOCUMENT CARD */

.accession-document-card {
    overflow: hidden;

    border-radius: 14px;

    border: 1px solid var(--border-color, #e5e7eb);

    background: #ffffff;

    box-shadow:
        0 4px 18px rgba(15, 23, 42, 0.05);
}


/* DOCUMENT TOOLBAR */

.accession-document-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 14px 18px;

    border-bottom: 1px solid var(--border-color, #e5e7eb);

    background: #ffffff;
}

.accession-document-toolbar small {
    color: #7a8494;
}

.document-version {
    font-size: 0.72rem;
    color: #7a8494;
}


/* DOCUMENT */

.accession-document {
    max-height: 52vh;

    overflow-y: auto;

    padding: 32px;

    background: #ffffff;

    color:
        var(--text-primary, #1f2937);

    font-size: 0.88rem;
    line-height: 1.8;
}


/* Custom scrollbar */

.accession-document::-webkit-scrollbar {
    width: 7px;
}

.accession-document::-webkit-scrollbar-track {
    background: #f1f3f6;
}

.accession-document::-webkit-scrollbar-thumb {
    background: #c3cad5;
    border-radius: 20px;
}


/* TITLE */

.document-title-block {
    text-align: center;

    padding-bottom: 28px;

    margin-bottom: 28px;

    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.document-kicker {
    color:
        var(--primary-color, #2563eb);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.document-title-block h3 {
    margin: 8px 0 2px;

    font-size: 1.08rem;

    font-weight: 800;
}

.document-subtitle {
    font-size: 0.78rem;
    font-weight: 700;

    color: #606b7a;
}

.document-instrument {
    margin-top: 7px;

    font-size: 0.76rem;

    font-style: italic;

    color: #8a94a6;
}


/* AGREEMENT SECTION */

.agreement-section {
    margin-bottom: 28px;
}

.agreement-section h6 {
    margin-bottom: 12px;

    font-size: 0.88rem;

    font-weight: 800;

    color:
        var(--primary-color, #2563eb);
}

.agreement-section p {
    margin-bottom: 13px;
}

.agreement-section ol {
    padding-left: 22px;
}

.agreement-section li {
    margin-bottom: 10px;
}


/* SUBSECTION */

.agreement-subsection {
    padding-left: 18px;

    border-left: 3px solid var(--secondary-color, #0f766e);
}


/* FINAL NOTICE */

.accession-final-notice {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 16px;

    margin-top: 25px;

    border-radius: 12px;

    border: 1px solid rgba(37, 99, 235, 0.15);

    background:
        rgba(37, 99, 235, 0.05);
}

.notice-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        var(--primary-color, #2563eb);

    background:
        rgba(37, 99, 235, 0.10);
}


/* ACCEPTANCE CARD */

.accession-acceptance-card {
    padding: 16px;

    margin-top: 16px;

    border-radius: 12px;

    border: 1px solid rgba(15, 118, 110, 0.18);

    background:
        rgba(15, 118, 110, 0.05);
}

.acceptance-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color:
        var(--secondary-color, #0f766e);

    background:
        rgba(15, 118, 110, 0.10);

    font-size: 1.15rem;
}


/* MAIN CHECKBOX */

.terms-acceptance-box {
    padding: 15px 16px;

    border-radius: 12px;

    border: 1px solid var(--border-color, #e5e7eb);

    background: #ffffff;
}

.terms-acceptance-box .form-check {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.terms-acceptance-box .form-check-input {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    margin-top: 2px;

    cursor: pointer;
}

.terms-acceptance-box .form-check-input:checked {
    background-color:
        var(--primary-color, #2563eb);

    border-color:
        var(--primary-color, #2563eb);
}

.terms-acceptance-box .form-check-label {
    cursor: pointer;

    font-size: 0.84rem;

    font-weight: 600;

    color:
        var(--text-primary, #1f2937);
}

.terms-link {
    display: inline;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        var(--primary-color, #2563eb);

    font-weight: 700;

    text-decoration: underline;

    cursor: pointer;
}

.terms-helper {
    margin-top: 7px;
    margin-left: 24px;

    font-size: 0.72rem;

    color: #7a8494;
}


/* FOOTER */

.accession-modal-footer {
    padding: 14px 20px;

    border-top: 1px solid var(--border-color, #e5e7eb);

    background: #ffffff;
}

.accession-btn-cancel {
    padding: 9px 18px;

    color: #667085;

    border: 1px solid #d0d5dd;

    background: #ffffff;

    border-radius: 9px;
}

.accession-btn-cancel:hover {
    background: #f8fafc;
}

.accession-btn-agree {
    padding: 9px 20px;

    color: #ffffff;

    border: 0;

    border-radius: 9px;

    background:
        linear-gradient(135deg,
            var(--primary-color, #2563eb),
            var(--secondary-color, #0f766e));

    font-weight: 700;

    box-shadow:
        0 5px 14px rgba(37, 99, 235, 0.20);
}

.accession-btn-agree:hover {
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(37, 99, 235, 0.25);
}


/* MOBILE */

@media (max-width: 768px) {

    .accession-modal-body {
        padding: 12px;
    }

    .accession-document {
        padding: 20px;

        max-height: 55vh;

        font-size: 0.82rem;
    }

    .accession-document-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .accession-modal-footer {
        flex-direction: column-reverse;
    }

    .accession-modal-footer .btn {
        width: 100%;
    }

    .terms-helper {
        margin-left: 24px;
    }
}