/* ===== RESET & BASE STYLES ===== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    line-height: 1.6;

    color: #333;

    background: #f5f5f5;

    min-height: 100vh;

}



/* ===== LAYOUT ===== */

.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px;

    background: white;

    min-height: calc(100vh - 80px);

}



/* ===== HEADER ===== */

.main-header {

    background: #2c3e50;

    color: #fff;

    padding: 12px 0;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    position: sticky;

    top: 0;

    z-index: 1000;

}



.header-content {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 16px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 16px;

}



.brand a {

    color: white;

    text-decoration: none;

    font-size: 20px;

    font-weight: 700;

}



.nav-links {

    display: flex;

    gap: 12px;

    align-items: center;

}



.nav-links a {

    color: white;

    text-decoration: none;

    padding: 6px 12px;

    border-radius: 6px;

    transition: background 0.3s ease;

}



.nav-links a:hover {

    background: rgba(255, 255, 255, 0.12);

}



.user-info {

    color: #ecf0f1;

    font-size: 14px;

}



.nav-toggle {

    display: none;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.6);

    color: #fff;

    padding: 6px 10px;

    border-radius: 6px;

    font-size: 18px;

    cursor: pointer;

    transition: background 0.3s ease;

}



.nav-toggle:hover {

    background: rgba(255, 255, 255, 0.1);

}



/* ===== AUTH PAGES ===== */

.login-page {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 100vh;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

}



.login-container {

    width: 100%;

    max-width: 400px;

    padding: 20px;

}



.login-box {

    background: white;

    padding: 40px;

    border-radius: 10px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

}



.login-box h1 {

    text-align: center;

    margin-bottom: 30px;

    color: #2c3e50;

}



/* ===== FORM FILTER LAYOUT ===== */

.filter-form {

    background: white;

    border-radius: 12px;

    padding: 20px;

    margin-bottom: 25px;

    border: 1px solid #e5e7eb;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

}



.filters {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 15px;

    align-items: end;

}



.filters .form-group {

    margin-bottom: 0;

}



.filters .form-group:last-child {

    grid-column: 1 / -1;

    display: flex;

    gap: 10px;

    justify-content: flex-end;

    margin-top: 5px;

}



.date-range-fields {

    grid-column: 1 / -1;

    display: none;

    background: #f8fafc;

    padding: 15px;

    border-radius: 8px;

    border: 1px solid #e5e7eb;

    margin-top: 5px;

}



.date-range-fields .input-group {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



.date-range-fields .input-group span {

    color: #6c757d;

    font-weight: 500;

}



.date-range-fields .form-control {

    flex: 1;

    min-width: 150px;

}



/* ===== FORMS ===== */

.form-group {

    margin-bottom: 20px;

}



.form-group label {

    display: block;

    margin-bottom: 5px;

    font-weight: 600;

    color: #555;

}



.form-group input,

.form-group select,

.form-group textarea {

    width: 100%;

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 14px;

}



.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    outline: none;

    border-color: #667eea;

}



.form-control {

    width: 100%;

    padding: 10px 12px;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 14px;

    font-family: inherit;

    transition: border-color 0.3s ease;

}



.form-control:focus {

    outline: none;

    border-color: #667eea;

    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);

}



.form-inline {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}



.form-inline .form-group {

    flex: 1;

    min-width: 150px;

}



.input-group {

    display: flex;

    gap: 10px;

}



.input-group input {

    flex: 1;

}



/* Filter Range Form */

.filter-range {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    background: #f8fafc;

    padding: 15px;

    border-radius: 8px;

    margin: 15px 0;

    border: 1px solid #e5e7eb;

}



.filter-range label {

    font-weight: 500;

    color: #4b5563;

    font-size: 14px;

}



.filter-range input[type="date"] {

    padding: 8px 12px;

    border: 1px solid #d1d5db;

    border-radius: 6px;

    font-size: 14px;

    min-width: 150px;

}



.filter-range input[type="date"]:focus {

    border-color: #667eea;

    outline: none;

    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);

}



/* ===== BASE BUTTON STYLES (tanpa warna) ===== */

