/* =====================
   GLOBAL
===================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
}

.container {
    width: 85%;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h2 {
    text-align: center;
    color: #2c3e50;
}

/* =====================
   LINK & MENU
===================== */
a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

a:hover {
    color: #1abc9c;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.menu li:last-child {
    border-bottom: none;
}

/* =====================
   TABLE
===================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th {
    background: #3498db;
    color: white;
    padding: 10px;
    text-align: center;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

table tr:hover {
    background: #f1f1f1;
}

/* =====================
   BUTTON (FIX PERMANEN)
===================== */
.btn,
button {
    padding: 10px 15px;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    min-width: 90px;
    text-align: center;
    cursor: pointer;
    border: none;
    opacity: 1;
    visibility: visible;
}

.btn-primary {
    background: #3498db;
}

.btn-warning {
    background: #f39c12;
}

.btn-danger {
    background: #e74c3c;
}

button {
    background: #2ecc71;
}

.btn:hover,
button:hover {
    opacity: 0.9;
}

/* =====================
   ACTION BUTTON
===================== */
.action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

table td:last-child {
    width: 170px;
}

/* =====================
   FORM
===================== */
form {
    max-width: 500px;
    margin: 0 auto;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin: 5px 0 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

form button,
form .btn {
    margin-top: 10px;
}

/* =====================
   SEARCH BOX
===================== */
.search-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.search-box input {
    width: 260px;
    padding: 7px;
}
