body {
    background-color: #f5f6fb;
    color: #33343E;
    font-family: Inter, sans-serif;
}

label,
input,
p,
button {
    font-size: 14px;
    color: #33343E;
}

h4 {
    font-size: 20px;
    font-weight: bold;
}

.required {
    color: #DC2626;
    font-weight: bold;
}
.text-error {
    color: #DC2626;
    font-size: 14px;
}
.error, 
.field-error {
    display: block;
    color: #DC2626;
    font-size: 12px;
    transition: margin-top 0.2s ease;
}
.error:not(:empty), 
.field-error:not(:empty) {
    margin-bottom: -8px;
    padding-top: 4px;
}

.container {
    max-width: 1065px;
}

/* Tùy chỉnh logo */
.navbar-brand img {
    height: 40px;
}

.nav-link-home {
    color: #1D20BC !important;
    font-weight: bold;
}

.register-card {
    margin: 50px auto;
    margin-top: 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: #fff;
    overflow: hidden;
    min-height: 700px;
}

.register-left {
    background: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .register-left {
        display: none !important;
    }
}

.register-left img {
    max-width: 100%;
    height: auto;
}

.right-content {
    width: 370px; 
    margin: auto;
}

.register-right {
    padding: 2rem 3rem;
}
.register-right .text-14 {
    font-size: 14px;;
}

.register-right .captcha-wrapper {
    display: flex;
    justify-content: center;
}

a {
    font-family: Caption, Caption Regular, sans-serif;
    text-decoration: none;
    color: #2563EB;
}

a.disabled {
    color: #B6BCC1;
}

.navbar-light .bi-home {
    color: #33343E;
}


.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.divider hr {
    flex: 1;
    border: 1px solid #8B8C99;
}

.divider .text-center {
    margin: 0 10px;
    color: #8B8C99;
    /* Light color for text */
}

.no-border-left {
    border-left: none;
}

.no-border-right {
    border-right: none;
}

.bg-light {
    background-color: #f5f6fb !important;
}

.ms-n1 {
    margin-left: -0.25em;
}


/***************************************************************
 * Button
 ***************************************************************/
.btn {
  --bs-btn-font-size: 14px;
  --bs-btn-font-weight: 600;
  --bs-btn-line-height: 24px;
  padding: 8px 16px;
  transition: all 0.3s ease; /* mượt hover */
}
/* Hover effect */
.btn:hover {
  box-shadow: 0 4px 8px rgba(168,168,255,0.4);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #1D20BC;
  --bs-btn-border-color: #1D20BC;

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #171A9F;
  --bs-btn-hover-border-color: #171A9F;

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #12157F;
  --bs-btn-active-border-color: #12157F;
  --bs-btn-active-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);

  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #CCCDE8;
  --bs-btn-disabled-border-color: #CCCDE8;
}

.btn-outline-primary {
  --bs-btn-color: #1D20BC;
  --bs-btn-bg: #FFFFFF;
  --bs-btn-border-color: #E6E6F3;

  --bs-btn-hover-color: #6768CD;
  --bs-btn-hover-bg: #F3F3FB;
  --bs-btn-hover-border-color: #D6D7EE;

  --bs-btn-active-color: #6768CD;
  --bs-btn-active-bg: #E6E6F3;
  --bs-btn-active-border-color: #C3C5E6;
  --bs-btn-active-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);

  --bs-btn-disabled-color: #6768CD;
  --bs-btn-disabled-bg: #FFFFFF;
  --bs-btn-disabled-border-color: #ECECF7;
}