.btn {

    display: inline-block;

    padding: 10px 20px;

    color: white;

    text-decoration: none;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-size: 14px;

    font-family: inherit;

    font-weight: 500;

    transition: all 0.3s ease;

}



.btn:hover {

    transform: translateY(-1px);

}



.btn:active {

    transform: translateY(0);

}



.btn-sm {

    padding: 6px 12px;

    font-size: 12px;

}



.btn-block {

    display: block;

    width: 100%;

    text-align: center;

}



.btn-filter {

    background-color: #28a745;

    color: white;

    border-color: #28a745;

    text-align: center;

}



.btn-grn {
    background-color: #04AA6D;
} /* Green */
    
.btn-blu {
    background-color: #008CBA;
} /* Blue */

.btn-red {
    background-color: #f44336;
} /* Red */

.btn-yel {
    background-color: #307e88;
} /* Yellow */

.btn-gry {
    background-color: #e7e7e7; color: black;
} /* Gray */

.btn-blk {
    background-color: #555555;
} /* Black */




/* REMOVE export-actions - moved to agenda_weekly.css */



/* Quick Filter Buttons - di bawah filter form */

.filter-buttons {

    margin-top: 15px;

    margin-bottom: 20px;

}



.filter-buttons .btn-group {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

}



.btn-filter {

    padding: 8px 16px;

    border-radius: 20px;

    background: #f1f3f4;

    color: #333;

    text-decoration: none;

    border: 1px solid transparent;

    transition: all 0.3s ease;

    font-size: 13px;

    font-weight: 500;

    white-space: nowrap;

}



.btn-filter:hover {

    background: #e8eaed;

    transform: translateY(-1px);

}



.btn-filter.active {

    background: #1a73e8;

    color: #fff;

    border-color: #1a73e8;

    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);

}


/* Results summary */

.results-summary {

    background: linear-gradient(135deg, #e8f4f8 0%, #f0f9ff 100%);

    padding: 15px 20px;

    border-radius: 8px;

    margin-bottom: 20px;

    border-left: 4px solid #3498db;

    font-size: 14px;

    color: #2c3e50;

}



.results-summary strong {

    color: #1a73e8;

}



/* ===== TABLES ===== */

.table {

    width: 100%;

    border-collapse: collapse;

    margin: 20px 0;

    background: white;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}



.table th,

.table td {

    padding: 12px;

    text-align: left;

    border-bottom: 1px solid #e5e7eb;

}



.table th {

    background: #f8f9fa;

    font-weight: 600;

    color: #555;

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 0.5px;

}



.table tr:hover {

    background: #f8f9fa;

}



.table tr:last-child td {

    border-bottom: none;

}



/* ===== BADGES ===== */

.badge {

    display: inline-block;

    padding: 4px 10px;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.3px;

}



/* Agenda Status Badges */

.badge-draft {

    background: #f39c12;

    color: white;

}



.badge-published {

    background: #27ae60;

    color: white;

}



.badge-archived {

    background: #95a5a6;

    color: white;

}



/* Role Badges */

.badge-admin {

    background: #e74c3c;

    color: white;

}



.badge-editor {

    background: #3498db;

    color: white;

}



.badge-viewer {

    background: #95a5a6;

    color: white;

}



/* Agenda Badges */

.badge.host-regimulti {

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

}



.badge.host-pimpinan {

    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    color: white;

}



.badge.status-planned {

    background: #f39c12;

    color: white;

}



.badge.status-done {

    background: #27ae60;

    color: white;

}



.badge.status-cancelled {

    background: #e74c3c;

    color: white;

}



/* ===== LIST AGENDA CARD STYLES (RENAMED from .agenda-card) ===== */

.list-agenda-card {

    background: white;

    border-radius: 10px;

    border: 1px solid #e5e7eb;

    margin-bottom: 15px;

    overflow: hidden;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);

    transition: all 0.3s ease;

    position: relative;

}



.list-agenda-card:hover {

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transform: translateY(-2px);

}



/* Status border colors */

.list-agenda-card.status-planned {

    border-left: 4px solid #f39c12;

}



.list-agenda-card.status-done {

    border-left: 4px solid #27ae60;

}



.list-agenda-card.status-cancelled {

    border-left: 4px solid #e74c3c;

}



