/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    padding: 20px 15px;
}

.container {
    max-width: 950px;
    margin: 0 auto;
}

/* Header Aplikasi */
.app-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.app-header h1 {
    font-size: 22px;
    color: #2d3748;
    margin-bottom: 5px;
}

.app-header p {
    font-size: 14px;
    color: #718096;
}

/* Notifikasi */
.notification {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    background-color: #e6fffa;
    border-left: 4px solid #319795;
    color: #234e52;
    font-size: 14px;
}

/* Kartu Bagian */
.upload-card, .file-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.upload-card h2, .file-card h2 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Upload */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-input {
    padding: 12px;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    background-color: #f7fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: #3182ce;
    background-color: #ebf8ff;
}

/* Tombol */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
}

.btn-primary:hover {
    background-color: #2b6cb0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-success {
    background-color: #38a169;
    color: white;
}

.btn-success:hover {
    background-color: #2f855a;
}

.btn-danger {
    background-color: #e53e3e;
    color: white;
}

.btn-danger:hover {
    background-color: #c53030;
}

/* Tabel File */
.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.file-table th {
    background-color: #f7fafc;
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    border-bottom: 2px solid #e2e8f0;
}

.file-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #2d3748;
    font-size: 14px;
}

.file-table tr:hover {
    background-color: #f7fafc;
}

.action-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    color: #a0aec0;
    padding: 30px !important;
}

/* Footer */
.app-footer {
    text-align: center;
    padding: 15px;
    color: #718096;
    font-size: 13px;
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .app-header h1 {
        font-size: 18px;
    }
    .upload-card, .file-card {
        padding: 18px;
    }
    .file-table th, .file-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
}
