/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    min-height: 100vh;
    color: #333;
    padding: 20px;
}

/* Container Utama */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 90vh;
}

/* Header Styles */
.header {
    background: linear-gradient(to right, #0d47a1, #1565c0);
    color: white;
    padding: 25px 40px;
    border-bottom: 5px solid #ffc107;
    position: relative;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.header p {
    font-size: 16px;
    opacity: 0.9;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.user-info span {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.logout-btn {
    background-color: #ffc107;
    color: #1a237e;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.logout-btn:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Dashboard Container */
.dashboard-container {
    padding: 30px 40px;
    min-height: 500px;
}

.section-title {
    font-size: 22px;
    color: #1a237e;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
    font-weight: 600;
}

/* Menu Grid Styles */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.menu-card {
    background: #f5f7ff;
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #3949ab;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #ffc107;
}

.menu-card:hover .menu-icon {
    transform: scale(1.1);
    color: #ffc107;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3949ab, #ffc107);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-card:hover::before {
    transform: scaleX(1);
}

.menu-icon {
    font-size: 32px;
    color: #3949ab;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.menu-card h3 {
    font-size: 18px;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.access-btn {
    background-color: #3949ab;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.access-btn:hover {
    background-color: #283593;
    transform: translateY(-2px);
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8eaf6;
}

.dashboard-link, .admin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.dashboard-link {
    background: linear-gradient(to right, #e8eaf6, #c5cae9);
    color: #3949ab;
}

.dashboard-link:hover {
    background: linear-gradient(to right, #3949ab, #283593);
    color: white;
    transform: translateY(-2px);
}

.admin-link {
    background: linear-gradient(to right, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

.admin-link:hover {
    background: linear-gradient(to right, #2e7d32, #1b5e20);
    color: white;
    transform: translateY(-2px);
}

/* Footer Styles */
.footer {
    background-color: #f5f7ff;
    padding: 25px 40px;
    text-align: center;
    border-top: 1px solid #e8eaf6;
    color: #666;
    font-size: 14px;
}

.footer p {
    margin-bottom: 5px;
}

.footer a {
    color: #3949ab;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* Login Container Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: #f5f7ff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    color: #1a237e;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3949ab;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.1);
}

.btn-primary {
    width: 100%;
    background-color: #3949ab;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: #283593;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Alert Styles */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert i {
    margin-top: 2px;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-info {
    background-color: #e8eaf6;
    color: #3949ab;
    border-left: 4px solid #3949ab;
    margin-top: 20px;
    line-height: 1.6;
}

.alert-info code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .header, .dashboard-container, .footer {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .user-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .dashboard-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px;
    }
    
    .menu-card {
        padding: 20px;
    }
    
    body {
        padding: 10px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
}

.modal-header h3 {
    color: #1a237e;
    font-size: 20px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-body {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-primary {
    background-color: #3949ab;
    color: white;
}

.modal-btn-primary:hover {
    background-color: #283593;
}

.modal-btn-secondary {
    background-color: #e8eaf6;
    color: #3949ab;
}

.modal-btn-secondary:hover {
    background-color: #c5cae9;
}

/* laporan.css */

/* Saldo Card */
.saldo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.saldo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.saldo-header h3 {
    margin: 0;
    font-size: 18px;
}

.saldo-period {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.saldo-body {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.saldo-item {
    flex: 1;
    min-width: 200px;
}

.saldo-item span {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.saldo-amount, .expense-amount, .balance-amount {
    font-size: 24px;
    font-weight: bold;
}

.saldo-amount {
    color: #4cd137;
}

.expense-amount {
    color: #ff9ff3;
}

.balance-amount {
    color: #feca57;
}

/* Filter Section */
.filter-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
}

.filter-form {
    margin-top: 15px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    transition: border 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
}

.filter-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn, .export-btn, .print-btn, .export-btn.pdf {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.filter-btn {
    background: #3498db;
    color: white;
}

.filter-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.export-btn {
    background: #27ae60;
    color: white;
}

.export-btn:hover {
    background: #219653;
    transform: translateY(-2px);
}

.export-btn.pdf {
    background: #e74c3c;
}

.export-btn.pdf:hover {
    background: #c0392b;
}

.print-btn {
    background: #95a5a6;
    color: white;
}

.print-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 5px solid;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.total {
    border-left-color: #3498db;
}

.stat-card.draft {
    border-left-color: #6c757d;
}

.stat-card.submitted {
    border-left-color: #17a2b8;
}

.stat-card.validated {
    border-left-color: #ffc107;
}

.stat-card.approved {
    border-left-color: #28a745;
}

.stat-card.paid {
    border-left-color: #007bff;
}

.stat-card.rejected {
    border-left-color: #dc3545;
}

.stat-card.amount {
    border-left-color: #9b59b6;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card.total .stat-icon {
    background: #e3f2fd;
    color: #3498db;
}

.stat-card.draft .stat-icon {
    background: #f8f9fa;
    color: #6c757d;
}

.stat-card.submitted .stat-icon {
    background: #e3f2fd;
    color: #17a2b8;
}

.stat-card.validated .stat-icon {
    background: #fff3cd;
    color: #ffc107;
}

.stat-card.approved .stat-icon {
    background: #d4edda;
    color: #28a745;
}

.stat-card.paid .stat-icon {
    background: #d1ecf1;
    color: #007bff;
}

.stat-card.rejected .stat-icon {
    background: #f8d7da;
    color: #dc3545;
}

.stat-card.amount .stat-icon {
    background: #f3e5f5;
    color: #9b59b6;
}

.stat-info h3 {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.stat-number {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #2c3e50;
}

.stat-desc {
    font-size: 12px;
    color: #95a5a6;
    margin: 5px 0 0 0;
}

/* Table Card */
.table-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.table-header h3 {
    margin: 0;
    color: #2c3e50;
}

.table-subtitle {
    color: #7f8c8d;
    font-size: 14px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.data-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.data-table tbody tr:hover {
    background: #f9f9f9;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.status-draft {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.status-diajukan {
    background: #d1ecf1;
    color: #0c5460;
}

.status-divalidasi {
    background: #fff3cd;
    color: #856404;
}

.status-disetujui {
    background: #d4edda;
    color: #155724;
}

.status-dibayar {
    background: #cce5ff;
    color: #004085;
}

.status-ditolak {
    background: #f8d7da;
    color: #721c24;
}

/* Text utilities */
.text-small {
    font-size: 12px;
    line-height: 1.4;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-detail, .btn-pay, .btn-proof {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-detail {
    background: #3498db;
    color: white;
}

.btn-detail:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.btn-pay {
    background: #27ae60;
    color: white;
}

.btn-pay:hover {
    background: #219653;
    transform: scale(1.1);
}

.btn-proof {
    background: #9b59b6;
    color: white;
}

.btn-proof:hover {
    background: #8e44ad;
    transform: scale(1.1);
}

/* Total Row */
.total-row {
    font-size: 16px;
    color: #2c3e50;
}

/* Chart Section */
.chart-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chart-card h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 16px;
}

.chart-container {
    height: 250px;
    position: relative;
}

/* Print Styles */
@media print {
    .saldo-card,
    .filter-card,
    .filter-actions,
    .chart-section,
    .user-actions,
    .footer,
    .action-buttons {
        display: none !important;
    }
    
    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .table-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .data-table {
        font-size: 11px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px;
    }
    
    .stats-grid {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-actions {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-section {
        grid-template-columns: 1fr;
    }
    
    .saldo-body {
        flex-direction: column;
        gap: 15px;
    }
}

/* Tambahkan style ini ke file style.css yang sudah ada */

/* Form Styles */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.textarea-control {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    background: #2c3e50;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #34495e;
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* History Table */
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.history-table th,
.history-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.history-table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Form Header */
.form-header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    margin: -30px -30px 30px -30px;
}

.required::after {
    content: " *";
    color: #e74c3c;
}

/* Responsive Table */
.table-responsive {
    overflow-x: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
    
    .form-header {
        margin: -20px -20px 20px -20px;
        padding: 15px;
    }
    
    .history-table th,
    .history-table td {
        padding: 8px;
        font-size: 14px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}


/* Tambahkan ke style.css */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.table tr:hover {
    background: #f8f9fa;
}

.table-responsive {
    overflow-x: auto;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
}

.btn-cancel {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.text-muted {
    color: #6c757d;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.form-section-title {
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    color: #2c3e50;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #3498db;
}

/* Tambahkan di file style.css yang sudah ada */

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.ml-10 { margin-left: 10px; }
.mr-10 { margin-right: 10px; }

/* Button Styles */
.btn-primary {
    background: #4a6baf;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #3a5b9f;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-menunggu { background: #ffc107; color: #212529; }
.status-diproses { background: #17a2b8; color: white; }
.status-disetujui { background: #28a745; color: white; }
.status-ditolak { background: #dc3545; color: white; }
.status-selesai { background: #6c757d; color: white; }

/* Table Styling */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th {
    background: #4a6baf;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

table tr:hover {
    background: #f8f9fa;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Quick Info Box */
.quick-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4a6baf;
}

.quick-info h4 {
    color: #2c3e50;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-info ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.quick-info li {
    margin-bottom: 8px;
    color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .dashboard-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .dashboard-actions, .action-buttons {
        display: none;
    }
    
    .detail-container {
        box-shadow: none;
        padding: 0;
    }
}

/* assets/css/style.css */
.form-section {
    border-left: 4px solid #0d6efd;
    padding-left: 15px;
    margin-bottom: 30px;
}

.form-section h5 {
    color: #0d6efd;
    font-weight: 600;
}

.card {
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: none;
}

.card-header {
    border-bottom: 3px solid rgba(255,255,255,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.required:after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.invalid-feedback {
    display: block;
    margin-top: 5px;
}