/* Garis pemisah antar card */

.list-agenda-card::after {

    content: '';

    position: absolute;

    bottom: -8px;

    left: 20px;

    right: 20px;

    height: 1px;

    background: linear-gradient(90deg, 

        rgba(229, 231, 235, 0) 0%, 

        rgba(229, 231, 235, 1) 20%, 

        rgba(229, 231, 235, 1) 80%, 

        rgba(229, 231, 235, 0) 100%

    );

}



/* Hilangkan garis pada card terakhir */

.list-agenda-card:last-child::after {

    display: none;

}



/* Styling untuk agenda yang sudah lewat */

.list-agenda-card.past-event {

    opacity: 0.9;

    border-left-color: #95a5a6 !important;

}



.list-agenda-card.past-event .card-header {

    background: #f7f7f7;

}



.list-agenda-card.past-event .card-header h4 {

    color: #6c757d;

}



.card-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding: 18px 20px;

    background: #f9fafb;

    border-bottom: 1px solid #e5e7eb;

    flex-wrap: wrap;

    gap: 15px;

}



.card-header > div:first-child {

    flex: 1;

    min-width: 200px;

}



.card-header h4 {

    font-size: 18px;

    font-weight: 600;

    color: #1f2937;

    margin-bottom: 10px;

    line-height: 1.4;

}



.badges {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-top: 8px;

}



.card-actions {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}



.card-actions b {

    font-size: 16px;

    color: #374151;

    background: white;

    padding: 6px 12px;

    border-radius: 8px;

    border: 1px solid #e5e7eb;

    min-width: 70px;

    text-align: center;

    font-weight: 600;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

}



.card-body {

    padding: 20px;

}



.card-body p {

    margin-bottom: 12px;

    line-height: 1.6;

    color: #bef7f3;

}



.card-body p:last-child {

    margin-bottom: 0;

}



.card-body strong {

    color: #e8fff9;

    font-weight: 600;

    min-width: 100px;

    display: inline-block;

}



.past-badge {

    display: inline-block;

    padding: 2px 8px;

    background: #6c757d;

    color: white;

    border-radius: 4px;

    font-size: 11px;

    margin-left: 8px;

    font-weight: 500;

}



/* ===== AGENDA DATE GROUPS ===== */

.agenda-date-group {

    margin-bottom: 40px;

    position: relative;

}



/* Pembatas antar kelompok tanggal */

.agenda-date-group:not(:first-child) {

    padding-top: 40px;

    margin-top: 40px;

}



.agenda-date-group:not(:first-child)::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 2px;

    background: linear-gradient(90deg, 

        rgba(102, 126, 234, 0) 0%, 

        rgba(102, 126, 234, 0.3) 25%, 

        rgba(102, 126, 234, 0.6) 50%, 

        rgba(102, 126, 234, 0.3) 75%, 

        rgba(102, 126, 234, 0) 100%

    );

    border-radius: 1px;

}



/* Background berbeda untuk kelompok tanggal bergantian */

.agenda-date-group:nth-child(odd) {

    background: linear-gradient(to right, 

        rgba(248, 250, 252, 0.3) 0%, 

        rgba(248, 250, 252, 0.1) 100%

    );

    border-radius: 12px;

    padding: 25px 20px 10px;

    margin-left: -10px;

    margin-right: -10px;

}



.agenda-date-group:nth-child(even) {

    background: linear-gradient(to right, 

        rgba(239, 246, 255, 0.2) 0%, 

        rgba(239, 246, 255, 0.05) 100%

    );

    border-radius: 12px;

    padding: 25px 20px 10px;

    margin-left: -10px;

    margin-right: -10px;

}



.agenda-date-heading {

    display: inline-block;

    background: linear-gradient(135deg, #f5f7ff 0%, #e7f5ff 50%, #fdf2ff 100%);

    color: #1f2937;

    padding: 12px 20px;

    border-radius: 12px;

    font-weight: 700;

    font-size: 16px;

    border: 1px solid #e5e7eb;

    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);

    margin-bottom: 20px;

    position: relative;

    z-index: 1;

}



