/* Giao diện form chính */
form.shirt-order-form {
    display: flex;
    flex-direction: column;
    border: 2px solid #007FC0;
    padding: 20px 30px;
    margin: 30px auto;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    align-items: center;
    justify-content: center;
}

form.shirt-order-form h2 {
    color: #007FC0;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

form.shirt-order-form h3 {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

form.shirt-order-form p,
form.shirt-order-form label {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
}

form.shirt-order-form input[type="text"],
form.shirt-order-form input[type="email"] {
    height: 36px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 15px;
    background-color: #f2faff;
    font-size: 14px;
}

form.shirt-order-form input[type="submit"] {
    margin-top: 20px;
    padding: 10px 40px;
    background-color: #007FC0;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

form.shirt-order-form input[type="submit"]:hover {
    background-color: #0056b3;
}

form.shirt-order-form .note {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
    line-height: 1.6;
}

/* Giao diện size chia 3 cột xếp theo 3x3 */
.shirt-sizes-grid {
    display: flex;
    flex-direction: column;
    gap: 16px 24px;
    margin-top: 20px;
    justify-items: center;
}

.size-group {
    display: grid;
    grid-template-columns: 15% 80%;
    text-align: center;
    align-items: center;
    gap: 4%;
}

.size-label {
    width: 50px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color: #007FC0;
    padding: 12px 12px;
    border-radius: 50%;
    display: inline-block;
}

.quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #e0f4ff;
    padding: 4px 8px;
    border-radius: 30px;
}

.quantity-controls input[type="number"] {
    max-width: fit-content;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    border: none;
    background-color: #eaf6ff;
    color: #007BFF;
    pointer-events: none;
    outline: none;
    margin: 0 !important;
    padding: 0 !important;
}

.quantity-controls button {
    width: 26px;
    height: 26px;
    background-color: #bde2ff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    color: #007BFF;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.quantity-controls button:hover {
    background-color: #8ccfff;
}
@media (min-width: 850px){
    .shirt-sizes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 16px 24px;
    margin-top: 20px;
    justify-items: center;
}

}