/* style.css - Stylesheet untuk Sistem Pengaduan Desa Pengempon */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@keyframes headerShine {

    0%,
    100% {
        background: linear-gradient(135deg, #1a252f, #2c3e50);
    }

    50% {
        background: linear-gradient(135deg, #243342, #34495e);
    }
}

.header {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: headerShine 6s ease-in-out infinite;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 700;
}

.header p {
    font-size: 1.2em;
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.nav {
    background: rgba(44, 62, 80, 0.9);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav li {
    margin: 0 15px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    text-shadow: none;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover,
.nav a.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.card {
    background: rgba(44, 62, 80, 0.9);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0.3px;
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
    z-index: 10;
}

.form-group select option {
    background: #2c3e50;
    color: #ffffff;
    padding: 10px;
    border: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.form-group small {
    color: #ecf0f1;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    font-style: normal;
    font-weight: 500;
}

.btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #219a52);
}

.btn-success:hover {
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.btn-warning:hover {
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-danger:hover {
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.alert {
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 5px solid;
    backdrop-filter: blur(10px);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: rgba(212, 237, 218, 0.9);
    color: #155724;
    border-left-color: #27ae60;
}

.alert-danger {
    background: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border-left-color: #e74c3c;
}

.alert-info {
    background: rgba(209, 236, 241, 0.9);
    color: #0c5460;
    border-left-color: #3498db;
}

.alert-warning {
    background: rgba(255, 243, 205, 0.9);
    color: #856404;
    border-left-color: #f39c12;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(44, 62, 80, 0.9);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #16a085);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(135deg, #3498db, #16a085);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: #ecf0f1;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
}

.table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(44, 62, 80, 0.9);
    border-radius: 15px;
    overflow: hidden;
    color: #ffffff;
}

.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f1f3f4;
    color: #2c3e50;
    font-size: 14px;
}

.table th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    font-weight: 600;
    color: #2c3e50;
    text-transform: none;
    letter-spacing: 0.3px;
    font-size: 15px;
}

.table tr {
    transition: all 0.3s ease;
}

.table tr:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.01);
}

.status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-baru {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #f39c12;
}

.status-diproses {
    background: linear-gradient(135deg, #cce5ff, #74b9ff);
    color: #004085;
    border: 1px solid #3498db;
}

.status-selesai {
    background: linear-gradient(135deg, #d4edda, #00b894);
    color: #155724;
    border: 1px solid #27ae60;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(44, 62, 80, 0.95);
    margin: 50px auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.close:hover {
    color: #ffffff;
    background: rgba(231, 76, 60, 0.8);
    border-color: #e74c3c;
    transform: rotate(90deg);
}

.filter-form {
    margin-bottom: 20px;
    background: rgba(44, 62, 80, 0.7);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 5;
}

.filter-form .form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
    position: relative;
}

.filter-form .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 10px;
    position: relative;
}

.filter-form .form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-form .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 10px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.admin-header h2 {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-weight: 600;
}

.admin-info span {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 12px 18px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(44, 62, 80, 0.7);
}

.pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.pagination .current {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #3498db;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.empty-state {
    text-align: center;
    padding: 50px;
    color: #ecf0f1;
    background: rgba(44, 62, 80, 0.7);
    border-radius: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.empty-state h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 1.5rem;
}

.back-button {
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.detail-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.detail-table td:first-child {
    font-weight: 600;
    width: 30%;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.photo-preview {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-preview:hover {
    transform: scale(1.05);
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
    cursor: pointer;
}

input[type="checkbox"]:indeterminate {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

/* Bulk actions styling */
.bulk-actions {
    background: rgba(44, 62, 80, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.bulk-actions select,
.bulk-actions input[type="text"] {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
}

.bulk-actions select:focus,
.bulk-actions input[type="text"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

/* Selected count styling */
#selectedCount {
    font-weight: 700;
    padding: 5px 10px;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(52, 152, 219, 0.5);
    color: #ffffff;
}

/* Table row selection highlight */
.table tbody tr:has(.pengaduan-checkbox:checked) {
    background: rgba(52, 152, 219, 0.3) !important;
    border-left: 4px solid #3498db;
}

.table tbody tr:has(.pengaduan-checkbox:checked):hover {
    background: rgba(52, 152, 219, 0.4) !important;
}

/* Action buttons in table */
.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: auto;
    font-weight: 600;
    text-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-buttons .btn-small {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff;
}

.action-buttons .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #ffffff;
}

.action-buttons .btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #ffffff;
}

/* Responsive table for mobile */
@media (max-width: 768px) {
    .bulk-actions>form>div {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .bulk-actions select,
    .bulk-actions input[type="text"] {
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
        gap: 3px;
    }

    .action-buttons .btn {
        width: 100%;
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav li {
        margin: 5px 0;
    }

    .nav a {
        width: 100%;
        text-align: center;
    }

    .container {
        padding: 10px;
    }

    .card {
        padding: 20px;
    }

    .table {
        font-size: 14px;
    }

    .filter-form .form-row {
        flex-direction: column;
    }

    .filter-form .form-group {
        min-width: 100%;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5em;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination a,
    .pagination .current {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .modal-content {
        margin: 20px;
        padding: 20px;
    }

    .table th,
    .table td {
        padding: 8px;
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: #ecf0f1;
    }

    .card {
        background: rgba(52, 73, 94, 0.9);
        color: #ecf0f1;
    }

    .nav {
        background: rgba(52, 73, 94, 0.9);
    }

    .table {
        background: rgba(52, 73, 94, 0.9);
        color: #ecf0f1;
    }

    .table th {
        background: rgba(44, 62, 80, 0.9);
        color: #ecf0f1;
    }

    .modal-content {
        background: rgba(52, 73, 94, 0.95);
        color: #ecf0f1;
    }
}

/* Enhanced text contrast for all elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Header specific styling */
.header h1,
.header h2,
.header h3,
.header h4,
.header h5,
.header h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.header p {
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

/* Admin header specific styling */
.admin-header h1,
.admin-header h2,
.admin-header h3,
.admin-header h4,
.admin-header h5,
.admin-header h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Card content styling */
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.card p,
.card div,
.card span,
.card li {
    color: #ecf0f1 !important;
    font-weight: 500;
    line-height: 1.6;
}

/* Navigation specific */
.nav a {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: none;
}

.nav a:hover,
.nav a.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Better alert text */
.alert {
    font-weight: 500;
    line-height: 1.5;
}

.alert-success {
    background: rgba(39, 174, 96, 0.2);
    color: #ffffff;
    border-left-color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.5);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.2);
    color: #ffffff;
    border-left-color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.5);
}

.alert-info {
    background: rgba(52, 152, 219, 0.2);
    color: #ffffff;
    border-left-color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.5);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.2);
    color: #ffffff;
    border-left-color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.5);
}

/* Ensure all text is visible */
.card * {
    color: #ffffff !important;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.card p,
.card div,
.card span,
.card li,
.card td,
.card th {
    color: #ffffff !important;
    font-weight: 500;
    line-height: 1.6;
}

/* Table specific fixes */
.table,
.table * {
    color: #ffffff !important;
}

.table th {
    background: linear-gradient(135deg, #1a252f, #2c3e50) !important;
    color: #ffffff !important;
}

.table td {
    background: rgba(44, 62, 80, 0.9) !important;
    color: #ffffff !important;
}

/* Navigation fixes */
.nav,
.nav * {
    color: #ffffff !important;
}

/* Form fixes */
.form-group label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Button text fixes */
.btn {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Statistics fixes */
.stat-number {
    background: linear-gradient(135deg, #3498db, #16a085);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #3498db;
}

.stat-label {
    color: #ffffff !important;
}

/* Better alert text */
.alert {
    font-weight: 500;
    line-height: 1.5;
}

.alert-success {
    background: rgba(212, 237, 218, 0.95);
    color: #0f5132;
    border-left-color: #27ae60;
}

.alert-danger {
    background: rgba(248, 215, 218, 0.95);
    color: #58151c;
    border-left-color: #e74c3c;
}

.alert-info {
    background: rgba(209, 236, 241, 0.95);
    color: #055160;
    border-left-color: #3498db;
}

.alert-warning {
    background: rgba(255, 243, 205, 0.95);
    color: #664d03;
    border-left-color: #ffc107;
}

/* Enhanced table text */
.table tbody tr {
    color: #2c3e50;
}

.table tbody tr:hover {
    background: rgba(52, 152, 219, 0.08);
    color: #2c3e50;
}

/* Better status text */
.status {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
}

.status-baru {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #664d03;
    border: 1px solid #f39c12;
}

.status-diproses {
    background: linear-gradient(135deg, #cce5ff, #74b9ff);
    color: #003d82;
    border: 1px solid #3498db;
}

.status-selesai {
    background: linear-gradient(135deg, #d4edda, #00b894);
    color: #0f2419;
    border: 1px solid #27ae60;
}

/* Enhanced form text */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #adb5bd;
    opacity: 0.6;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: #000 !important;
    }

    .header {
        background: linear-gradient(135deg, #1a252f, #2c3e50) !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    .header h1,
    .header p {
        color: #fff !important;
    }

    .nav,
    .btn,
    .alert,
    .modal {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        background: white !important;
        color: #000 !important;
        page-break-inside: avoid;
    }

    .card h1,
    .card h2,
    .card h3,
    .card h4,
    .card h5,
    .card h6 {
        color: #000 !important;
    }

    .card p,
    .card div,
    .card span {
        color: #000 !important;
    }

    .table {
        background: white !important;
        color: #000 !important;
    }

    .table th {
        background: #f8f9fa !important;
        color: #000 !important;
    }

    .table td {
        color: #000 !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #000 !important;
    }

    p,
    span,
    div {
        color: #000 !important;
    }
}