/* Reset cơ bản */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    text-align: center;
    padding: 20px;
    background-color:#5873cc;
    color: white;
}

h1 {
    margin: 0;
    font-size: 24px;
}

main {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
    color: #333;
}

/* Bảng hiển thị */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

table td input[type="number"] {
    width: 50px;
    text-align: center;
}

/* Form thông tin khách hàng */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Tổng tiền */
#cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}

#cart-summary strong {
    color:#5873cc;
}

/* Nút */
button {
    padding: 10px 20px;
    background-color:#5873cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color:#5873cc;
}

/* Responsive */
@media (max-width: 600px) {
    table {
        font-size: 14px;
    }

    table th, table td {
        padding: 8px;
    }

    button {
        width: 100%;
        font-size: 14px;
    }
}
/* Form phương thức thanh toán */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

.form-group label input[type="radio"] {
    margin-right: 10px;
}

.payment{
        min-width: 100px;
        background-color:#5873cc;
        font-size: 20px;
        padding: 16px 12px;
        text-decoration: none;
        color:#fff;
        border-radius: 25px;
}

.payment:hover{
    opacity:0.7;
}

.continue:hover{
    opacity:0.7;
    cursor:pointer;
}

.continue {
    margin-top: 36px;
    background-color:#5873cc;
    font-size: 20px;
    text-align: center;  /* Đảm bảo chữ nằm giữa */
    padding: 15px 0;  /* Tăng diện tích nút */
    color: #fff;
    border-radius: 25px;
    width: 100%;  /* Đảm bảo nút chiếm toàn bộ chiều rộng của container */
    max-width: 250px;  /* Đặt chiều rộng tối đa */
    display: inline-block;  /* Đảm bảo nút hiển thị inline-block */
}

.continue-shopping {
    display: block;  /* Đảm bảo phần tử 'a' chiếm toàn bộ diện tích */
    text-decoration: none;
    color: #fff;
    width: 100%;  /* Đảm bảo rằng liên kết chiếm toàn bộ chiều rộng của .continue */
    height: 100%;  /* Đảm bảo chiều cao của liên kết cũng bao phủ toàn bộ phần tử chứa */
}


