/* ===================================================== */
/* BODY */
/* ===================================================== */

body{

font-family:Arial;

background:#212121;   /* nền dark */

color:  white;

margin:0;

}



/* ===================================================== */
/* HEADER */
/* ===================================================== */

.header{
width:100%;
padding:35px 0;
position:sticky;
top:0;
background:#000000;
z-index:999;
}
.container-header{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
position:relative;
padding:0 25px;
}
.menu-left,
.menu-right{
display:flex;
gap:30px;
}
a{
color:white;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

/* hover đỏ */
a:hover{
color:#f50105a3;
}

/* logo ở giữa */
.logo{
position:absolute;
left:50%;
transform:translateX(-50%);
height:50px;
margin: 0 0 65px 0;
}

/* kích thước logo */
.logo img{
height: 135px;
    width: 200px;
}
/* logo */




/* menu */

nav a{

color:#ffffff;

margin-left:20px;

text-decoration:none;

}



/* ===================================================== */
/* CONTAINER */
/* ===================================================== */

.container{

max-width:1100px;

margin:auto;

padding:60px;

display:flex;

flex-direction:column;

gap:20px;

}



/* ===================================================== */
/* CARD */
/* ===================================================== */

.card{
background: #000000;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 33%);
        margin: 0 0 20px 0;
    padding: 0 0 10px 0;
}



.card-header{

padding:16px;

font-size:20px;

color:#ffffff;

border-bottom:1px solid #1e293b;

}



.card-body{

padding:25px;

}



/* ===================================================== */
/* INPUT */
/* ===================================================== */

input,select{

width:100%;

height:40px;

background:#212121;

border:1px solid #334155;


color:white;

padding-left:10px;
-webkit-appearance: none; /* Cho Safari/Chrome */
  appearance: none;
}



/* input + icon */

.input-box{

display:flex;

align-items:center;

}



.input-box span{

margin-left:8px;

cursor:pointer;

}



/* ===================================================== */
/* BUTTON */
/* ===================================================== */

.btn{
    width: 100%;
    padding: 15px;
    background: #f50105a3 !important;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 16px;
    font-weight: bold;
}

.btn:hover{
    background-color: #c41009 !important;;
    transform: translateY(-2px);
    transition: all 0.5s ease; /* Hiệu ứng mượt mà */
}

/* countdown */

#countdown{

color:#38bdf8;

}



/* ===================================================== */
/* TOAST THÔNG BÁO */
/* ===================================================== */

.toast{

position:fixed;

bottom:20px;

right:20px;

background:#f50105a3;

padding:10px 15px;

border-radius:6px;

}



/* ===================================================== */
/* LOADING */
/* ===================================================== */

#loading{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
}
/* ================= FIELD ================= */

.field{

margin-bottom:20px;
position: relative;

}

label{

display:block;

margin-bottom:6px;

font-size:14px;

color:#ffffff;

}


/* ================= INPUT WRAPPER ================= */

.input-wrapper{

position:relative;
position: relative;
    padding: 0 16px 0 0px;
}



.input-wrapper input{

width:100%;

height:42px;

padding-left:10px;

}


/* ================= ICON ================= */
.far{

    font-size: 18px;
    padding: 0px 3px 0px 0px;
}
.icon{

position:absolute;

top:50%;

transform:translateY(-50%);

right:35px;

font-size:18px;

}

.copy{

right:10px;

cursor:pointer;

}
/* Style cho danh sách button video sắp dọc */
#video-list {
    display: flex;
    flex-direction: column;
    padding: 15px 25px;
    margin: 10px 0px 0px 0px;
    
}

.video-btn {
    display: block;

    padding: 15px;
    background-color: #f50105a3; /* Màu xanh giống button của mày */
    color: white !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: none;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
    margin-top: 10px;
}

.video-btn:hover {
    background-color: #c41009; /* Màu đậm hơn khi di chuột */
    transform: translateY(-2px); /* Hiệu ứng nổi lên nhẹ */
    transition: all 0.5s ease; /* Hiệu ứng mượt mà */
}

.video-btn:active {
    transform: translateY(0);
}
.main-header {
    display: flex;             /* Kích hoạt chia cột */
    justify-content: space-between; /* Đẩy 3 khối ra xa nhau: Trái - Giữa - Phải */
    align-items: center;       /* Căn cho tất cả nằm thẳng hàng ngang */
    padding: 20px 50px;       /* Khoảng cách đệm hai bên */
    background: rgba(0, 0, 0, 0.8); /* Nền đen mờ chuyên nghiệp */
    position: fixed;           /* Cố định header trên cùng khi cuộn */
    top: 0;
    width: 100%;
    z-index: 9999;
}
.header-center ul {
    display: flex;             /* Chia các mục HOME, ABOUT thành hàng ngang */
    gap: 30px;                /* Khoảng cách giữa các chữ */
    list-style: none;
    margin: 0;
    padding: 0;
}

#tiktok_link{
    display: flex;
    padding: 0;
}
.custom-icon {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 40px;
}

span.icon-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.select-trigger {
        display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #334155;
    background: #212121;
    margin: 0 0px 20px 0px;
}

/* Menu xổ xuống */
.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #212121;
    border: 1px solid #334155;
    display: none;
    z-index: 9999;
    overflow: hidden;
    margin: 0;
    padding: 15px 0 20px 0px;
    border-top: none;
}

.custom-option:hover {
    background-color: #f50105a3; /* Màu khi di chuột vào */
    color: white;
}

/* Khi mở menu */
.custom-select-wrapper.open .custom-options {
    display: block;
}

.custom-select-wrapper.open .select-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Viền đỏ khi lỗi */
.custom-select-wrapper.error .select-trigger {
    border-color: #f50105a3;
}

li.custom-option {
    padding: 15px;
}
.field .icon-arrow {
    padding: 4px 0 0px 0px;
}

nav.menu-left {
    margin: 0 0px 0 130px;
}
nav.menu-right {
    margin: 0 130px 0 0;
}
i.fas {
    padding-right: 5px;
    font-size: 18px;
}

input[type="text"]:focus, 
input[type="number"]:focus, 
input:focus {
    border-color: #ffffffa3 !important; /* Đổi màu viền ở đây */
    outline: none; /* Xóa cái viền mặc định của trình duyệt */
    box-shadow: 0 0 8px #ffffffa3; /* Tạo hiệu ứng bóng đổ cho đẹp */
    transition: all 0.3s ease; /* Hiệu ứng mượt mà */
    border-radius: none;
}
input, 
button, 
.select-trigger, 
.custom-options, 
.card {
    border-radius: 0 !important;
}

#btn_submit:hover {
    background-color: #c41009 !important; /* Màu khi di chuột vào */
    color: white;
    transition: all 0.5s ease; /* Hiệu ứng mượt mà */
    transform: translateY(-2px);
}


/*   phone    */
 


/* --- CSS CHO PHONE (Dưới 768px) --- */
@media screen and (max-width: 768px) {
    nav.menu-left{
        display: none;
    }
    nav.menu-right{
        display: none;
    }
    .header {
    width: 100%;
    padding: 47px 0;
    position: sticky;
    top: 0;
    background: #00000082;
    z-index: 999;
}
.container{
    padding: 10px;
}
}


.login .card-body{
    padding: 0 14px 0 0px; ;
}
.login .card-header{
    padding: 0 ;
}
#btn-sm:hover{
    background-color: #c41009 !important; /* Màu khi di chuột vào */
    color: white;
    transition: all 0.5s ease; /* Hiệu ứng mượt mà */
    transform: translateY(-2px);
}