@import "reset.css";
@import "fonts.css";
#back-to-top{
    background-color: #fab702;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    position: fixed;
    right: 50px;
    bottom: 80px;
    z-index: 999;
    opacity: 0;
    width: 40px;
    height: 40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:opacity ease 0.3s;
}
#back-to-top.show{opacity:1;}
header {
    position: fixed;
    padding: 20px 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.lang {
    display: none;
}
.lang.active {
    display: flex;
}
.banner {
    color: #fff4e2;
    font-size: 64px;
}
.banner .zoom-img:before {
    padding-bottom: 28%;
}
.header_about img {
    margin-right: 24px;
}
.language img {
    margin-right: 8px;
}
.field-group {
    position: relative;
    margin-bottom: 25px;
}

/* Base style cho cả Input và Select */
.floating-group {
    position: relative;
    margin-bottom: 12px;
}

/* 1. Base Input/Select */
.floating-input, .floating-select {
    background: #fff;
    width: 100%;
    height: 56px;
    padding:  0 15px;
    border: 1px solid #b2b2b2;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

/* Ẩn placeholder mặc định của trình duyệt để label không bị đè lên chữ placeholder */
.floating-input::placeholder {
    color: transparent;
}

/* 2. Label - Trạng thái CHƯA FLOAT */
.floating-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%); /* Căn giữa theo chiều dọc */
    color: #939393;
    font-size: 16px;
    pointer-events: none; /* Cho phép click xuyên qua label */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. Trạng thái ĐANG FLOAT (Khi focus hoặc có dữ liệu) */

/* Đối với Input */
.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label,
    /* Đối với Select */
.floating-select:focus + .floating-label,
.floating-select:valid + .floating-label {
    top: 12px;
    transform: translateY(-50%) scale(0.9);
    left: 10px;
}

/* Active Border */
.floating-input:focus, .floating-select:focus {
    border-color: #000;
}

/* Fix riêng cho Select */
.floating-select {
    appearance: none;
    cursor: pointer;
}
.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.form_contact {
    background-color: #ebe8e3;
}
.group_radio {
    gap: 12px;
}
.group_radio label {
    cursor: pointer;
    position: relative;
}
.group_radio input {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    left: 0;
}
.group_radio label img {
    height: 24px;
    margin-right: 10px;
}
.group_radio span {
    padding: 5px 12px;
    border-radius: 100px;
    background-color: #fff;
    border: 1px solid transparent;
}
.group_radio input:checked + span {
    border-color: #000;
}
textarea.floating-input {
    height: 120px;
}
.floating-textarea label {
    top: 20px;
}
.submitBtn {
    width: 141px;
    height: 56px;
    padding: 13px 20px;
    border-radius: 100px;
    background-color: #000;
    color: #fff4e2;
}
.submitBtn:disabled {
    opacity: 0.8;
    cursor: auto;
}
.check-item {
    margin-bottom: 10px;
}
.frm_new input {
    padding: 17px 16px;
    border-radius: 3px;
    background-color: #fff4e2;
    border: none;
    width: 100%;
    height: 56px;
    text-align: center;
}
.note a {
    color: inherit;
    text-decoration: underline;
}
footer {
    background-color: #0f0f0f;
    padding: 60px 0;
}
.ab_text li {
    color: #fff4e2;
    margin-bottom: 10px;
}
.about_us {
    display: flex;
}
.about_us > span {
    color: #fff4e2;
    margin-right: 150px;
}
.ft_note {
    margin-top: 40px;
}
.ft_note p {
    color: #666;
    font-size: 14px;
}
.ft_left {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    height: 100%;
}
.ft_left > * {
    width: 100%;
}
.social, .ft_link {
    gap: 12px;
}
.copy {
    color: #939393;
    margin: 20px 0 8px 0;
}
.header_black {
    box-shadow: 0 1px 2px 0 rgba(171, 171, 171, 0.25);
    background-color: #fff;
    position: static;
}
.header_black a {
    color: #000;
}
.header_black img {
    filter: invert(100%) brightness(0); /* Đen tuyệt đối */
}