* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    background: url('/assets/images/sanca.png') no-repeat center top/cover;
}

.overlay {
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background: rgba(245, 243, 243, 0.3);
    backdrop-filter: blur(10px);
    padding: 35px;
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h2 {
    margin-bottom: 5px;
}

.form-header p {
    font-size: 14px;
    color: #eceaea;
}

form input,
form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

form input:focus,
form select:focus {
    border-color: #0078D4;
    outline: none;
}

.row {
    display: flex;
    gap: 10px;
}

.row input {
    flex: 1;
}

.form-action {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.form-action button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #0078D4;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.form-action button:hover {
    background: #005fa3;
}

.btn-cancel {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: #aaa;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-cancel:hover {
    background: #888;
}

.alert-success {
    background: #28a745;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================
   DASHBOARD STYLE
========================= */

.dashboard-header {
    background: #1e3a8a;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 22px;
}

.dashboard-header button {
    background: #ef4444;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.dashboard-container {
    padding: 30px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.dashboard-action {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dashboard-action input {
    width: 200px;
}

.scroll-box {
    max-height: 500px;
    overflow: auto;
}

.dashboard-table thead th {
    position: sticky;
    top: 0;
    background: #1e3a8a;
    z-index: 2;
}

.dashboard-table thead {
    background: #1e3a8a;
    color: white;
}

.dashboard-table th,
.dashboard-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.dashboard-table tr:hover {
    background: #f3f4f6;
}

/* badge */

.badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fef3c7;
    color: #f00b04;
}

/* button confirm */

.btn-confirm {
    background: #10b981;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.btn-confirm:hover {
    background: #059669;
}



/* button danger */

.btn-danger {
    background: #ef4444;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.btn-danger:hover {
    background: #d80808;
}

/* ======================
DASHBOARD ADMIN
======================*/

body.dashboard {
    background: #f4f6f9;
}

.dashboard-header {
    background: #1e3a8a;
    color: white;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 22px;
}

.dashboard-header button {
    background: #ef4444;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.dashboard-container {
    padding: 30px;
}

/* statistik */

.stat-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    flex: 1;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.stat-title {
    font-size: 14px;
    color: #fcfafa;
}

.stat-value {
    font-size: 26px;
    font-weight: bold;
    margin-top: 5px;
}

/* table */



.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;

}

.dashboard-table th {
    background: #1e3a8a;
    color: white;
    padding: 10px;

}

.dashboard-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.dashboard-table tr:hover {
    background: #f9fafb;
}


/* button */

.btn-confirm {
    background: #10b981;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.btn-confirm:hover {
    background: #059669;
}

.btn-danger {
    background: #c51306;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.btn-danger:hover {
    background: #c51306;
}

/* warna stat card */

.stat-total {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.stat-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.stat-confirm {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.stat-reject {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.stat-card {
    flex: 1;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.stat-title {
    font-size: 14px;
    opacity: 0.9;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    margin-top: 5px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 12px;

    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;
    color: #444;

    text-decoration: none;

    cursor: pointer;
    transition: 0.3s;
}

.google-btn img {
    width: 20px;
    height: 20px;
}

.google-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

header {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
    color: white;

}

header button {

    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: #0078D4;
    color: white;
    cursor: pointer;

}

.container {

    display: flex;
    justify-content: center;
    margin-top: 30px;

}

.modal {

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);

    justify-content: center;
    align-items: center;

    z-index: 999;
}

.modal-content {

    background: white;

    padding: 30px;

    border-radius: 12px;

    width: 400px;

}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content input {

    width: 100%;
    padding: 10px;
    margin-bottom: 10px;

}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(219, 213, 213, 0.6);
    color: #0e0e0e;
}

.header-menu {
    display: flex;
    gap: 15px;
}

.menu-btn {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    background: #0078D4;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.menu-btn:hover {
    background: #005fa3;
}

.logout-btn {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    background: #dc3545;
    color: white;
}

.logout-btn:hover {
    background: #b02a37;
}

table.dataTable {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

table.dataTable thead {
    background: #0d426b;
    color: white;
}

table.dataTable thead th {
    padding: 12px;
}

table.dataTable tbody td {
    padding: 10px;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.dataTables_wrapper .dataTables_length select {
    padding: 5px;
}

.header-left {
    display: flex;
    align-items: center;
    /* sejajarkan vertikal */
    gap: 10px;
    /* jarak logo dengan teks */
}

.header-left .logo {
    height: 40px;
    /* ukuran logo */
    width: auto;
    /* biar proporsional */
}

.header-left h1 {
    font-size: 22px;
    margin: 0;
}