/* Background toàn bộ trang web */
body {
    font-family: Arial, sans-serif;
    background: url("../images/natra_hai.jpg") no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 20px;
}
header {
    color: rgb(0, 0, 0);
    padding: 10px;
}

.small-title {
    font-size: 22px;
    margin: 0;
}

.summary-container {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.summary-container h2 {
    color: #007bff;
    font-size: 20px;
}

.summary-container p {
    font-size: 16px;
    margin: 8px 0;
}

.hidden {
    display: none;
}

/* Bảng có bo tròn và căn chỉnh kích thước */
table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background: #007bff;
    color: white;
}

/* Cột rộng hơn */
.wide-col {
    width: 15%;
}

/* Cột nhỏ hơn */
.small-col {
    width: 25%;
}
.xoa-col {
    width: 5%;
}
/* Bo tròn input trong bảng */
td input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Nút bấm */
.btn-primary {
    padding: 8px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-secondary {
    padding: 6px 10px;
    background: #ffc107;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-success {
    padding: 6px 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-small {
    font-size: 14px;
    padding: 5px 8px;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 8px;
    cursor: pointer;
}

.back-btn {
    position: absolute;
    top: 10px;
    left: 10px;
}

.back-btn button {
    padding: 8px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.toast {
    visibility: hidden;
    min-width: 250px;
    background: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}
.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
