/* --- SCOPED CSS FOR CSR-1 MANAGEMENT --- */
/* Header Section */
.csr-header-container {
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.csr-header-container h1 {
    font-size: 22px;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

/* Stats Grid Layout */
.csr-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

/* Base Card Styles */
.csr-stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px; /* Reduced padding for smaller height */
    border-radius: 8px;
    border: 1px solid transparent;
    border-left-width: 4px;
    border-left-style: solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.csr-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduced gap */
}

.csr-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.csr-stat-value {
    font-size: 22px; /* Slightly smaller to fit reduced height */
    font-weight: 700;
    line-height: 1.2;
}

.csr-stat-icon {
    width: 46px; /* Reduced from 52px */
    height: 46px; /* Reduced from 52px */
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    flex-shrink: 0;
}

    .csr-stat-icon svg {
        width: 20px; /* Reduced from 24px */
        height: 20px; /* Reduced from 24px */
    }

/* --- Theme Colors (Gradients: Light on Left, Darker on Right) --- */

/* Theme: Green (Approved Budget) */
.csr-theme-green {
    border-color: #d1fae5;
    border-left-color: #10b981;
    background: linear-gradient(90deg, #ffffff 0%, #e6fcf1 100%);
}

    .csr-theme-green .csr-stat-value {
        color: #10b981;
    }

    .csr-theme-green .csr-stat-icon {
        border-color: #a7f3d0;
        color: #10b981;
    }

/* Theme: Blue (Allocated Budget) */
.csr-theme-blue {
    border-color: #dbeafe;
    border-left-color: #3b82f6;
    background: linear-gradient(90deg, #ffffff 0%, #e0f2fe 100%);
}

    .csr-theme-blue .csr-stat-value {
        color: #2563eb;
    }

    .csr-theme-blue .csr-stat-icon {
        border-color: #bfdbfe;
        color: #3b82f6;
    }

/* Theme: Purple/Pink (Remaining Budget) */
.csr-theme-purple {
    border-color: #fae8ff;
    border-left-color: #c026d3;
    background: linear-gradient(90deg, #ffffff 0%, #fae8ff 100%);
}

    .csr-theme-purple .csr-stat-value {
        color: #c026d3;
    }

    .csr-theme-purple .csr-stat-icon {
        border-color: #f5d0fe;
        color: #c026d3;
    }

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .csr-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .csr-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Plan Details Card Section --- */
.csr-section-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    font-family: 'Inter', sans-serif;
}

.csr-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 20px 0;
}

.csr-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 20px 24px;
}

.csr-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csr-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.csr-form-control, .csr-form-select {
    appearance: none;
    background-color: #F3F3F3 !important;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #334155;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    width: 100%;
}

    .csr-form-control::placeholder, .csr-form-select:invalid {
        color: #94a3b8;
    }

    .csr-form-control:focus, .csr-form-select:focus {
        border-color: #3b82f6;
        background-color: #ffffff;
    }

/* Custom Dropdown Chevron */
.csr-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;
}

/* Custom Number Input Spinner Arrows */
.csr-form-number {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 15 12 20 17 15'%3E%3C/polyline%3E%3Cpolyline points='7 9 12 4 17 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

    /* Hide default browser spinners for number inputs */
    .csr-form-number::-webkit-outer-spin-button,
    .csr-form-number::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* Responsive grid for the form */
@media (max-width: 1024px) {
    .csr-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .csr-form-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Focus Details Section --- */

.csr-section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

    .csr-section-header-with-icon svg {
        color: #10b981;
        width: 22px;
        height: 22px;
    }

    .csr-section-header-with-icon h2 {
        font-size: 18px;
        font-weight: 700;
        color: #334155;
        margin: 0;
    }

/* 3-column grid of cards */
.csr-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Each inner card */
.csr-focus-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .csr-focus-card .csr-form-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .csr-focus-card .csr-form-label {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
        font-weight: 500;
        color: #334155;
    }

    .csr-focus-card .csr-form-select {
        width: 100%;
        height: 42px;
        background-color: #F3F3F3;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 0 12px;
        font-size: 13px;
        color: #94a3b8;
    }

/* Chip / Tag for selected product */
.csr-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e6fcf1;
    color: #047857;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
    line-height: 1;
}

.csr-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #047857;
    opacity: 0.7;
    transition: opacity 0.15s;
}

    .csr-chip-remove:hover {
        opacity: 1;
    }

/* Responsive */
@media (max-width: 1024px) {
    .csr-focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .csr-focus-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Expense Breakdown Section --- */

.csr-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 24px;
    margin-bottom: 20px;
}

