/* --- RESET DASAR --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
}

.hidden {
    display: none !important;
}


/* --- TAMPILAN LOGIN --- */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1d2671, #c33764);
}

.login-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    color: #1d2671;
    font-size: 32px;
    margin-bottom: 5px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.error-text {
    color: #e74c3c;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1d2671, #c33764);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}


/* --- TAMPILAN HALAMAN ADMIN --- */

.admin-body {
    background: #f4f7f6;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #1d2671;
    color: white;
    padding: 30px 0;
    height: 100vh;
    position: fixed;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-size: 22px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 15px 25px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 16px;
}

.sidebar ul li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #c33764;
}

.logout-btn {
    color: #ff7675 !important;
    font-weight: bold;
}

.content {
    margin-left: 250px;
    padding: 40px;
    color: #333;
}

.content h1 {
    margin-bottom: 25px;
    color: #1d2671;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}


/* DASHBOARD CARDS */

.dashboard-cards {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    text-align: center;
    border-top: 4px solid #c33764;
}

.card h3 {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.card p {
    font-size: 32px;
    font-weight: bold;
    color: #1d2671;
}


/* FORM TAMBAH PRODUK */

.form-admin {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-admin input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-admin button {
    padding: 12px 25px;
    background: #1d2671;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}


/* TABEL ADMIN (MENGGANTIKAN LIST/UL) */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #1d2671;
    color: white;
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: #f9f9f9;
}


/* TOMBOL AKSI DALAM TABEL */

.btn-hapus {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.btn-verifikasi {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}


/* LABEL STATUS */

.status-menunggu {
    background: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-selesai {
    background: #27ae60;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}
.admin-body {
    background: #f4f7f6 !important;
}

.btn-kuning{
    background:#ffc107;
    color:black;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    font-weight:bold;
}

.btn-hijau{
    background:#28a745;
    color:white;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    font-weight:bold;
    cursor:not-allowed;
}

.status-kuning{
    background:#ffc107;
    color:black;
    padding:6px 12px;
    border-radius:20px;
    font-weight:bold;
}

.status-hijau{
    background:#28a745;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-weight:bold;
}