/*!*********************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[1].use[1]!./assets/css/project/index.css ***!
  \*********************************************************************************************************************/
.cd-container {
    max-width: 1220px !important;
}

.border-ocha-opacity {
    border: 1px solid #ddd !important;
}

.bg-primary-ocha-opacity {
    background: #e0eafc;
}

.bg-degault-ocha-opacity {
    background: #f5f5f5;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group {
    border-radius: 50rem !important;
}

.btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

:root {
    --ocha-blue: #009edb;
    --ocha-blue-dark: #014F86;
    --ocha-blue-soft: #EAF3FF;
    --ocha-navy: #1F2937;
    --ocha-text: #334155;
    --ocha-muted: #64748B;
    --ocha-border: #E2E8F0;
    --ocha-bg: #F8FAFC;
    --ocha-green: #2E7D32;
    --ocha-green-bg: #E8F5E9;
    --ocha-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

body,
.ocha-dashboard {
    background: var(--ocha-bg);
}

.ocha-dashboard {
    color: var(--ocha-text);
}

.ocha-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--ocha-navy);
    letter-spacing: -0.03em;
}

.ocha-section-title {
    font-size: 23px;
    font-weight: 800;
    color: var(--ocha-navy);
    letter-spacing: -0.02em;
}

/* KPI cards */

.ocha-kpi-card {
    border: 1px solid var(--ocha-border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: all .18s ease;
}

.ocha-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ocha-shadow);
    border-color: #CFE2FF;
}

.ocha-kpi-card .card-body {
    min-height: 98px;
    padding: 0.8rem 1rem;
}

.ocha-kpi-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--ocha-blue-soft);
    color: var(--ocha-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 auto;
}

