/* =========================================================
   SIMON DPMD
   AGENDA HARI INI - ENTERPRISE
   ========================================================= */


.agenda-enterprise-card {

    position: relative;

    width: 100%;

    margin-top: 20px;

    margin-bottom: 22px;

    background: #ffffff;

    border-radius: 18px;

    border: 1px solid rgba(13,110,253,.08);

    box-shadow:
        0 12px 35px rgba(15,65,130,.10);

    overflow: hidden;

}


/* =========================================================
   HEADER
   ========================================================= */

.agenda-enterprise-header {

    min-height: 54px;

    padding:
        10px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #1769e8
        );

    color: #ffffff;

}


.agenda-title-area {

    display: flex;

    align-items: center;

    gap: 12px;

}


.agenda-title-icon {

    width: 34px;

    height: 34px;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.18);

    font-size: 18px;

}


.agenda-enterprise-title {

    margin: 0;

    font-size: 19px;

    font-weight: 700;

    line-height: 1.2;

}


.agenda-enterprise-subtitle {

    margin-top: 2px;

    font-size: 11px;

    opacity: .86;

}


.agenda-count-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding:
        6px 12px;

    border-radius: 999px;

    background: #ffffff;

    color: #0d6efd;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 3px 10px rgba(0,0,0,.10);

}


/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.agenda-table-wrapper {

    width: 100%;

    max-height: 350px;

    overflow-y: auto;

    overflow-x: auto;

    scrollbar-width: thin;

    scrollbar-color:
        #9bbcf2
        #f1f6ff;

}


/* Chrome / Edge */

.agenda-table-wrapper::-webkit-scrollbar {

    width: 8px;

    height: 8px;

}


.agenda-table-wrapper::-webkit-scrollbar-track {

    background: #f1f6ff;

}


.agenda-table-wrapper::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            #8eb7f4,
            #0d6efd
        );

    border-radius: 10px;

}


/* =========================================================
   TABLE
   ========================================================= */

.agenda-enterprise-table {

    width: 100%;

    min-width: 1100px;

    border-collapse: separate;

    border-spacing: 0;

    margin: 0;

    font-size: 13px;

}


.agenda-enterprise-table thead {

    position: sticky;

    top: 0;

    z-index: 10;

}


.agenda-enterprise-table th {

    padding:
        11px 12px;

    background: #f4f8ff;

    color: #17458f;

    border-bottom:
        1px solid #dbe7f7;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .3px;

    white-space: nowrap;

}


.agenda-enterprise-table td {

    padding:
        10px 12px;

    border-bottom:
        1px solid #edf2f8;

    color: #334155;

    vertical-align: middle;

    background: #ffffff;

}


.agenda-data-row {

    transition:
        background .18s ease,
        transform .18s ease;

}


.agenda-data-row:hover td {

    background: #f8fbff;

}


.agenda-number {

    color: #0d6efd;

    font-weight: 700;

}


/* =========================================================
   COLUMN WIDTH
   ========================================================= */

.agenda-col-no {

    width: 55px;

    text-align: center;

}


.agenda-col-date {

    width: 105px;

}


.agenda-col-time {

    width: 125px;

}


.agenda-col-kegiatan {

    min-width: 260px;

}


.agenda-col-ruang {

    min-width: 160px;

}


.agenda-col-pic {

    min-width: 180px;

}


.agenda-col-status {

    width: 125px;

}


.agenda-col-action {

    width: 95px;

    text-align: center;

}


/* =========================================================
   DATE
   ========================================================= */

.agenda-date {

    display: flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;

}


.agenda-date i {

    color: #0d6efd;

}


/* =========================================================
   TIME
   ========================================================= */

.agenda-time {

    display: flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;

    color: #475569;

    font-weight: 600;

}


.agenda-time i {

    color: #64748b;

}


/* =========================================================
   KEGIATAN
   ========================================================= */

.agenda-kegiatan-title {

    color: #173f7a;

    font-weight: 700;

    line-height: 1.35;

}


.agenda-keterangan {

    margin-top: 3px;

    color: #94a3b8;

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 300px;

}


/* =========================================================
   LOCATION
   ========================================================= */

.agenda-location {

    display: flex;

    align-items: center;

    gap: 7px;

}


.agenda-location i {

    color: #0d6efd;

}


/* =========================================================
   PIC
   ========================================================= */

.agenda-pic {

    display: flex;

    align-items: center;

    gap: 7px;

}


.agenda-pic-icon {

    width: 27px;

    height: 27px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf2ff;

    color: #0d6efd;

    font-size: 12px;

}


/* =========================================================
   STATUS
   ========================================================= */

.agenda-status {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding:
        5px 9px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;

}


