/* ============================= */
/* Fonts & Reset */
/* ============================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Montserrat', sans-serif;
}

/* ============================= */
/* Body & Containers */
/* ============================= */
.payment-page {
    line-height: 1rem;
    font-size: 14px;
    padding: 10px;
}

.container.payment-container {
    border-radius: 25px;
    background-color: #eee;
}

/* ============================= */
/* Navbar */
/* ============================= */
nav {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    background-color: white;
}

.navbar-brand {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
}

/* ============================= */
/* Cards & Ribbon */
/* ============================= */
.order .card,
.delivery .card {
    position: relative;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 10px 5px; /* delivery card padding */
}

/* ============================= */
/* Text & Small Elements */
/* ============================= */
small {
    font-size: 12px;
}

p {
    margin: 0px;
}

/* ============================= */
/* Cart & Icons */
/* ============================= */
.cart {
    line-height: 1;
}

.icon {
    background-color: #eee;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.round {
    background-color: #eee;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pic {
    width: 70px;
    height: 90px;
    border-radius: 5px;
}

.del {
    width: 35px;
    height: 35px;
    object-fit: cover;
}

/* ============================= */
/* Tables & Inputs */
/* ============================= */
td {
    vertical-align: middle;
}

table input {
    width: 40px;
    border: 1px solid #eee;
}

input:focus {
    border: 1px solid #eee;
    outline: none;
}

/* ============================= */
/* Colors & Highlights */
/* ============================= */
.red {
    color: #fd1c1c;
    font-weight: 600;
}

.b-bottom {
    border-bottom: 2px dotted black;
    padding-bottom: 20px;
}

/* ============================= */
/* Payment Summary */
/* ============================= */
.payment-summary .unregistered {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    text-transform: uppercase;
    font-size: 14px;
}

.payment-summary input {
    width: 100%;
    margin-right: 20px;
}

.payment-summary .sale {
    width: 100%;
    background-color: #e9b3b3;
    text-transform: uppercase;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.payment-summary .card {
    padding-bottom: 20px; /* tăng khoảng cách nút với đáy card */
}

/* ============================= */
/* Radio Buttons & Options */
/* ============================= */
.option {
    position: relative;
    top: 50%;
    display: block;
    cursor: pointer;
    color: #888;
}

.option input {
    display: none;
}

.checkmark {
    position: absolute;
    top: 40%;
    left: -25px;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.option input:checked ~ .checkmark:after {
    display: block;
}

.option .checkmark:after {
    content: "\2713";
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out 0s;
}

.option:hover input[type="radio"] ~ .checkmark {
    background-color: #f4f4f4;
}

.option input[type="radio"]:checked ~ .checkmark {
    background: #ac1f32;
    color: #fff;
    transition: 300ms ease-in-out 0s;
}

.option input[type="radio"]:checked ~ .checkmark:after {
    transform: translate(-50%, -50%) scale(1);
    color: #fff;
}

/* ============================= */
/* Nút Thanh toán */
/* ============================= */

.btn-primary:hover {
    background-color: #6c757d; /* màu hover đậm hơn */
    transform: translateY(-2px); /* hơi nâng lên khi hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}