.csr-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
}

/* --- Page Action Buttons --- */

.csr-page-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.csr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.csr-btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

    .csr-btn-secondary:hover {
        background-color: #e2e8f0;
        color: #334155;
    }

.csr-btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

    .csr-btn-primary:hover {
        background-color: #2563eb;
    }

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .csr-grid-4, .csr-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .csr-grid-4, .csr-grid-3 {
        grid-template-columns: 1fr;
    }

    .csr-page-actions {
        flex-direction: column;
        width: 100%;
    }

        .csr-page-actions .csr-btn {
            width: 100%;
        }
}

/*CSR-1LIST STYLES*/

/* --- SCOPED CSS FOR CSR-1 LIST DASHBOARD --- */
/* Header Styles */
.csrm-header-container {
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

.csrm-header-container h1 {
    font-size: 24px;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

/* Stats Grid Layout */
.csrm-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

/* Base Card Styles */
.csrm-stat-card {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    border-top-width: 4px;
    border-top-style: solid;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    background-color: #ffffff;
}

.csrm-card-body {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
}

.csrm-stat-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .csrm-stat-text h2 {
        font-size: 24px;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
        line-height: 1.1;
    }

    .csrm-stat-text p {
        font-size: 13px;
        color: #94a3b8;
        font-weight: 500;
        margin: 0;
    }

.csrm-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    background-color: #ffffff;
    flex-shrink: 0;
}

.csrm-card-footer {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .csrm-card-footer:hover {
        color: #64748b;
    }

/* --- Theme Colors --- */

/* Blue (Total) */
.csrm-theme-blue {
    border-top-color: #3b82f6;
}

    .csrm-theme-blue .csrm-card-body {
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .csrm-theme-blue .csrm-stat-icon {
        border-color: #e0e7ff;
        color: #3b82f6;
    }

    .csrm-theme-blue .csrm-card-footer {
        background-color: #f4f8ff;
        border-top: 1px solid #eef2ff;
    }

/* Green (Approved) */
.csrm-theme-green {
    border-top-color: #10b981;
}

    .csrm-theme-green .csrm-card-body {
        background: linear-gradient(180deg, #ffffff 0%, #f4fdf8 100%);
    }

    .csrm-theme-green .csrm-stat-icon {
        border-color: #d1fae5;
        color: #10b981;
    }

    .csrm-theme-green .csrm-card-footer {
        background-color: #ebfbf2;
        border-top: 1px solid #ecfdf5;
    }

/* Orange (Pending) */
.csrm-theme-orange {
    border-top-color: #f59e0b;
}

    .csrm-theme-orange .csrm-card-body {
        background: linear-gradient(180deg, #ffffff 0%, #fffbf2 100%);
    }

    .csrm-theme-orange .csrm-stat-icon {
        border-color: #fef3c7;
        color: #f59e0b;
    }

    .csrm-theme-orange .csrm-card-footer {
        background-color: #fff9ea;
        border-top: 1px solid #fffbeb;
    }

/* Red (Rejected) */
.csrm-theme-red {
    border-top-color: #ef4444;
}

    .csrm-theme-red .csrm-card-body {
        background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    }

    .csrm-theme-red .csrm-stat-icon {
        border-color: #fee2e2;
        color: #ef4444;
    }

    .csrm-theme-red .csrm-card-footer {
        background-color: #fff0f0;
        border-top: 1px solid #fef2f2;
    }

/* Gray (Drafts) */
.csrm-theme-gray {
    border-top-color: #94a3b8;
}

    .csrm-theme-gray .csrm-card-body {
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .csrm-theme-gray .csrm-stat-icon {
        border-color: #e2e8f0;
        color: #64748b;
    }

    .csrm-theme-gray .csrm-card-footer {
        background-color: #f1f5f9;
        border-top: 1px solid #f8fafc;
    }

/* Responsive adjustment */
@media (max-width: 1400px) {
    .csrm-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .csrm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .csrm-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Filter Card Section --- */
.csrm-filter-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.csrm-filter-header {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    background-color: #F5F8F6;
}

.csrm-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.csrm-filter-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.csrm-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.csrm-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csrm-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.csrm-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.csrm-form-control, .csrm-form-select {
    width: 100%;
    appearance: none;
    background-color: #f8fafc; /* Very light gray background */
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #94a3b8; /* Placeholder text color */
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

    .csrm-form-control:focus, .csrm-form-select:focus {
        border-color: #3b82f6;
        background-color: #ffffff;
    }

.csrm-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;
}

.csrm-input-icon {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    pointer-events: none;
}

.csrm-filter-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.csrm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.csrm-btn-outline {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

    .csrm-btn-outline:hover {
        background-color: #f8fafc;
        border-color: #cbd5e1;
        color: #1e293b;
    }

.csrm-btn-solid {
    background-color: #3b82f6;
    border: 1px solid #3b82f6;
    color: #ffffff;
}

    .csrm-btn-solid:hover {
        background-color: #2563eb;
    }

/* Responsive Filters */
@media (max-width: 1200px) {
    .csrm-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .csrm-filter-grid {
        grid-template-columns: 1fr;
    }

    .csrm-filter-actions {
        flex-direction: column;
        width: 100%;
    }

        .csrm-filter-actions .csrm-btn {
            width: 100%;
        }
}
/* --- Table Section --- */
.csrm-table-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.csrm-table-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

    .csrm-table-top h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #334155;
    }

.csrm-table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.csrm-search-input {
    appearance: none;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 10px 16px 10px 38px;
    font-size: 13px;
    color: #334155;
    width: 240px;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    transition: border-color 0.2s;
    max-width: 100%;
}

    .csrm-search-input:focus {
        border-color: #3b82f6;
    }

/* Header Action Buttons */
.csrm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .csrm-btn-outline:hover {
        background-color: #f8fafc;
        color: #1e293b;
    }

.csrm-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .csrm-btn-solid:hover {
        background-color: #2563eb;
    }

.csrm-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.csrm-main-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px; /* Widened for extra columns */
}

    .csrm-main-table th {
        background-color: #F5F8F6;
        color: #475569;
        font-weight: 600;
        font-size: 13px;
        padding: 14px 16px;
        text-align: center;
        white-space: nowrap;
        border-bottom: 1px solid #e2e8f0;
    }

    .csrm-main-table td {
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
        font-size: 13px;
        color: #334155;
        vertical-align: middle;
        white-space: nowrap;
    }

        .csrm-main-table th:first-child,
        .csrm-main-table td:first-child {
            width: 50px;
        }

    .csrm-main-table tr:last-child td {
        border-bottom: none;
    }

.csrm-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

    .csrm-checkbox:checked {
        background-color: #3b82f6;
        border-color: #3b82f6;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        background-position: center;
        background-repeat: no-repeat;
    }

/* Badges */
.csrm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.csrm-badge-approved {
    background-color: #dcfce7;
    color: #16a34a;
}

.csrm-badge-validated {
    background-color: #fef3c7;
    color: #d97706;
}

.csrm-badge-rejected {
    background-color: #fee2e2;
    color: #dc2626;
}

.csrm-badge-submitted {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.csrm-badge-draft {
    background-color: #f1f5f9;
    color: #64748b;
}

/* Special Outline Badge */
.csrm-badge-outline-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background-color: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

/* Action Buttons inside Table */
.csrm-actions-cell {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.csrm-action-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: opacity 0.2s;
}

    .csrm-action-btn:hover {
        opacity: 0.7;
    }

.csrm-icon-view {
    color: #3b82f6;
}

.csrm-icon-delete {
    color: #ef4444;
}

/* CSR-2 Action Link Button */
.csrm-btn-csr2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background-color: #3b82f6;
    color: #ffffff;
    border: 1px solid #3b82f6;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

    .csrm-btn-csr2:hover {
        background-color: #2563eb;
    }

    .csrm-btn-csr2.disabled {
        background-color: #f8fafc;
        color: #94a3b8;
        border: 1px solid #e2e8f0;
        cursor: not-allowed;
    }

        .csrm-btn-csr2.disabled:hover {
            background-color: #f8fafc;
        }

/* --- Pagination --- */
.csrm-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 4px;
}

.csrm-page-size {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.csrm-form-select {
    appearance: none;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
    outline: none;
}

.csrm-page-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.csrm-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;
}

    .csrm-page-btn:hover:not(.dots) {
        background-color: #f8fafc;
    }

    .csrm-page-btn.active {
        background-color: #f1f5f9;
        border-color: #e2e8f0;
        font-weight: 600;
        color: #1e293b;
    }

    .csrm-page-btn.dots {
        border: none;
        background: transparent;
        cursor: default;
    }

/* --- Alert Banner Section --- */
.csrm-rejection-alert {
    background-color: #fef2f2; /* Light red background */
    color: #b91c1c; /* Dark red text */
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.csrm-rejection-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csrm-rejection-text {
    line-height: 1.5;
}

    .csrm-rejection-text strong {
        font-weight: 600;
        margin-right: 4px;
    }