.agenda-status-primary {

    background: #e8f1ff;

    color: #0d6efd;

}


.agenda-status-success {

    background: #e7f8ef;

    color: #168653;

}


.agenda-status-warning {

    background: #fff5d9;

    color: #b77900;

}


.agenda-status-danger {

    background: #ffe8eb;

    color: #dc3545;

}


.agenda-status-secondary {

    background: #eef1f5;

    color: #64748b;

}


/* =========================================================
   ACTION
   ========================================================= */

.agenda-action-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    padding:
        6px 10px;

    border-radius: 7px;

    background: #0d6efd;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;

}


.agenda-action-btn:hover {

    color: #ffffff;

    background: #0958ca;

    transform:
        translateY(-1px);

    box-shadow:
        0 5px 12px rgba(13,110,253,.22);

}


/* =========================================================
   EMPTY
   ========================================================= */

.agenda-empty {

    min-height: 220px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 25px;

}


.agenda-empty-icon {

    width: 70px;

    height: 70px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eef5ff;

    color: #78aaf5;

    font-size: 32px;

    margin-bottom: 12px;

}


.agenda-empty-title {

    color: #475569;

    font-size: 15px;

    font-weight: 700;

}


.agenda-empty-text {

    margin-top: 4px;

    color: #94a3b8;

    font-size: 11px;

}


/* =========================================================
   FOOTER
   ========================================================= */

.agenda-enterprise-footer {

    min-height: 54px;

    padding:
        8px 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border-top:
        1px solid #edf2f8;

    background: #ffffff;

}


.agenda-pagination-info {

    color: #64748b;

    font-size: 11px;

}


.agenda-pagination-info strong {

    color: #334155;

}


/* =========================================================
   PAGINATION AREA
   ========================================================= */

.agenda-pagination-area {

    display: flex;

    align-items: center;

    gap: 15px;

}


.agenda-per-page {

    display: flex;

    align-items: center;

    gap: 5px;

    color: #64748b;

    font-size: 11px;

}


.agenda-per-page-select {

    height: 30px;

    min-width: 55px;

    border:
        1px solid #dbe5f2;

    border-radius: 6px;

    padding:
        0 7px;

    background: #ffffff;

    color: #334155;

    outline: none;

}


.agenda-per-page-select:focus {

    border-color: #0d6efd;

}


/* =========================================================
   PAGINATION BUTTON
   ========================================================= */

.agenda-pagination {

    display: flex;

    align-items: center;

    gap: 4px;

}


.agenda-page-btn,
.agenda-page-number {

    width: 30px;

    height: 30px;

    border:
        1px solid #dbe5f2;

    border-radius: 6px;

    background: #ffffff;

    color: #64748b;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 11px;

    cursor: pointer;

    transition:
        all .18s ease;

}


.agenda-page-btn:hover:not(:disabled),
.agenda-page-number:hover {

    border-color: #0d6efd;

    color: #0d6efd;

    background: #f1f6ff;

}


.agenda-page-btn:disabled {

    opacity: .4;

    cursor: not-allowed;

}


.agenda-page-numbers {

    display: flex;

    align-items: center;

    gap: 4px;

}


.agenda-page-number.active {

    background: #0d6efd;

    border-color: #0d6efd;

    color: #ffffff;

    font-weight: 700;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .agenda-enterprise-header {

        align-items: flex-start;

        gap: 10px;

    }


    .agenda-enterprise-subtitle {

        display: none;

    }


    .agenda-enterprise-footer {

        flex-direction: column;

        align-items: flex-start;

    }


    .agenda-pagination-area {

        width: 100%;

        justify-content: space-between;

    }

}


@media (max-width: 600px) {

    .agenda-enterprise-header {

        padding:
            9px 12px;

    }


    .agenda-enterprise-title {

        font-size: 16px;

    }


    .agenda-count-badge {

        font-size: 10px;

        padding:
            5px 8px;

    }


    .agenda-pagination-area {

        flex-wrap: wrap;

    }

}

/* =========================================================
   STATISTIK AGENDA SIMON
========================================================= */

.agenda-statistik {
    margin-bottom: 20px;
}

.agenda-stat-card {
    position: relative;
    min-height: 125px;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    transition: all 0.25s ease;
}

.agenda-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.agenda-stat-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
}

.agenda-stat-content {
    min-width: 0;
}

.agenda-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 3px;
}

.agenda-stat-number {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
}

.agenda-stat-info {
    margin-top: 5px;
    font-size: 11px;
    color: #9aa3ad;
}

/* Responsive */
@media (max-width: 768px) {

    .agenda-stat-card {
        min-height: 105px;
        padding: 16px;
    }

    .agenda-stat-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
    }

    .agenda-stat-number {
        font-size: 26px;
    }

}