.btn-outline-danger {
  --bs-btn-color: #DC2626;
  --bs-btn-bg: #FFFFFF;
  --bs-btn-border-color: #E6E6F3;

  --bs-btn-hover-color: #d35b5b;
  --bs-btn-hover-bg: #F3F3FB;
  --bs-btn-hover-border-color: #D6D7EE;

  --bs-btn-active-color: #d35b5b;
  --bs-btn-active-bg: #E6E6F3;
  --bs-btn-active-border-color: #C3C5E6;
  --bs-btn-active-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);

  --bs-btn-disabled-color: #d35b5b;
  --bs-btn-disabled-bg: #FFFFFF;
  --bs-btn-disabled-border-color: #ECECF7;
}


/* .btn.disabled,
.btn:disabled, */
fieldset:disabled .btn {
    background-color: #CCCDE8;
    border-color: #CCCDE8;
}

a.btn {
    padding-top: 11px;
}

/* .btn-primary {
    background-color: #1D20BC;
} */

.btn-outline-secondary {
    border-color: #CCCDE8;
}

.btn-submit {
    height: 48px;
    margin-top: 10px;
}


/***************************************************************
 * Input
 ***************************************************************/

input[type="checkbox"]:checked {
    background-color: #1D20BC;
    border-color: #1D20BC;
}

.form-label {
    font-weight: 600;
}

.form-control, .form-select {
    border-radius: 6px;
    height: 48px;
    font-size: 14px;;
}
.form-control:focus,
.form-select:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #dee2e6 !important;
}
.form-control::placeholder {
    font-size: 14px;
    color: #9e9ea0;
}


/***************************************************************
 * Password
 ***************************************************************/
.input-group .toggle-password, 
.input-group .toggle-password:hover, 
.input-group .toggle-password:active, 
.input-group .toggle-password:focus {
    color: #2563EB;
    border-left: none;
    font-size: 14px;
    font-weight: 400;
    font-family: Inter, sans-serif;
    background-color: #ffffff;
    border-color: #dee2e6;
    box-shadow: none;
}

/***************************************************************
 * OTP
 ***************************************************************/
.otp-inputs {
    display: flex;
    max-width_: 300px;
    gap: 8px;
    margin: 0 auto;
}

.otp-input {
    width: 55px;
    height: 55px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
    flex: 1 1 0;
    /* mỗi ô chiếm bằng nhau, co dãn đều */
}

.otp-input:focus {
    border-color: #E6E6F3;
    box-shadow: 0 3px 5px #E6E6F3;
}


/***************************************************************
 * Toast
 ***************************************************************/
.toast {
    border-radius: 10px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #33343e !important;
    position: relative;
}
.toast.bg-success {
    background: #f6fcf4 !important;
    border: 1px solid #5ccb24 !important;
}
.toast.bg-danger {
    background: #fef2f2 !important;
    border: 1px solid #f94242 !important;
}
.toast.bg-warning {
    background: #fef9f2 !important;
    border: 1px solid #e78c0e !important;
}
.toast.bg-primary {
    /* background-color: rgba(13, 110, 253, 0.8) !important; */
    background: #ecf4ff !important;
    border: 1px solid #3e8fff !important;
}

.toast .toast-icon {
    padding: 0px 0 0 8px;
}
.toast.bg-success .toast-icon .bi {
    color: #5ccb24 !important;
}
.toast.bg-danger .toast-icon .bi {
    color: #f94242 !important;
}
.toast.bg-warning .toast-icon .bi {
    color: #e78c0e !important;
}
.toast.bg-primary .toast-icon .bi {
    color: #3e8fff !important;
}

.toast .btn-close {
    /* color: #33343e !important; */
    transform: scale(0.6);   /* nhỏ 60% */
    filter: invert(0%) !important;
    /* position: absolute; */
    /*top: -2px;*/        /* chỉnh cao/thấp */
    /*right: -10px;*/      /* chỉnh sát/tránh mép */
}


/***************************************************************
 * Custom tooltip
 ***************************************************************/
.tooltip {
    --bs-tooltip-max-width: 350px;
}

.tooltip-inner {
    white-space: pre-line;
    /* Cho phép xuống dòng theo \n */
    text-align: left;
    /* Optional */
}