/* --- SCOPED CSS FOR DEALER MANAGEMENT TRAINING PROGRAM (DESIGN ONLY) --- */

.dmtp-wrapper {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 90px;
}

/* Header */
.dmtp-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.dmtp-header-review {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.dmtp-header-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 6px 0 0 0;
}

.dmtp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dmtp-btn-header-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

    .dmtp-btn-header-outline:hover {
        background-color: #f8fafc;
    }

/* --- Stepper --- */
.dmtp-stepper-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dmtp-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.dmtp-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    background: none;
    border-width: 0;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s, color 0.2s;
}

.dmtp-step-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.dmtp-step-pending {
    color: #94a3b8;
}

.dmtp-step-active {
    background-color: #ecfdf5;
    color: #166534;
}

    .dmtp-step-active .dmtp-step-circle {
        background-color: #166534;
        color: #ffffff;
    }

.dmtp-step-done {
    background-color: #166534;
    color: #ffffff;
}

    .dmtp-step-done .dmtp-step-circle {
        background-color: #ffffff;
        color: #166534;
    }

/* --- Generic Card --- */
.dmtp-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dmtp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 18px 0;
}

.dmtp-no-margin {
    margin: 0;
}

/* --- Approved CSR-1 Plan --- */
.dmtp-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 24px;
}

.dmtp-plan-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dmtp-plan-label {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

.dmtp-plan-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.dmtp-plan-item-highlight {
    background-color: #ecfdf5;
    border-radius: 8px;
    padding: 10px 14px;
}

    .dmtp-plan-item-highlight .dmtp-plan-value {
        color: #166534;
    }

/* --- Focus Details --- */
.dmtp-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dmtp-focus-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Shared Form Elements --- */
.dmtp-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dmtp-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dmtp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ecfdf5;
    color: #166534;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
}

.dmtp-tag-x {
    cursor: pointer;
    color: #166534;
}

.dmtp-form-control,
.dmtp-form-select {
    width: 100%;
    appearance: none;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #94a3b8;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.dmtp-form-select {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.dmtp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dmtp-input-icon {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    pointer-events: none;
}

/* --- Actual Event Date --- */
.dmtp-event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dmtp-span-2 {
    grid-column: span 2;
}

/* --- Participants Heading --- */
.dmtp-participants-heading h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.dmtp-participants-heading p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* --- Stat Cards --- */
.dmtp-stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dmtp-stat-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dmtp-stat-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .dmtp-stat-text p {
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        color: #64748b;
    }

    .dmtp-stat-text h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1;
    }

.dmtp-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dmtp-stat-icon-blue {
    background-color: #eff6ff;
    color: #3b82f6;
}

.dmtp-stat-icon-purple {
    background-color: #f5f3ff;
    color: #8b5cf6;
}

.dmtp-stat-icon-green {
    background-color: #ecfdf5;
    color: #10b981;
}

/* --- Participant / Employee List --- */
.dmtp-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.dmtp-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #166534;
    border: 1px solid #166534;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

    .dmtp-btn-add:hover {
        background-color: #14532d;
    }

.dmtp-filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.dmtp-people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.dmtp-person-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 10px 14px;
}

.dmtp-person-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ecfdf5;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.dmtp-person-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.dmtp-person-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.dmtp-person-phone {
    font-size: 12px;
    color: #94a3b8;
}

.dmtp-role-badge {
    background-color: #ecfdf5;
    color: #166534;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.dmtp-icon-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

    .dmtp-icon-btn:hover {
        opacity: 0.7;
    }

.dmtp-icon-edit {
    color: #3b82f6;
}

.dmtp-icon-delete {
    color: #ef4444;
}

/* --- Pagination --- */
.dmtp-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dmtp-pagination-text {
    font-size: 13px;
    color: #64748b;
}

.dmtp-page-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dmtp-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

    .dmtp-page-btn:hover:not(.dots) {
        background-color: #f8fafc;
    }

    .dmtp-page-btn.active {
        background-color: #ecfdf5;
        border-color: #bbf7d0;
        font-weight: 600;
        color: #166534;
    }

    .dmtp-page-btn.dots {
        border: none;
        background: transparent;
        cursor: default;
    }

/* --- Expected Participants Count --- */
.dmtp-expected-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dmtp-expected-text p {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.dmtp-expected-input {
    width: 200px;
    max-width: 100%;
}

/* --- Bottom Action Bar --- */
.dmtp-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
}

.dmtp-action-note {
    font-size: 13px;
    color: #64748b;
}

.dmtp-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dmtp-btn-not-organized {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-btn-not-organized:hover {
        background-color: #fef2f2;
    }

.dmtp-btn-start-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #166534;
    border: 1px solid #166534;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-btn-start-event:hover {
        background-color: #14532d;
    }

.dmtp-btn-previous {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-btn-previous:hover {
        background-color: #f8fafc;
    }

.dmtp-btn-save-draft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-btn-save-draft:hover {
        background-color: #f8fafc;
    }

.dmtp-action-note-success {
    color: #166534;
    font-weight: 600;
}

/* --- Budget Summary Cards (Expense & Review steps) --- */
.dmtp-budget-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dmtp-budget-summary-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.dmtp-budget-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
    border-left-style: solid;
    padding: 16px 18px;
}

.dmtp-budget-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dmtp-budget-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.dmtp-budget-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.dmtp-budget-note {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dmtp-mini-badge {
    background-color: #dcfce7;
    color: #166534;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}

.dmtp-budget-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.dmtp-budget-green {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 60%);
}

    .dmtp-budget-green .dmtp-budget-value,
    .dmtp-budget-green .dmtp-budget-icon {
        color: #166534;
    }

.dmtp-budget-pink {
    border-left-color: #ec4899;
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 60%);
}

    .dmtp-budget-pink .dmtp-budget-value,
    .dmtp-budget-pink .dmtp-budget-icon {
        color: #db2777;
    }

.dmtp-budget-blue {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}

    .dmtp-budget-blue .dmtp-budget-value,
    .dmtp-budget-blue .dmtp-budget-icon {
        color: #1d4ed8;
    }

.dmtp-budget-orange {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 60%);
}

    .dmtp-budget-orange .dmtp-budget-value,
    .dmtp-budget-orange .dmtp-budget-icon {
        color: #b45309;
    }

