* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

a {
    color: #2b6cb0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background: #2b6cb0;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .brand {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.navbar .menu a {
    color: white;
    margin-left: 15px;
    font-size: 14px;
}

.navbar .menu a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Card */
.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Judul */
h1, h2, h3 {
    margin-bottom: 15px;
    color: #2b6cb0;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="month"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2b6cb0;
}

/* Tombol */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.btn:hover {
    background: #1e4e82;
    color: white;
    text-decoration: none;
}

.btn-hijau { background: #38a169; }
.btn-hijau:hover { background: #2f855a; }

.btn-merah { background: #e53e3e; }
.btn-merah:hover { background: #c53030; }

.btn-abu { background: #718096; }
.btn-abu:hover { background: #4a5568; }

.btn-kecil {
    padding: 4px 10px;
    font-size: 13px;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 14px;
}

table th {
    background: #e2e8f0;
    font-weight: bold;
}

table tr:nth-child(even) td {
    background: #f7fafc;
}

/* Alert */
.alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-sukses {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #38a169;
}

.alert-gagal {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #e53e3e;
}

.alert-info {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #3182ce;
}

/* Label status */
.label {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.label-hijau { background: #c6f6d5; color: #22543d; }
.label-kuning { background: #fefcbf; color: #744210; }
.label-merah { background: #fed7d7; color: #742a2a; }
.label-biru { background: #bee3f8; color: #2a4365; }
.label-abu { background: #e2e8f0; color: #4a5568; }

/* Grid kamar */
.grid-kamar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-kamar {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
}

.kamar-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.kamar-box .foto {
    height: 150px;
    background: #e2e8f0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 13px;
}

.kamar-box .isi {
    padding: 15px;
}

.kamar-box .harga {
    font-size: 18px;
    font-weight: bold;
    color: #2b6cb0;
    margin: 8px 0;
}

/* Admin layout */
.admin-wrap {
    display: flex;
    min-height: calc(100vh - 56px);
}

.admin-menu {
    width: 200px;
    background: #2d3748;
    padding: 15px 0;
}

.admin-menu a {
    display: block;
    padding: 10px 20px;
    color: #cbd5e0;
    font-size: 14px;
}

.admin-menu a:hover, .admin-menu a.aktif {
    background: #1a202c;
    color: white;
    text-decoration: none;
}

.admin-isi {
    flex: 1;
    padding: 20px;
    background: #f5f5f5;
}

/* Box statistik */
.stat-box {
    background: white;
    border: 1px solid #ddd;
    border-left: 4px solid #2b6cb0;
    padding: 15px;
    border-radius: 5px;
}

.stat-box .label-kecil {
    font-size: 12px;
    color: #718096;
}

.stat-box .angka {
    font-size: 24px;
    font-weight: bold;
    color: #2d3748;
    margin-top: 5px;
}

.grid-stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* Utility */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-abu { color: #718096; }
.text-merah { color: #e53e3e; }

footer {
    text-align: center;
    padding: 20px;
    color: #718096;
    font-size: 13px;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* Halaman print (cetak bukti) */
@media print {
    .no-print {
        display: none;
    }
}
