body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg,#1e3c72,#2a5298);
    min-height:100vh;
    overflow-y:auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2a5298;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    width: 100%;
    padding: 10px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #1e3c72;
}

a {
    display: block;
    text-align: center;
    margin-top: 12px;
    text-decoration: none;
    color: #2a5298;
}

a:hover {
    text-decoration: underline;
}

.alert {
    background: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 6px;
}
.alert.error,
.alert.danger {
    background-color: #dc2626;
    color: white;
}
textarea {
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: none;
}
/* ===== ADMIN PAGE ===== */

.admin-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.admin-card {
    width: 800px;
}

.table-data {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table-data th {
    background: #2a5298;
    color: white;
    padding: 10px;
}

.table-data td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-data tr:hover {
    background: #f2f2f2;
}

.action-group {
    margin-top: 15px;
    text-align: center;
}

.btn-link {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    background: #2a5298;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-link:hover {
    background: #1e3c72;
}
.filter-box {
    margin-bottom: 15px;
    text-align: center;
}

.filter-box select {
    padding: 8px;
    border-radius: 6px;
    margin-right: 10px;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.stat-box {
    flex: 1;
    background: #f4f6fb;
    padding: 15px;
    border-radius: 10px;
}

.pagination {
    display: flex;              /* bikin horizontal */
    justify-content: center;    /* posisi tengah */
    gap: 8px;                   /* jarak antar nomor */
    margin-top: 10px;
}

.pagination a {
    padding: 5px 12px;
    background: #2a5298;
    color: white;
    border-radius: 4px;
    text-decoration: none;

    display: inline-block;      /* penting: jangan full width */
    width: auto;                /* pastikan tidak melebar */
}

.logout {
    float: right;
    background: #e74c3c;
}

.logout:hover {
    background: #c0392b;
}
select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.filter-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination a.active {
    background: #3da1ff;
    color: white;
    font-weight: bold;
}

.login-container {
    height: 100vh;
    display: flex;
    flex-direction: column;   /* supaya judul di atas */
    justify-content: center;
    align-items: center;
}
.page-header {
    text-align: center;
    margin-bottom: 25px;
}

.system-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.hotel-name {
    margin-top: 6px;
    font-size: 16px;
    color: #d6e3f3;
    letter-spacing: 1px;
}

.login-card {
    width: 400px;
    padding: 40px;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}