/* Tambahan untuk header tanggal dengan background berbeda */

.agenda-date-group:nth-child(odd) .agenda-date-heading {

    background: linear-gradient(135deg, #e7f5ff 0%, #d4edff 100%);

    border: 1px solid #bfdbfe;

}



.agenda-date-group:nth-child(even) .agenda-date-heading {

    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);

    border: 1px solid #fbcfe8;

}



/* ===== BASE ALERT STYLES (spesifik di file lain) ===== */

.alert {

    padding: 15px 20px;

    border-radius: 8px;

    margin-bottom: 20px;

    border-left: 4px solid transparent;

}



/* ===== CARDS & STATS ===== */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin: 30px 0;

}



.stat-card {

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

    padding: 30px;

    border-radius: 10px;

    text-align: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s ease;

}



.stat-card:hover {

    transform: translateY(-4px);

}



.stat-card h3 {

    font-size: 36px;

    margin-bottom: 10px;

    font-weight: 700;

}



.stat-card p {

    font-size: 14px;

    opacity: 0.9;

}



/* Stats cards */

.stats-summary {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    gap: 15px;

    margin-bottom: 25px;

}



.stat-box {

    background: white;

    border-radius: 8px;

    padding: 15px;

    text-align: center;

    border: 1px solid #e5e7eb;

    box-shadow: 0 2px 4px rgba(0,0,0,0.05);

}



.stat-box .number {

    font-size: 24px;

    font-weight: 700;

    display: block;

    margin-bottom: 5px;

}