.ocha-kpi-label {
    color: var(--ocha-muted);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.ocha-kpi-value,
.ocha-kpi-user {
    color: var(--ocha-navy);
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ocha-kpi-small {
    font-size: 13px;
    color: var(--ocha-muted);
    margin-top: 3px;
}

/* Cards / filters */

.ocha-filter-card,
.ocha-list-card {
    border: 1px solid var(--ocha-border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.ocha-list-card {
    overflow: hidden;
}

.ocha-list-card .card-body {
    position: relative;
    min-height: 200px;
}

.ocha-input-group .input-group-text {
    background: #fff;
    border-right: 0;
    color: var(--ocha-muted);
    border-color: var(--ocha-border);
    border-radius: 10px 0 0 10px;
}

.ocha-input-group .form-control {
    border-left: 0;
    border-color: var(--ocha-border);
    min-height: 46px;
    font-size: 14px;
    border-radius: 0 10px 10px 0;
}

.ocha-form-select {
    min-height: 46px;
    border-radius: 10px;
    border-color: var(--ocha-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--ocha-text);
}

.ocha-input-group .form-control:focus,
.ocha-form-select:focus {
    border-color: var(--ocha-blue);
    box-shadow: 0 0 0 .2rem rgba(2, 108, 182, .12);
}

.ocha-view-toggle .btn {
    min-height: 46px;
    border-color: var(--ocha-border);
    color: var(--ocha-blue);
}

.ocha-view-toggle .btn.active {
    background: var(--ocha-blue-soft);
    color: var(--ocha-blue);
    border-color: rgba(2, 108, 182, .35);
    box-shadow: none;
}

/* Loader / empty */

.ocha-loader {
    padding: 38px;
    text-align: center;
    color: var(--ocha-muted);
    font-weight: 700;
}

.ocha-loader i {
    color: var(--ocha-blue);
    margin-right: 8px;
}

.ocha-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--ocha-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ocha-empty i {
    font-size: 36px;
    color: #CBD5E1;
}

.ocha-empty strong {
    color: var(--ocha-navy);
    font-size: 18px;
}

/* Dataset list */

.ocha-dataset-list {
    display: flex;
    flex-direction: column;
}

.ocha-dataset-row {
    background: #fff;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ocha-border);
    transition: background .15s ease;
}

.ocha-dataset-row:last-child {
    border-bottom: 0;
}

.ocha-dataset-row:hover {
    background: #FBFDFF;
}

.ocha-dataset-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--ocha-blue-soft);
    color: var(--ocha-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ocha-dataset-content h3 {
    margin: 0 0 6px;
    color: var(--ocha-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.ocha-dataset-content p {
    margin: 0;
    color: var(--ocha-muted);
    font-size: 13px;
    line-height: 1.45;
    max-width: 720px;
}

.ocha-dataset-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
    margin-top: 8px;
}

.ocha-status-active {
    background: var(--ocha-green-bg);
    color: var(--ocha-green);
}

.ocha-status-inactive {
    background: #F1F5F9;
    color: var(--ocha-muted);
}

.ocha-status-active i,
.ocha-status-inactive i {
    font-size: 8px;
}

/* Metrics */

.ocha-dataset-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ocha-text);
    font-size: 13px;
    font-weight: 700;
}

.ocha-dataset-metrics div {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.ocha-dataset-metrics i {
    width: 16px;
    color: var(--ocha-muted);
}

.ocha-dataset-metrics strong {
    color: var(--ocha-navy);
    font-weight: 800;
}

/* Actions */

.ocha-dataset-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ocha-action-chip,
.ocha-action-main {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    transition: all .15s ease;
    white-space: nowrap;
}

.ocha-action-chip {
    width: 34px;
    background: #F8FBFF;
    border: 1px solid #D8E7F8;
    color: #4B8ED8;
}

.ocha-action-chip:hover {
    background: var(--ocha-blue-soft);
    border-color: #BFD8F5;
    color: var(--ocha-blue);
    text-decoration: none;
}

.ocha-action-main {
    padding: 7px 13px;
    gap: 7px;
    background: var(--ocha-blue);
    color: #fff !important;
    border: 1px solid var(--ocha-blue);
    box-shadow: 0 4px 10px rgba(2, 108, 182, .16);
}

.ocha-action-main:hover {
    background: var(--ocha-blue-dark);
    border-color: var(--ocha-blue-dark);
    color: #fff;
    text-decoration: none;
}

/* Pagination */

.ocha-pagination-info {
    color: var(--ocha-muted);
    font-size: 13px;
    font-weight: 700;
}

.ocha-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ocha-pagination button {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--ocha-border);
    background: #fff;
    color: var(--ocha-text);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.ocha-pagination button.active {
    background: var(--ocha-blue);
    color: #fff;
    border-color: var(--ocha-blue);
}

.ocha-pagination button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.datasets-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stabilize dataset row layout */
.ocha-dataset-row .row {
    align-items: center;
}

.ocha-dataset-row .col-auto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 72px;
}

.ocha-dataset-status {
    margin-top: 0;
}

.ocha-dataset-content p {
    margin: 0;
    color: var(--ocha-muted);
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ocha-dataset-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ocha-dataset-metrics {
    min-width: 140px;
    display: flex;
    gap: 2px;
}

/* Desktop separators */

@media (min-width: 1200px) {

    .ocha-dataset-metrics,
    .ocha-dataset-actions {
        border-left: 1px solid var(--ocha-border);
        padding-left: 18px;
    }
}

/* Tablet */

@media (max-width: 1199.98px) {
    .ocha-dataset-row {
        padding: 18px;
    }
}

/* Mobile - stack layout vertically */

@media (max-width: 767.98px) {
    .ocha-title {
        font-size: 25px;
    }

    .ocha-section-title {
        font-size: 21px;
    }

    .ocha-dataset-row {
        padding: 16px;
    }

    .ocha-dataset-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .ocha-dataset-content h3 {
        font-size: 14px;
    }

    .ocha-dataset-row .col-auto {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        min-width: unset;
    }

    .ocha-dataset-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .ocha-action-main {
        flex: 1 1 auto;
        max-width: 180px;
    }
}
