/* ============================== */
/* General Styles */
/* ============================== */
body {
    font-family: Arial, sans-serif;
    color: black;
    background-color: white;
    margin: 20px;
}

h1 {
    color: darkblue;
}

/* ============================== */
/* Section Header Colors */
/* ============================== */
.shipping-header {
    color: #2a9d8f; /* Teal */
}

.billing-header {
    color: #e76f51; /* Coral */
}

.payment-header {
    color: #f4a261; /* Sandy brown */
}

/* ============================== */
/* Hyperlink Styles */
/* ============================== */
a {
    transition: font-size 0.3s ease-in-out;
}

a:hover {
    font-size: 100%; /* No zoom effect */
}

/* ============================== */
/* Custom Checkbox */
/* ============================== */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid grey;
    background-color: grey;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    background-color: blue;
    border: 2px solid darkblue;
}

/* ============================== */
/* CVV Tooltip and Icon */
/* ============================== */
.cvv-container {
    position: relative;
    display: inline-block;
}

.cvv-container .tooltip {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cvv-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.cvv-icon {
    width: 20px;
    height: 20px;
    background: url('https://cdn-icons-png.flaticon.com/512/456/456212.png') no-repeat center;
    background-size: cover;
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
}

/* ============================== */
/* Form Layout */
/* ============================== */
label {
    margin: 5px 0;
    display: block;
}

input, select {
    margin: 5px 0;
}

button img {
    vertical-align: middle;
}