﻿.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input.form-control {
    height: 45px;
    font-size: 16px;
}


.btn-primary {
    background-color: #005baa;
    border-color: #005baa;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.card {
    border-radius: 12px;
}

card-header {
    background-color: none !important;
}

.typehoadon-tab a {
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

.typehoadon-tab {
    display: flex;
    justify-content: center;
}

.typehoadon-tab a:hover {
    text-decoration: underline;
    color: #004080;
}

.d-flex {
    display: flex;
}

.spinner-border,
.spinner-grow {
    display: inline-block;
    width: 1rem !important;
    height: 1rem !important;
    vertical-align: -0.125em;
    border-radius: 50%;
    animation: 0.75s linear infinite spinner-border;
}

.spinner-border {
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-animation-speed: 0.75s;
    --bs-spinner-animation-name: spinner-border;
    border: 0.2em solid currentcolor;
    border-right-color: transparent;
}

.spinner-border-sm {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem !important;
    --bs-spinner-border-width: 0.2em;
}

@keyframes spinner-border {
    to {
        transform: rotate(1turn)
    }
}

.display-none {
    display: none !important;
}

.btn-create:hover,
.list-trasoat .btn-search:hover {
    border: none;
    background: #f8c32e9e;
}

.btn-continue {
    float: right;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 50px;
    border: none;
    background-color: #FFC114 !important;
    color: #000000E0;
}

.btn-return {
    border-radius: 50px !important;
    color: #000000E0 !important;
    float: right;
    margin-right: 15px !important;
    border: 1px solid #D9D9D9 !important;
    background: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.btn-return:hover {
    background: #dbdbdb;
}

.form-index .btn-continue {
    margin-bottom: 20px;
    border-radius: 50px;
    border: none;
    background: #FFC114;
    color: #000000E0;
}

.card-header-form:after {
    content: "";
    position: absolute;
    padding: 0 25px;
    border-bottom: 1px solid #e5e5e5;
    width: 90%;
    left: 5%;
    bottom: 0;
}

.form-otp .otp-row .otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 0 6px;
    font-size: 18px;
    border: 1px solid #D9D9D9 !important;
    border-radius: 10px;
    font-weight: 600;
    background-color: #fff !important;
    line-height: 48px;
    padding: 0 !important;
    box-sizing: border-box;
}

.form-otp .otp-row .otp-input::placeholder {
    color: #ccc;
    font-size: 20px;
}


.form-otp .otp-row {
    display: flex;
    margin-bottom: 20px;
}

.form-otp .otp-row .otp-input:first-child {
    margin-left: 0;
}

.form-otp x .otp-row .otp-input:last-child {
    margin-right: 0;
}


.form-otp input {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid #ccc;
}

.form-otp {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.w-350 {
    max-width: 350px !important;
}

.w-300 {
    max-width: 304px !important;
}

.w-350 form {
    width: 302px !important;
}

.rc-anchor-light {
    border-radius: 10px !important;
}

.rc-anchor-light.rc-anchor-normal {
    border-radius: 10px !important;
}

#rc-anchor-container {
    border-radius: 10px !important;
}

.recaptcha-wrapper {
    display: inline-block;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 2px;
    /* tuỳ chọn */
}

.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.form-control:focus {
    box-shadow: none;
    border-color: #ccc;
    /* hoặc màu nhẹ */
}

/* Firefox */
.otp-input[type=number] {
    -moz-appearance: textfield;
}

@media (max-width: 450px) {
    .otp-row {
        flex-wrap: nowrap;
        /* ❌ KHÔNG cho xuống dòng */
        justify-content: center;
        overflow-x: auto;
        /* ✅ Cho phép scroll ngang nếu nhỏ quá */
    }

    .otp-input {
        width: 43px !important;
        height: 43px !important;
        margin: 0 3px !important;
        font-size: 16px;
    }
}


.justify-content-end {
    justify-content: end;
}

input:placeholder-shown {
    padding-left: none !important;
}

.card-header {
    background-color: none !important;
}

/*tab*/
.nav-pills-custom {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    /* Đề phòng tràn thì xuống dòng, hoặc để nowrap để giữ trên 1 dòng */
}

.nav-pills-custom .nav-link {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: #000000;
    font-weight: 500;
    background-color: #EEEEEE !important;
    transition: all 0.2s;
    white-space: nowrap;
    /* Không cho chữ xuống dòng */
    font-size: 1rem;
    /* Mặc định PC */
}

.nav-pills-custom .nav-link:hover {
    background-color: #e0e0e0;
    color: #005baa;
}

.nav-pills-custom .nav-link.active {
    background-color: #005489 !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

/* Responsive cho màn hình nhỏ (điện thoại) */
@media (max-width: 576px) {
    .nav-pills-custom {
        gap: 0.5rem;
    }

    .nav-pills-custom .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Tùy chọn bổ sung để nổi bật khung chứa form + tab */
.card-form-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.divider {
    border-bottom: 1px solid #dee2e6;
}

.form-control {
    font-size: 16px;
}

.btn {
    font-size: 16px;
    padding: 0 25px;

}

.table th,
.table td {
    vertical-align: middle;
    border: solid 1px #eceeef;
}

.table thead th {
    text-transform: none !important;
}

table tr:first-child th {
    border-right: 1px solid #fff !important;
}

.form-group .label {
    font-weight: 600 !important;
}

@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100% !important;
    }
}

.nav-pills .nav-link {
    border-radius: 30px !important;
    color: #000;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.nav-pills .nav-link.active {
    background-color: #005baa;
    color: #fff;
}

.justify-content-center {
    justify-content: center;
}

.p-4 {
    padding: 30px
}

.card {
    border-radius: 15px !important;
}

.form-control {
    border-radius: 10px !important;
}

.btn,
button {
    border-radius: 30px !important;
}

.text-danger {
    justify-items: center;
    border: 1px solid #ff000045;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    background: #ff00001a;
}

.text-danger-list {
    justify-items: center;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    color: red;
}

.red {
    color: red;
}

.text-danger ul {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.fa-calendar {
    right: 20px;
    top: 38px;
    position: absolute;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6 !important;
    /* Hoặc #000 cho nét đậm */
}

.table {
    border: 1px solid #333;
}

a {
    text-decoration: none !important;
}


/*breadcum*/
.breadcrumb-wrap {
    background: #e5e5e5;
    position: relative;
}

.breadcrumb-wrap .breadcrumb {
    font-size: .75rem;
    font-weight: 500;
    position: relative;
    margin: 0;
    padding: 10px 0;
    background: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.breadcrumb-wrap li {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #005AAA;
    font-size: 20px;
    line-height: 100%;
    font-weight: 700;
}

.breadcrumb-wrap li a {
    color: #333;
    line-height: 1.5rem;
}

/* border: 2px solid #ffff; */

.breadcrumb-wrap li a:hover {
    text-decoration: underline !important;
}

.breadcrumb-wrap li+li:before {
    content: "\f105";
    font-family: FontAwesome;
    color: #333333;
    padding: 0px 10px;
}

.pagination {
    margin-top: 1.5rem;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.pagination .page-item {
    display: flex;
    align-items: center;
}

.pagination .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #005baa;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    padding: 6px 14px;
    font-weight: 400;
    max-width: 30px;
    height: 30px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.pagination .page-link:hover {
    background-color: #e3f0ff;
    color: #004080;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    font-weight: 500;
    background-color: transparent;
    color: #005baa;
    border: 1px solid #005baa;
    border-radius: 8px !important;
}

.pagination .page-item.disabled .page-link {
    background-color: #f2f2f2;
    color: #ccc;
    border: none;
    pointer-events: none;
}


.form-otp .title {
    color: #005489;
}

.modal-dialog {
    width: 90%;
    max-width: 90%;
    margin: 30px auto;
}

/* Styles for medium to large screens */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 90% !important;
        margin: 30px auto;
    }
}

/* Styles for very large screens (if needed) */
@media (min-width: 1200px) {
    .modal-dialog {
        width: 45%;
        max-width: 45% !important;
    }
}

.modal-confirm .remove-button,
.modal-timeout .remove-button {
    display: none !important;
}

.modal-confirm .modal-dialog,
.modal-timeout .modal-dialog {
    top: 40%;
    justify-items: center;
}

.modal-confirm ul li {
    padding: 10px 0px;
}

.modal-content {
    max-width: 350px !important;
}

.modal-confirm,
.modal-timeout {
    align-items: center !important;
    justify-content: center !important;
    justify-items: center
}