body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffffff, #e9ecef);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkout-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.checkout-card {
    background: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 400px;
    transition: all 0.3s ease-in-out;
}

.checkout-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    padding: 15px;
    text-align: left;
    border: none;
}

th {
    background-color: #f8f9fa;
    color: #333;
}

td img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

td img:hover {
    transform: scale(1.05);
}

.shipping-charge,
.total-amount {
    font-size: 1.1rem;
    color: #333;
    margin-top: 20px;
    text-align: center;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: bold;
    color: #007bff;
}

.back-to-cart-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-cart-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .checkout-card {
        width: 90%;
        padding: 20px;
    }
}