* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    background: #f4f6f9;
}

/* HEADER */
.header {
    background: #1e88e5;
    color: #fff;
    padding: 20px;
}

.header h1 {
    margin: 0;
}

.header span {
    font-size: 14px;
    opacity: 0.9;
}

/* MAIN CONTAINER */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

/* BOXES */
.box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.box h3 {
    margin-top: 0;
}

/* FORM */
label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

button {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: #1e88e5;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #1565c0;
}

/* RESULT */
.summary p {
    font-size: 16px;
    margin: 10px 0;
}

.muted {
    color: #777;
}

/* TABLE */
.table-box {
    background: #fff;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #1e88e5;
    color: #fff;
    padding: 10px;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background: #f1f1f1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f6;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: #1e88e5;
    color: #fff;
}

.page-btn.active {
    background: #1e88e5;
    color: #fff;
    box-shadow: 0 4px 10px rgba(30,136,229,0.4);
}

.summary p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding: 6px 0;
}

.summary p:last-child {
    border-bottom: none;
}