.stat-box.total .number { color: #667eea; }

.stat-box.planned .number { color: #f39c12; }

.stat-box.done .number { color: #27ae60; }

.stat-box.cancelled .number { color: #e74c3c; }

.stat-box.past .number { color: #6c757d; }



.stat-box .label {

    font-size: 12px;

    color: #6c757d;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



/* ===== EDITOR ===== */

.editor-container {

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 20px;

    margin-top: 20px;

}



.editor-sidebar {

    background: #f8f9fa;

    padding: 20px;

    border-radius: 8px;

    height: fit-content;

    position: sticky;

    top: 20px;

}



.editor-sidebar h3 {

    margin-top: 20px;

    margin-bottom: 12px;

    font-size: 16px;

    color: #555;

    font-weight: 600;

}



.editor-sidebar h3:first-child {

    margin-top: 0;

}



.editor-main {

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    padding: 20px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

}



/* ===== LIST PAGE HEADER (RENAMED) ===== */

.list-page-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom: 2px solid #eee;

    flex-wrap: wrap;

    gap: 15px;

}



/* ===== PAGINATION ===== */

.pagination {

    display: flex;

    gap: 6px;

    margin-top: 30px;

    justify-content: center;

    flex-wrap: wrap;

}



.pagination .btn {

    min-width: 40px;

    padding: 8px 12px;

}



.pagination .btn.active {

    background: #2c3e50;

    cursor: default;

}



.pagination .btn.active:hover {

    transform: none;

    background: #2c3e50;

}



/* ===== ACTION BUTTONS ===== */

.action-buttons {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

}



.actions {

    margin-top: 30px;

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}



/* ===== SHARED VIEW ===== */

.shared-header {

    text-align: center;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom: 2px solid #eee;

}



.shared-content {

    line-height: 1.8;

    margin-bottom: 30px;

    font-size: 16px;

}



.shared-actions {

    text-align: center;

    padding-top: 20px;

    border-top: 2px solid #eee;

}



/* ===== UTILITY CLASSES ===== */

.text-center {

    text-align: center;

}



.text-muted {

    color: #6c757d;

}



.section {

    margin-bottom: 40px;

}



.metadata-box {

    background: #f8f9fa;

    padding: 20px;

    border-radius: 8px;

    margin-bottom: 20px;

    border: 1px solid #e5e7eb;

}



.metadata-box h3 {

    margin-bottom: 15px;

    color: #333;

}



.metadata-table {

    width: 100%;

}



.metadata-table td {

    padding: 10px 0;

    vertical-align: top;

}



.metadata-table td:first-child {

    width: 200px;

    font-weight: 600;

    color: #555;

}



.version-info {

    background: #e8f4f8;

    padding: 15px;

    border-radius: 8px;

    margin-bottom: 20px;

    border-left: 4px solid #3498db;

}



.preview-content {

    line-height: 1.8;

    margin: 20px 0;

    font-size: 16px;

}



.preview-footer {

    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #eee;

    text-align: center;

}



/* ===== EDITOR STYLES ===== */



/* CKEditor */

.ck-editor__editable {

    min-height: 500px;

    max-height: 700px;

    overflow-y: auto;

    font-family: inherit;

    line-height: 1.6;

    padding: 20px !important;

}



.ck-content {

    font-size: 14px;

    line-height: 1.6;

}



.ck-content .page-break {

    border: 2px dashed #ccc;

    margin: 20px 0;

    padding: 12px;

    text-align: center;

    background: #f5f5f5;

    border-radius: 4px;

}



.ck-content .page-break::before {

    content: "--- Page Break ---";

    color: #999;

    font-size: 12px;

    font-style: italic;

}



.ck-content table {

    border-collapse: collapse;

    margin: 16px 0;

    width: 100%;

}



.ck-content table td,

.ck-content table th {

    border: 1px solid #ddd;

    padding: 10px;

    min-width: 60px;

}



.ck-content table th {

    background: #f5f5f5;

    font-weight: 600;

}



/* Quill Editor */

.ql-container {

    font-size: 14px;

    font-family: inherit;

}



.ql-editor {

    min-height: 500px;

    padding: 20px !important;

}



/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {

    /* Header */

    .nav-toggle {

        display: inline-block;

    }

    

    .nav-links {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: #2c3e50;

        flex-direction: column;

        padding: 16px;

        gap: 10px;

        display: none;

        border-top: 1px solid rgba(255, 255, 255, 0.1);

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    }

    

    .nav-links.open {

        display: flex !important;

    }

    

    .nav-links a,

    .user-info {

        width: 100%;

        padding: 12px;

        background: rgba(255, 255, 255, 0.06);

        border-radius: 6px;

        text-align: center;

    }

    

    /* Layout */

    .editor-container {

        grid-template-columns: 1fr;

    }

    

    .editor-sidebar {

        position: static;

        margin-bottom: 20px;

    }

    

    .header-content {

        flex-wrap: wrap;

    }

    

    .list-page-header {

        flex-direction: column;

        align-items: stretch;

        gap: 15px;

    }

    

    /* Filter Form Mobile */

    .filter-form {

        padding: 15px;

    }

    

    .filters {

        grid-template-columns: 1fr;

        gap: 12px;

    }

    

    .filters .form-group {

        margin-bottom: 0;

    }

    

    .filters .form-group:last-child {

        grid-column: 1;

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

    }

    

    .filters .form-group:last-child .btn {

        width: 100%;

    }

    

    .date-range-fields {

        grid-column: 1;

    }

    

    .date-range-fields .input-group {

        flex-direction: column;

        align-items: stretch;

    }

    

    .date-range-fields .input-group span {

        text-align: center;

        padding: 5px 0;

    }

    

    /* Quick Filter Buttons Mobile */

    .filter-buttons .btn-group {

        flex-direction: column;

    }

    

    .filter-buttons .btn-filter {

        text-align: center;

        padding: 10px;

    }

    

    /* Stats Summary Mobile */

    .stats-summary {

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

    }

    

    .stat-box {

        padding: 12px;

    }

    

    .stat-box .number {

        font-size: 20px;

    }

    

    /* List Agenda Cards */

    .card-header {

        flex-direction: column;

        align-items: stretch;

    }

    

    .card-actions {

        justify-content: space-between;

        width: 100%;

    }

    

    .card-header h4 {

        font-size: 16px;

    }

    

    .agenda-date-heading {

        font-size: 14px;

        padding: 10px 16px;

    }

    

    /* Agenda Date Groups Responsive */

    .agenda-date-group:nth-child(odd),

    .agenda-date-group:nth-child(even) {

        padding: 20px 10px 5px;

        margin-left: -5px;

        margin-right: -5px;

    }

    

    .list-agenda-card::after {

        left: 10px;

        right: 10px;

    }

    

    /* Tables */

    .table {

        font-size: 14px;

    }

    

    .table th,

    .table td {

        padding: 8px;

    }

    

    /* Buttons */

    .action-buttons {

        justify-content: center;

    }

    

    .actions {

        flex-direction: column;

    }

    

    .actions .btn {

        width: 100%;

    }

    

    /* Container */

    .container {

        padding: 15px;

    }

}



@media (max-width: 480px) {

    .login-box {

        padding: 30px 20px;

    }

    

    .stat-card {

        padding: 20px;

    }

    

    .stat-card h3 {

        font-size: 28px;

    }

    

    .stats-summary {

        grid-template-columns: 1fr;

    }

    

    .filters .form-control {

        font-size: 16px; /* Mencegah zoom di iOS */

    }

    

    /* List Agenda Cards Mobile */

    .card-body p {

        display: flex;

        flex-direction: column;

        gap: 4px;

    }

    

    .card-body strong {

        min-width: auto;

        margin-bottom: 2px;

    }

    

    .badges {

        justify-content: flex-start;

    }

    

    .card-actions {

        flex-direction: column;

        align-items: stretch;

    }

    

    .card-actions b {

        width: 100%;

        margin-bottom: 8px;

    }

}

/* ===== PRINT STYLES ===== */

@media print {

    body * {

        visibility: hidden;

    }

    

    .print-container, .print-container * {

        visibility: visible;

    }

    

    .print-container {

        position: absolute;

        left: 0;

        top: 0;

        width: 100%;

        padding: 0;

        margin: 0;

        background: white;

    }

    

    .no-print {

        display: none !important;

    }

    

    .list-agenda-card {

        break-inside: avoid;

        border: 1px solid #ddd !important;

        box-shadow: none !important;

        margin-bottom: 15px !important;

    }

    

    .card-header {

        background: #f5f5f5 !important;

        border-bottom: 1px solid #ddd !important;

    }

    

    .btn, .action-buttons, .export-actions, .filter-form, .pagination, .nav-links, .main-header {

        display: none !important;

    }

    

    .date-header {

        background: #e8f4f8 !important;

        border: 1px solid #b8daff !important;

    }

    

    .badge {

        border: 1px solid #ddd !important;

    }

}



/* Print Container Styles */

.print-container {

    max-width: 800px;

    margin: 0 auto;

    padding: 20px;

}



.print-container .header {

    text-align: center;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom: 2px solid #2c3e50;

}



.print-container .header h1 {

    color: #2c3e50;

    margin-bottom: 10px;

    font-size: 24px;

}



.print-container .summary {

    background: #f8f9fa;

    padding: 15px;

    border-radius: 8px;

    margin-bottom: 30px;

    border-left: 4px solid #3498db;

    font-size: 14px;

}



.print-container .date-group {

    margin-bottom: 30px;

    page-break-inside: avoid;

}



.print-container .date-header {

    background: #e8f4f8;

    padding: 10px 15px;

    border-radius: 6px;

    font-weight: bold;

    margin-bottom: 15px;

    border-left: 4px solid #3498db;

}



.print-container .agenda-card {

    border: 1px solid #ddd;

    border-radius: 6px;

    margin-bottom: 15px;

    overflow: hidden;

}



.print-container .card-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding: 12px;

    background: #f9f9f9;

    border-bottom: 1px solid #ddd;

}



.print-container .card-header h4 {

    margin: 0 0 8px 0;

    font-size: 16px;

}



.print-container .card-time {

    font-weight: bold;

    color: #2c3e50;

    background: white;

    padding: 4px 8px;

    border-radius: 4px;

    border: 1px solid #ddd;

}



.print-container .badges {

    display: flex;

    gap: 6px;

    flex-wrap: wrap;

}



.print-container .badge {

    padding: 3px 8px;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 600;

}



.print-container .card-body {

    padding: 12px;

    font-size: 13px;

}



.print-container .card-body p {

    margin-bottom: 8px;

    line-height: 1.5;

}



.print-container .footer {

    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid #ddd;

    text-align: center;

    color: #666;

    font-size: 12px;

}



/* ===== MOBILE NAVIGATION ===== */

@media (max-width: 768px) {

  .nav-toggle {

    display: inline-block !important;

  }

  

  .header-content {

    position: relative;

  }

  

  .nav-links {

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    background: #2c3e50;

    flex-direction: column;

    padding: 12px 16px;

    gap: 10px;

    display: none;

    border-top: 1px solid rgba(255,255,255,0.1);

    z-index: 1300;

    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

  }

  

  .nav-links.open {

    display: flex !important;

  }

  

  .nav-links a,

  .nav-links .user-info {

    width: 100%;

    padding: 12px;

    background: rgba(255,255,255,0.06);

    border-radius: 6px;

    display: block;

  }

  

  .nav-links a:hover {

    background: rgba(255,255,255,0.12);

  }

  

  .container {

    padding: 15px;

  }

  

  .list-page-header {

    flex-direction: column;

    align-items: flex-start;

    gap: 15px;

  }

  

  .editor-container {

    grid-template-columns: 1fr;

  }

  

  .editor-sidebar {

    position: static;

  }

}



/* Styling untuk briefing sheet */

.briefing-container {

    font-family: 'Arial', sans-serif;

    margin: 40px auto;

    max-width: 800px;

    background: white;

    padding: 40px;

    box-shadow: 0 0 20px rgba(0,0,0,0.1);

    border-radius: 8px;

}



.briefing-header h1 {

    font-size: 20px;

    font-weight: bold;

    margin-bottom: 5px;

}



.briefing-header h2 {

    font-size: 18px;

    font-weight: normal;

    margin-bottom: 20px;

}



.briefing-header hr {

    border: 1px solid #000;

    margin: 20px 0;

}



.briefing-content {

    line-height: 1.6;

}



.briefing-content h3 {

    font-size: 16px;

    font-weight: bold;

    margin-top: 20px;

    margin-bottom: 10px;

    border-left: 4px solid #2a7ae2;

    padding-left: 10px;

}



.briefing-content ul, .briefing-content ol {

    margin-left: 20px;

    margin-bottom: 15px;

}



.briefing-content li {

    margin-bottom: 5px;

}



.briefing-footer {

    margin-top: 40px;

    font-size: 14px;

    color: #555;

    border-top: 1px solid #ddd;

    padding-top: 20px;

}



.action-buttons {

  display: flex;

  gap: 6px;

  flex-wrap: wrap;

}



.action-buttons .btn {

  display: inline-block;

  padding: 4px 12px;

  font-size: 12px;

  font-weight: 500;

  text-decoration: none;

  border-radius: 4px;

  border: 1px solid #ddd;

  background-color: #f8f9fa;

  color: #333;

  cursor: pointer;

  transition: all 0.2s ease;

  text-align: center;

  line-height: 1.5;

}



.action-buttons .btn:hover {

  background-color: #e9ecef;

  border-color: #adb5bd;

  transform: translateY(-1px);

}



.action-buttons .btn-danger {

  background-color: #dc3545;

  color: white;

  border-color: #dc3545;

}



.action-buttons .btn-danger:hover {

  background-color: #c82333;

  border-color: #bd2130;

}



/* Warna khusus untuk tombol Edit */

.action-buttons a[href*="editor.php"] {

  background-color: #007bff;

  color: white;

  border-color: #007bff;

}



.action-buttons a[href*="editor.php"]:hover {

  background-color: #0056b3;

  border-color: #0056b3;

}



/* Warna khusus untuk tombol Preview */

.action-buttons a[href*="preview.php"] {

  background-color: #28a745;

  color: white;

  border-color: #28a745;

}



.action-buttons a[href*="preview.php"]:hover {

  background-color: #218838;

  border-color: #1e7e34;

}



/* Warna khusus untuk tombol Copy */

.action-buttons a[href*="save_copy.php"] {

  background-color: #ffc107;

  color: #212529;

  border-color: #ffc107;

}



.action-buttons a[href*="save_copy.php"]:hover {

  background-color: #e0a800;

  border-color: #d39e00;

}

/* Session Timer Styles */
.session-timer {
    transition: all 0.3s ease;
    cursor: pointer;
}

.session-timer:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.session-timer.warning {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
}