.dmtp-budget-purple {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 60%);
}

    .dmtp-budget-purple .dmtp-budget-value,
    .dmtp-budget-purple .dmtp-budget-icon {
        color: #6d28d9;
    }

/* --- Review Banner --- */
.dmtp-review-banner {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #10b981;
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dmtp-review-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dmtp-review-pill {
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

.dmtp-pill-blue {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.dmtp-pill-green {
    background-color: #ecfdf5;
    color: #166534;
}

.dmtp-pill-gray {
    background-color: #f1f5f9;
    color: #475569;
}

.dmtp-review-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.dmtp-review-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
}

/* --- Photos & Videos step --- */
.dmtp-dropzone {
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background-color: #f8fafc;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 20px;
}

.dmtp-dropzone-icon {
    color: #166534;
    margin-bottom: 6px;
}

.dmtp-dropzone-title {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.dmtp-dropzone-sub {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 12px 0;
}

.dmtp-dropzone-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.dmtp-btn-outline-plain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #166534;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-btn-outline-plain:hover {
        background-color: #ecfdf5;
    }

.dmtp-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dmtp-photo-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dmtp-photo-thumb {
    height: 130px;
    border-radius: 8px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dmtp-photo-filename {
    font-size: 12px;
    color: #64748b;
}

.dmtp-photo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dmtp-toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #334155;
    font-weight: 500;
}

.dmtp-toggle {
    width: 32px;
    height: 18px;
    border-radius: 20px;
    background-color: #e2e8f0;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

    .dmtp-toggle::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: #ffffff;
        transition: transform 0.2s;
    }

    .dmtp-toggle.on {
        background-color: #10b981;
    }

        .dmtp-toggle.on::after {
            transform: translateX(14px);
        }

.dmtp-link-remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    cursor: pointer;
}

/* --- Activities step --- */
.dmtp-card-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.dmtp-list-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dmtp-count-pill {
    background-color: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.dmtp-new-activity-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

    .dmtp-new-activity-box h4 {
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        margin: 0 0 14px 0;
    }

.dmtp-quickfill-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dmtp-quickfill-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.dmtp-quickfill-chip {
    background-color: #f1f5f9;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
}

.dmtp-activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.dmtp-optional {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

.dmtp-new-activity-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.dmtp-btn-cancel-neutral {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-btn-cancel-neutral:hover {
        background-color: #f8fafc;
    }

.dmtp-activity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dmtp-activity-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
}

.dmtp-activity-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #ecfdf5;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.dmtp-activity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.dmtp-activity-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.dmtp-activity-number {
    font-weight: 500;
    color: #94a3b8;
}

.dmtp-activity-desc {
    font-size: 12px;
    color: #64748b;
}

.dmtp-activity-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

    .dmtp-activity-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

.dmtp-activity-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* --- Expense & Proof step --- */
.dmtp-expense-subtitle {
    margin-top: -12px;
    margin-bottom: 18px;
}

.dmtp-expense-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 32px;
    margin-bottom: 18px;
}

.dmtp-expense-item {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.dmtp-expense-amount {
    flex: 1;
    min-width: 0;
}

.dmtp-expense-date {
    flex: 1;
    min-width: 0;
}

.dmtp-btn-upload-proof {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #1e293b;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: background-color 0.2s;
}

    .dmtp-btn-upload-proof:hover {
        background-color: #0f172a;
    }

.dmtp-expense-others {
    max-width: 100%;
}

/* --- Review & Submit step --- */
.dmtp-review-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.dmtp-review-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.dmtp-center-title {
    flex: 1;
    text-align: center;
}

.dmtp-objective-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .dmtp-objective-box p {
        font-size: 13px;
        color: #334155;
        margin: 0;
        line-height: 1.5;
    }

.dmtp-attendance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.dmtp-attendance-card {
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.dmtp-attendance-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.dmtp-attendance-green {
    background-color: #ecfdf5;
}

.dmtp-attendance-blue {
    background-color: #eff6ff;
}

.dmtp-attendance-orange {
    background-color: #fff7ed;
}

.dmtp-attendance-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #475569;
}

    .dmtp-attendance-legend span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

.dmtp-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dmtp-legend-green {
    background-color: #10b981;
}

.dmtp-legend-blue {
    background-color: #3b82f6;
}

.dmtp-legend-purple {
    background-color: #8b5cf6;
}

.dmtp-legend-orange {
    background-color: #f59e0b;
}

.dmtp-btn-edit-outline {
    background-color: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #166534;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

    .dmtp-btn-edit-outline:hover {
        background-color: #ecfdf5;
    }

.dmtp-review-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.dmtp-review-photo-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dmtp-review-photo-thumb {
    height: 110px;
    border-radius: 8px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dmtp-review-photo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dmtp-review-selected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #166534;
}

.dmtp-review-viewall {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    cursor: pointer;
}

/* --- Review Tables --- */
.dmtp-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.dmtp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

    .dmtp-table th {
        background-color: #f8fafc;
        color: #475569;
        font-weight: 600;
        font-size: 12px;
        padding: 12px 14px;
        text-align: left;
        white-space: nowrap;
        border-bottom: 1px solid #e2e8f0;
    }

    .dmtp-table td {
        padding: 12px 14px;
        text-align: left;
        border-bottom: 1px solid #f1f5f9;
        font-size: 13px;
        color: #334155;
        white-space: nowrap;
    }

    .dmtp-table tr:last-child td {
        border-bottom: none;
    }

.dmtp-variance-negative {
    color: #ef4444;
    font-weight: 600;
}

.dmtp-proof-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.dmtp-table-total-row td {
    background-color: #ecfdf5;
    font-weight: 700;
    color: #166534;
}

/* --- Start Event Confirmation Modal --- */
.dmtp-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.dmtp-modal {
    background-color: #ffffff;
    border-radius: 14px;
    max-width: 420px;
    width: 100%;
    padding: 28px 28px 22px 28px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dmtp-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ecfdf5;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.dmtp-modal h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.dmtp-modal p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 22px 0;
    line-height: 1.5;
}

.dmtp-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dmtp-modal-btn-cancel {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 11px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-modal-btn-cancel:hover {
        background-color: #f8fafc;
    }

.dmtp-modal-btn-confirm {
    flex: 1;
    background-color: #166534;
    border: 1px solid #166534;
    border-radius: 8px;
    padding: 11px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

    .dmtp-modal-btn-confirm:hover {
        background-color: #14532d;
    }

/* --- Responsive --- */
@media (max-width: 1200px) {
    .dmtp-plan-grid,
    .dmtp-focus-grid,
    .dmtp-event-grid,
    .dmtp-filter-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .dmtp-span-2 {
        grid-column: span 1;
    }

    .dmtp-stats-grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .dmtp-budget-summary-grid,
    .dmtp-budget-summary-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dmtp-photo-grid,
    .dmtp-review-photo-grid,
    .dmtp-activity-grid,
    .dmtp-attendance-grid,
    .dmtp-review-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dmtp-plan-grid,
    .dmtp-focus-grid,
    .dmtp-event-grid,
    .dmtp-filter-row,
    .dmtp-people-grid,
    .dmtp-stats-grid-3 {
        grid-template-columns: 1fr;
    }

    /* Pagination: one row - same as the other list pages. Only prev /
       current / next stay visible so the row never wraps. */
    .dmtp-pagination {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .dmtp-pagination-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        font-size: 12px;
    }

    .dmtp-page-controls {
        flex-wrap: nowrap;
        flex: 0 0 auto;
    }

    .dmtp-page-btn {
        min-width: 28px;
        height: 28px;
        flex: 0 0 auto;
    }

    .dmtp-page-controls .dmtp-page-btn:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    .dmtp-stepper {
        justify-content: flex-start;
    }

    .dmtp-action-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .dmtp-action-buttons {
        justify-content: flex-end;
    }

    .dmtp-expected-card {
        flex-direction: column;
        align-items: stretch;
    }

    .dmtp-expected-input {
        width: 100%;
    }

    .dmtp-budget-summary-grid,
    .dmtp-budget-summary-grid-4,
    .dmtp-photo-grid,
    .dmtp-review-photo-grid,
    .dmtp-activity-grid,
    .dmtp-activity-list,
    .dmtp-attendance-grid,
    .dmtp-expense-grid,
    .dmtp-review-grid-3,
    .dmtp-review-grid-5 {
        grid-template-columns: 1fr;
    }

    .dmtp-expense-item {
        flex-direction: column;
        align-items: stretch;
    }

    .dmtp-header-review {
        flex-direction: column;
    }
}
