:root {
    --bs-custom: #cfa15b;
    --bs-custom-hover-color: #a87d3e;
}

.detail_t {
    font-size: 2.45833vw;
    color: #93480d;
    font-weight: bold;
    font-family: "fangzheng";
    line-height: 2.34375vw;
    margin-bottom: 1.04167vw;
}

.bs5 .login-form {
    width: 70%;
    padding-top: 10px;
    margin: 0 auto;
}
@font-face {
    font-family: "fangzheng";
    src: url("../font/fangzheng.ttf");
}
/* Input */
.bs5 .form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    color: #212529;
    font-family: "fangzheng";
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 10px;
    margin-bottom: 25px;
}

.bs5 .form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
}

/* Label */
.bs5 .form-label {
    margin-bottom: 6px;
    font-weight: 600;
    font-family: "fangzheng";
    display: inline-block;
    color: var(--bs-custom);
}

/* Checkbox */
.bs5 .form-check {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bs5 .form-check-input {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
}

/* Alert */
.bs5 .alert {
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.bs5 .alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

.bs5 .alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.bs5 .alert-warning {
    background-color: #fff3cd;
    color: #664d03;
}

/* Button */
.bs5 .btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    font-size: 16px;
    border-radius: 6px;
    font-family: "fangzheng";
    transition: 0.15s;
}

.bs5 .btn-primary {
    color: #fff;
    background-color: var(--bs-custom);
    border-color: var(--bs-custom);
}

.bs5 .btn-primary:hover {
    background-color: var(--bs-custom-hover-color);
    border-color: var(--bs-custom-hover-color);
}

.bs5 .btn-lg {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 10px;
}

/* Text center dưới form */
.bs5 .text-center {
    text-align: center !important;
    padding-top: 30px;
}

.bs5 .text-center p {
    font-size: 24px;
    font-family: "fangzheng";
}
.bs5 .text-center p a {
    font-size: 20px;
    font-family: "fangzheng";
}
.bs5 a {
    color: var(--bs-custom);
    font-weight: 600;
    text-decoration: none;
}

.bs5 a:hover {
    text-decoration: underline;
    color: var(--bs-custom-hover-color);
}

/* Căn chỉnh checkbox + label */
.bs5 .form-check {
    display: flex;
    align-items: center;
    gap: 8px; /* khoảng cách giữa ô và chữ */
    margin-bottom: 16px;
    cursor: pointer;
}

/* Ô checkbox */
.bs5 .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0; /* bỏ margin thừa của bootstrap */
    cursor: pointer;
    accent-color: var(
        --bs-custom
    ); /* màu vàng đồng khi checked (modern browser) */
}

/* Label của checkbox */
.bs5 .form-check-label {
    font-size: 15px;
    /* color: #fff;  */
    font-family: "fangzheng";
    cursor: pointer;
    user-select: none; /* không bị quét text khi click */
}

/* Khi hover vào label đổi màu nhẹ */
.bs5 .form-check:hover .form-check-label {
    color: var(--bs-custom);
    font-family: "fangzheng";
}
