﻿html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('/resg.jpg'); /* Thêm hình nền xe BYD */
    background-size:100%; /* Đảm bảo hình nền phủ kín toàn bộ màn hình */
    background-position:center; /* Căn giữa hình nền */
    background-repeat: no-repeat; /* Không lặp lại hình nền */
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/*.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 440px;
}*/
.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 35px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    height: 80vh;
    /*max-height: 560px;*/
    max-height: 95vh;
}

h5 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: -20px;
    font-size: 16px;
}
button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

    button:hover {
        background-color: #218838;
    }

#contactForm {
    max-height: 540px;
    max-width: 440px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.button-63 {
    align-items: center;
    background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-family: Phantomsans, sans-serif;
    font-size: 20px;
    justify-content: center;
    line-height: 1em;
    max-width: 100%;
    min-width: 140px;
    padding: 10px 24px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
    margin-top:10px;
}

    .button-63:active,
    .button-63:hover {
        outline: 0;
    }

@media (min-width: 768px) {
    .button-63 {
        font-size: 24px;
        min-width: 196px;
    }
}

.custom-input {
    height: 30px; 
    padding: 5px 10px; 
    font-size: 14px; 
}

.select-custom {
    height: 30px;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

.select-custom:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.select-custom option {
        font-size: 14px;
        padding: 5px;
}

.hard {
    height:59px;
}

.label-style {
    font-size: 1.2em; /* Điều chỉnh kích thước chữ lớn hơn */
    color: black; /* Đặt màu chữ thành đen */
    font-weight: bold; /* In đậm chữ (tùy chọn) */
}
