/* ===============================================================================
   BOOTSTRAP 4 UI COMPONENTS (tables, forms, buttons, dropdowns, cards, modals)
   =============================================================================== */

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}
.table td,
.table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}
.table tbody + tbody {
    border-top: 2px solid #dee2e6;
}
.table-sm td,
.table-sm th {
    padding: 0.3rem;
}
.table-bordered {
    border: 1px solid #dee2e6;
}
.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
}
.table-bordered thead td,
.table-bordered thead th {
    border-bottom-width: 2px;
}
.table-borderless tbody + tbody,
.table-borderless td,
.table-borderless th,
.table-borderless thead th {
    border: 0;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}
.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}
.table-primary,
.table-primary > td,
.table-primary > th {
    background-color: #b8daff;
}
.table-primary tbody + tbody,
.table-primary td,
.table-primary th,
.table-primary thead th {
    border-color: #7abaff;
}
.table-hover .table-primary:hover {
    background-color: #9fcdff;
}
.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
    background-color: #9fcdff;
}
.table-secondary,
.table-secondary > td,
.table-secondary > th {
    background-color: #d6d8db;
}
.table-secondary tbody + tbody,
.table-secondary td,
.table-secondary th,
.table-secondary thead th {
    border-color: #b3b7bb;
}
.table-hover .table-secondary:hover {
    background-color: #c8cbcf;
}
.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
    background-color: #c8cbcf;
}
.table-success,
.table-success > td,
.table-success > th {
    background-color: #c3e6cb;
}
.table-success tbody + tbody,
.table-success td,
.table-success th,
.table-success thead th {
    border-color: #8fd19e;
}
.table-hover .table-success:hover {
    background-color: #b1dfbb;
}
.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
    background-color: #b1dfbb;
}
.table-info,
.table-info > td,
.table-info > th {
    background-color: #bee5eb;
}
.table-info tbody + tbody,
.table-info td,
.table-info th,
.table-info thead th {
    border-color: #86cfda;
}
.table-hover .table-info:hover {
    background-color: #abdde5;
}
.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
    background-color: #abdde5;
}
.table-warning,
.table-warning > td,
.table-warning > th {
    background-color: #ffeeba;
}
.table-warning tbody + tbody,
.table-warning td,
.table-warning th,
.table-warning thead th {
    border-color: #ffdf7e;
}
.table-hover .table-warning:hover {
    background-color: #ffe8a1;
}
.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
    background-color: #ffe8a1;
}
.table-danger,
.table-danger > td,
.table-danger > th {
    background-color: #f5c6cb;
}
.table-danger tbody + tbody,
.table-danger td,
.table-danger th,
.table-danger thead th {
    border-color: #ed969e;
}
.table-hover .table-danger:hover {
    background-color: #f1b0b7;
}
.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
    background-color: #f1b0b7;
}
.table-light,
.table-light > td,
.table-light > th {
    background-color: #fdfdfe;
}
.table-light tbody + tbody,
.table-light td,
.table-light th,
.table-light thead th {
    border-color: #fbfcfc;
}
.table-hover .table-light:hover {
    background-color: #ececf6;
}
.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
    background-color: #ececf6;
}
.table-dark,
.table-dark > td,
.table-dark > th {
    background-color: #c6c8ca;
}
.table-dark tbody + tbody,
.table-dark td,
.table-dark th,
.table-dark thead th {
    border-color: #95999c;
}
.table-hover .table-dark:hover {
    background-color: #b9bbbe;
}
.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
    background-color: #b9bbbe;
}
.table-active,
.table-active > td,
.table-active > th {
    background-color: rgba(0, 0, 0, 0.075);
}
.table-hover .table-active:hover {
    background-color: rgba(0, 0, 0, 0.075);
}
.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
    background-color: rgba(0, 0, 0, 0.075);
}
.table .thead-dark th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55;
}
.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.table-dark {
    color: #fff;
    background-color: #343a40;
}
.table-dark td,
.table-dark th,
.table-dark thead th {
    border-color: #454d55;
}
.table-dark.table-bordered {
    border: 0;
}
.table-dark.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}
.table-dark.table-hover tbody tr:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.075);
}
@media (max-width: 575.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-sm > .table-bordered {
        border: 0;
    }
}
@media (max-width: 767.98px) {
    .table-responsive-md {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-md > .table-bordered {
        border: 0;
    }
}
@media (max-width: 991.98px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-lg > .table-bordered {
        border: 0;
    }
}
@media (max-width: 1199.98px) {
    .table-responsive-xl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-xl > .table-bordered {
        border: 0;
    }
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive > .table-bordered {
    border: 0;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}
.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
    color: #495057;
    opacity: 1;
}
.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}
select.form-control:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}
.form-control-file,
.form-control-range {
    display: block;
    width: 100%;
}
.col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}
.col-form-label-lg {
    padding-top: calc(0.5rem + 1px);
    padding-bottom: calc(0.5rem + 1px);
    font-size: 1.25rem;
    line-height: 1.5;
}
.col-form-label-sm {
    padding-top: calc(0.25rem + 1px);
    padding-bottom: calc(0.25rem + 1px);
    font-size: 0.875rem;
    line-height: 1.5;
}
.form-control-plaintext {
    display: block;
    width: 100%;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    margin-bottom: 0;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}
.form-control-plaintext.form-control-lg,
.form-control-plaintext.form-control-sm {
    padding-right: 0;
    padding-left: 0;
}
.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
.form-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}
select.form-control[multiple],
select.form-control[size] {
    height: auto;
}
textarea.form-control {
    height: auto;
}
.form-group {
    margin-bottom: 1rem;
}
.form-text {
    display: block;
    margin-top: 0.25rem;
}
.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}
.form-row > .col,
.form-row > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}
.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}
.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}
.form-check-input:disabled ~ .form-check-label {
    color: #6c757d;
}
.form-check-label {
    margin-bottom: 0;
}
.form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}
.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 0.3125rem;
    margin-left: 0;
}
.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #28a745;
}
.valid-tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: 0.1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(40, 167, 69, 0.9);
    border-radius: 0.25rem;
}
.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.form-control.is-valid ~ .valid-feedback,
.form-control.is-valid ~ .valid-tooltip,
.was-validated .form-control:valid ~ .valid-feedback,
.was-validated .form-control:valid ~ .valid-tooltip {
    display: block;
}
.was-validated textarea.form-control:valid,
textarea.form-control.is-valid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}
.custom-select.is-valid,
.was-validated .custom-select:valid {
    border-color: #28a745;
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    background:
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
            no-repeat right 0.75rem center/8px 10px,
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e")
            #fff no-repeat center right 1.75rem / calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.custom-select.is-valid:focus,
.was-validated .custom-select:valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.custom-select.is-valid ~ .valid-feedback,
.custom-select.is-valid ~ .valid-tooltip,
.was-validated .custom-select:valid ~ .valid-feedback,
.was-validated .custom-select:valid ~ .valid-tooltip {
    display: block;
}
.form-control-file.is-valid ~ .valid-feedback,
.form-control-file.is-valid ~ .valid-tooltip,
.was-validated .form-control-file:valid ~ .valid-feedback,
.was-validated .form-control-file:valid ~ .valid-tooltip {
    display: block;
}
.form-check-input.is-valid ~ .form-check-label,
.was-validated .form-check-input:valid ~ .form-check-label {
    color: #28a745;
}
.form-check-input.is-valid ~ .valid-feedback,
.form-check-input.is-valid ~ .valid-tooltip,
.was-validated .form-check-input:valid ~ .valid-feedback,
.was-validated .form-check-input:valid ~ .valid-tooltip {
    display: block;
}
.custom-control-input.is-valid ~ .custom-control-label,
.was-validated .custom-control-input:valid ~ .custom-control-label {
    color: #28a745;
}
.custom-control-input.is-valid ~ .custom-control-label::before,
.was-validated .custom-control-input:valid ~ .custom-control-label::before {
    border-color: #28a745;
}
.custom-control-input.is-valid ~ .valid-feedback,
.custom-control-input.is-valid ~ .valid-tooltip,
.was-validated .custom-control-input:valid ~ .valid-feedback,
.was-validated .custom-control-input:valid ~ .valid-tooltip {
    display: block;
}
.custom-control-input.is-valid:checked ~ .custom-control-label::before,
.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before {
    border-color: #34ce57;
    background-color: #34ce57;
}
.custom-control-input.is-valid:focus ~ .custom-control-label::before,
.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before,
.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #28a745;
}
.custom-file-input.is-valid ~ .custom-file-label,
.was-validated .custom-file-input:valid ~
.custom-file-input.is-valid ~ .valid-feedback,
.custom-file-input.is-valid ~ .valid-tooltip,
.was-validated .custom-file-input:valid ~ .valid-feedback,
.was-validated .custom-file-input:valid ~ .valid-tooltip {
    display: block;
}
.custom-file-input.is-valid:focus ~ .custom-file-label,
.was-validated .custom-file-input:valid:focus ~
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}
.invalid-tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: 0.1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(220, 53, 69, 0.9);
    border-radius: 0.25rem;
}
.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip,
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip {
    display: block;
}
.was-validated textarea.form-control:invalid,
textarea.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}
.custom-select.is-invalid,
.was-validated .custom-select:invalid {
    border-color: #dc3545;
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    background:
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
            no-repeat right 0.75rem center/8px 10px,
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E")
            #fff no-repeat center right 1.75rem / calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.custom-select.is-invalid:focus,
.was-validated .custom-select:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.custom-select.is-invalid ~ .invalid-feedback,
.custom-select.is-invalid ~ .invalid-tooltip,
.was-validated .custom-select:invalid ~ .invalid-feedback,
.was-validated .custom-select:invalid ~ .invalid-tooltip {
    display: block;
}
.form-control-file.is-invalid ~ .invalid-feedback,
.form-control-file.is-invalid ~ .invalid-tooltip,
.was-validated .form-control-file:invalid ~ .invalid-feedback,
.was-validated .form-control-file:invalid ~ .invalid-tooltip {
    display: block;
}
.form-check-input.is-invalid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545;
}
.form-check-input.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-tooltip,
.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip {
    display: block;
}
.custom-control-input.is-invalid ~ .custom-control-label,
.was-validated .custom-control-input:invalid ~ .custom-control-label {
    color: #dc3545;
}
.custom-control-input.is-invalid ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid ~ .custom-control-label::before {
    border-color: #dc3545;
}
.custom-control-input.is-invalid ~ .invalid-feedback,
.custom-control-input.is-invalid ~ .invalid-tooltip,
.was-validated .custom-control-input:invalid ~ .invalid-feedback,
.was-validated .custom-control-input:invalid ~ .invalid-tooltip {
    display: block;
}
.custom-control-input.is-invalid:checked ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}
.custom-control-input.is-invalid:focus ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #dc3545;
}
.custom-file-input.is-invalid ~ .custom-file-label,
.was-validated .custom-file-input:invalid ~
.custom-file-input.is-invalid ~ .invalid-feedback,
.custom-file-input.is-invalid ~ .invalid-tooltip,
.was-validated .custom-file-input:invalid ~ .invalid-feedback,
.was-validated .custom-file-input:invalid ~ .invalid-tooltip {
    display: block;
}
.custom-file-input.is-invalid:focus ~ .custom-file-label,
.was-validated .custom-file-input:invalid:focus ~
.form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}
.form-inline .form-check {
    width: 100%;
}
@media (min-width: 576px) {
    .form-inline label {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 0;
    }
    .form-inline .form-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }
    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }
    .form-inline .form-control-plaintext {
        display: inline-block;
    }
    .form-inline .custom-select,
    .form-inline .input-group {
        width: auto;
    }
    .form-inline .form-check {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: auto;
        padding-left: 0;
    }
    .form-inline .form-check-input {
        position: relative;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-top: 0;
        margin-right: 0.25rem;
        margin-left: 0;
    }
    .form-inline .custom-control {
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .form-inline .custom-control-label {
        margin-bottom: 0;
    }
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}
.btn:hover {
    color: #212529;
    text-decoration: none;
}
.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.btn.disabled,
.btn:disabled {
    opacity: 0.65;
}
a.btn.disabled,
fieldset:disabled a.btn {
    pointer-events: none;
}
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}
.btn-primary.focus,
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}
.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}
.btn-secondary.disabled,
.btn-secondary:disabled {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;
}
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}
.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}
.btn-success.focus,
.btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}
.btn-success.disabled,
.btn-success:disabled {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active,
.show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430;
}
.btn-success:not(:disabled):not(.disabled).active:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.show > .btn-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}
.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.btn-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}
.btn-info.focus,
.btn-info:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}
.btn-info.disabled,
.btn-info:disabled {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.btn-info:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active,
.show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #117a8b;
    border-color: #10707f;
}
.btn-info:not(:disabled):not(.disabled).active:focus,
.btn-info:not(:disabled):not(.disabled):active:focus,
.show > .btn-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}
.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-warning:hover {
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
}
.btn-warning.focus,
.btn-warning:focus {
    box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
}
.btn-warning.disabled,
.btn-warning:disabled {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active,
.show > .btn-warning.dropdown-toggle {
    color: #212529;
    background-color: #d39e00;
    border-color: #c69500;
}
.btn-warning:not(:disabled):not(.disabled).active:focus,
.btn-warning:not(:disabled):not(.disabled):active:focus,
.show > .btn-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
}
.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}
.btn-danger.focus,
.btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}
.btn-danger.disabled,
.btn-danger:disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-danger:not(:disabled):not(.disabled).active,
.btn-danger:not(:disabled):not(.disabled):active,
.show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}
.btn-danger:not(:disabled):not(.disabled).active:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.show > .btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}
.btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}
.btn-light:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}
.btn-light.focus,
.btn-light:focus {
    box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}
.btn-light.disabled,
.btn-light:disabled {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}
.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.show > .btn-light.dropdown-toggle {
    color: #212529;
    background-color: #dae0e5;
    border-color: #d3d9df;
}
.btn-light:not(:disabled):not(.disabled).active:focus,
.btn-light:not(:disabled):not(.disabled):active:focus,
.show > .btn-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}
.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.btn-dark:hover {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}
.btn-dark.focus,
.btn-dark:focus {
    box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
}
.btn-dark.disabled,
.btn-dark:disabled {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.btn-dark:not(:disabled):not(.disabled).active,
.btn-dark:not(:disabled):not(.disabled):active,
.show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #1d2124;
    border-color: #171a1d;
}
.btn-dark:not(:disabled):not(.disabled).active:focus,
.btn-dark:not(:disabled):not(.disabled):active:focus,
.show > .btn-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
}
.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-outline-primary.focus,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #007bff;
    background-color: transparent;
}
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-outline-secondary.focus,
.btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
    color: #6c757d;
    background-color: transparent;
}
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show > .btn-outline-secondary.dropdown-toggle {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}
.btn-outline-success:hover {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-outline-success.focus,
.btn-outline-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-success.disabled,
.btn-outline-success:disabled {
    color: #28a745;
    background-color: transparent;
}
.btn-outline-success:not(:disabled):not(.disabled).active,
.btn-outline-success:not(:disabled):not(.disabled):active,
.show > .btn-outline-success.dropdown-toggle {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-outline-success:not(:disabled):not(.disabled).active:focus,
.btn-outline-success:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}
.btn-outline-info:hover {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.btn-outline-info.focus,
.btn-outline-info:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-info.disabled,
.btn-outline-info:disabled {
    color: #17a2b8;
    background-color: transparent;
}
.btn-outline-info:not(:disabled):not(.disabled).active,
.btn-outline-info:not(:disabled):not(.disabled):active,
.show > .btn-outline-info.dropdown-toggle {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.btn-outline-info:not(:disabled):not(.disabled).active:focus,
.btn-outline-info:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}
.btn-outline-warning:hover {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-outline-warning.focus,
.btn-outline-warning:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-warning.disabled,
.btn-outline-warning:disabled {
    color: #ffc107;
    background-color: transparent;
}
.btn-outline-warning:not(:disabled):not(.disabled).active,
.btn-outline-warning:not(:disabled):not(.disabled):active,
.show > .btn-outline-warning.dropdown-toggle {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-outline-warning:not(:disabled):not(.disabled).active:focus,
.btn-outline-warning:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-warning.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}
.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-outline-danger.focus,
.btn-outline-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-danger.disabled,
.btn-outline-danger:disabled {
    color: #dc3545;
    background-color: transparent;
}
.btn-outline-danger:not(:disabled):not(.disabled).active,
.btn-outline-danger:not(:disabled):not(.disabled):active,
.show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-outline-danger:not(:disabled):not(.disabled).active:focus,
.btn-outline-danger:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}
.btn-outline-light:hover {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}
.btn-outline-light.focus,
.btn-outline-light:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-light.disabled,
.btn-outline-light:disabled {
    color: #f8f9fa;
    background-color: transparent;
}
.btn-outline-light:not(:disabled):not(.disabled).active,
.btn-outline-light:not(:disabled):not(.disabled):active,
.show > .btn-outline-light.dropdown-toggle {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}
.btn-outline-light:not(:disabled):not(.disabled).active:focus,
.btn-outline-light:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-dark {
    color: #343a40;
    border-color: #343a40;
}
.btn-outline-dark:hover {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.btn-outline-dark.focus,
.btn-outline-dark:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-dark.disabled,
.btn-outline-dark:disabled {
    color: #343a40;
    background-color: transparent;
}
.btn-outline-dark:not(:disabled):not(.disabled).active,
.btn-outline-dark:not(:disabled):not(.disabled):active,
.show > .btn-outline-dark.dropdown-toggle {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.btn-outline-dark:not(:disabled):not(.disabled).active:focus,
.btn-outline-dark:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}
.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}
.btn-link.focus,
.btn-link:focus {
    text-decoration: underline;
    box-shadow: none;
}
.btn-link.disabled,
.btn-link:disabled {
    color: #6c757d;
    pointer-events: none;
}
.btn-group-lg > .btn,
.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}
.btn-group-sm > .btn,
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-block + .btn-block {
    margin-top: 0.5rem;
}
input[type="button"].btn-block,
input[type="reset"].btn-block,
input[type="submit"].btn-block {
    width: 100%;
}
.fade {
    transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}
.fade:not(.show) {
    opacity: 0;
}
.collapse:not(.show) {
    display: none;
}
.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
    .collapsing {
        transition: none;
    }
}
.dropdown,
.dropleft,
.dropright,
.dropup {
    position: relative;
}
.dropdown-toggle {
    white-space: nowrap;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.dropdown-toggle:empty::after {
    margin-left: 0;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}
.dropdown-menu-left {
    right: auto;
    left: 0;
}
.dropdown-menu-right {
    right: 0;
    left: auto;
}
@media (min-width: 576px) {
    .dropdown-menu-sm-left {
        right: auto;
        left: 0;
    }
    .dropdown-menu-sm-right {
        right: 0;
        left: auto;
    }
}
@media (min-width: 768px) {
    .dropdown-menu-md-left {
        right: auto;
        left: 0;
    }
    .dropdown-menu-md-right {
        right: 0;
        left: auto;
    }
}
@media (min-width: 992px) {
    .dropdown-menu-lg-left {
        right: auto;
        left: 0;
    }
    .dropdown-menu-lg-right {
        right: 0;
        left: auto;
    }
}
@media (min-width: 1200px) {
    .dropdown-menu-xl-left {
        right: auto;
        left: 0;
    }
    .dropdown-menu-xl-right {
        right: 0;
        left: auto;
    }
}
.dropup .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.125rem;
}
.dropup .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}
.dropup .dropdown-toggle:empty::after {
    margin-left: 0;
}
.dropright .dropdown-menu {
    top: 0;
    right: auto;
    left: 100%;
    margin-top: 0;
    margin-left: 0.125rem;
}
.dropright .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}
.dropright .dropdown-toggle:empty::after {
    margin-left: 0;
}
.dropright .dropdown-toggle::after {
    vertical-align: 0;
}
.dropleft .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    margin-right: 0.125rem;
}
.dropleft .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
}
.dropleft .dropdown-toggle::after {
    display: none;
}
.dropleft .dropdown-toggle::before {
    display: inline-block;
    margin-right: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid;
    border-bottom: 0.3em solid transparent;
}
.dropleft .dropdown-toggle:empty::after {
    margin-left: 0;
}
.dropleft .dropdown-toggle::before {
    vertical-align: 0;
}
.dropdown-menu[x-placement^="bottom"],
.dropdown-menu[x-placement^="left"],
.dropdown-menu[x-placement^="right"],
.dropdown-menu[x-placement^="top"] {
    right: auto;
    bottom: auto;
}
.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-item:focus,
.dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}
.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-header {
    display: block;
    padding: 0.5rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #6c757d;
    white-space: nowrap;
}
.dropdown-item-text {
    display: block;
    padding: 0.25rem 1.5rem;
    color: #212529;
}
.btn-group,
.btn-group-vertical {
    position: relative;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
}
.btn-group-vertical > .btn,
.btn-group > .btn {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.btn-group-vertical > .btn:hover,
.btn-group > .btn:hover {
    z-index: 1;
}
.btn-group-vertical > .btn.active,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn:focus,
.btn-group > .btn.active,
.btn-group > .btn:active,
.btn-group > .btn:focus {
    z-index: 1;
}
.btn-toolbar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.btn-toolbar .input-group {
    width: auto;
}
.btn-group > .btn-group:not(:first-child),
.btn-group > .btn:not(:first-child) {
    margin-left: -1px;
}
.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.dropdown-toggle-split {
    padding-right: 0.5625rem;
    padding-left: 0.5625rem;
}
.dropdown-toggle-split::after,
.dropright .dropdown-toggle-split::after,
.dropup .dropdown-toggle-split::after {
    margin-left: 0;
}
.dropleft .dropdown-toggle-split::before {
    margin-right: 0;
}
.btn-group-sm > .btn + .dropdown-toggle-split,
.btn-sm + .dropdown-toggle-split {
    padding-right: 0.375rem;
    padding-left: 0.375rem;
}
.btn-group-lg > .btn + .dropdown-toggle-split,
.btn-lg + .dropdown-toggle-split {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}
.btn-group-vertical {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: center;
    justify-content: center;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group {
    width: 100%;
}
.btn-group-vertical > .btn-group:not(:first-child),
.btn-group-vertical > .btn:not(:first-child) {
    margin-top: -1px;
}
.btn-group-vertical > .btn-group:not(:last-child) > .btn,
.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle) {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn-group:not(:first-child) > .btn,
.btn-group-vertical > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.btn-group-toggle > .btn,
.btn-group-toggle > .btn-group > .btn {
    margin-bottom: 0;
}
.btn-group-toggle > .btn input[type="checkbox"],
.btn-group-toggle > .btn input[type="radio"],
.btn-group-toggle > .btn-group > .btn input[type="checkbox"],
.btn-group-toggle > .btn-group > .btn input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}
.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.input-group > .custom-file,
.input-group > .custom-select,
.input-group > .form-control,
.input-group > .form-control-plaintext {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}
.input-group > .custom-file + .custom-file,
.input-group > .custom-file + .custom-select,
.input-group > .custom-file + .form-control,
.input-group > .custom-select + .custom-file,
.input-group > .custom-select + .custom-select,
.input-group > .custom-select + .form-control,
.input-group > .form-control + .custom-file,
.input-group > .form-control + .custom-select,
.input-group > .form-control + .form-control,
.input-group > .form-control-plaintext + .custom-file,
.input-group > .form-control-plaintext + .custom-select,
.input-group > .form-control-plaintext + .form-control {
    margin-left: -1px;
}
.input-group > .custom-file
.input-group > .custom-file
.input-group > .custom-select:not(:last-child),
.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .custom-select:not(:first-child),
.input-group > .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group >
.input-group > .custom-file:not(:last-child) .custom-file-label,
.input-group > .custom-file:not(:last-child)
.input-group > .custom-file:not(:first-child)
.input-group-append,
.input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}
.input-group-append .btn,
.input-group-prepend .btn {
    position: relative;
    z-index: 2;
}
.input-group-append .btn:focus,
.input-group-prepend .btn:focus {
    z-index: 3;
}
.input-group-append .btn + .btn,
.input-group-append .btn + .input-group-text,
.input-group-append .input-group-text + .btn,
.input-group-append .input-group-text + .input-group-text,
.input-group-prepend .btn + .btn,
.input-group-prepend .btn + .input-group-text,
.input-group-prepend .input-group-text + .btn,
.input-group-prepend .input-group-text + .input-group-text {
    margin-left: -1px;
}
.input-group-prepend {
    margin-right: -1px;
}
.input-group-append {
    margin-left: -1px;
}
.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.input-group-text input[type="checkbox"],
.input-group-text input[type="radio"] {
    margin-top: 0;
}
.input-group-lg > .custom-select,
.input-group-lg > .form-control:not(textarea) {
    height: calc(1.5em + 1rem + 2px);
}
.input-group-lg > .custom-select,
.input-group-lg > .form-control,
.input-group-lg > .input-group-append > .btn,
.input-group-lg > .input-group-append > .input-group-text,
.input-group-lg > .input-group-prepend > .btn,
.input-group-lg > .input-group-prepend > .input-group-text {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}
.input-group-sm > .custom-select,
.input-group-sm > .form-control:not(textarea) {
    height: calc(1.5em + 0.5rem + 2px);
}
.input-group-sm > .custom-select,
.input-group-sm > .form-control,
.input-group-sm > .input-group-append > .btn,
.input-group-sm > .input-group-append > .input-group-text,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-prepend > .input-group-text {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
.input-group-lg > .custom-select,
.input-group-sm >
.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group > .input-group-append:last-child > .input-group-text:not(:last-child),
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text,
.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}
.custom-control-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1rem;
}
.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #80bdff;
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}
.custom-control-input:disabled ~ .custom-control-label {
    color: #6c757d;
}
.custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #e9ecef;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}
.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}
.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}
.custom-checkbox .custom-control-label::before {
    border-radius: 0.25rem;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: #007bff;
    background-color: #007bff;
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e");
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}
.custom-radio .custom-control-label::before {
    border-radius: 50%;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}
.custom-switch {
    padding-left: 2.25rem;
}
.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
}
.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: 0.5rem;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        -webkit-transform 0.15s ease-in-out;
    transition:
        transform 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    transition:
        transform 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out,
        -webkit-transform 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .custom-switch .custom-control-label::after {
        transition: none;
    }
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}


.custom-select:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}

.custom-select:disabled {
    color: #6c757d;
    background-color: #e9ecef;
}
.custom-select::-ms-expand {
    display: none;
}

.custom-file-input:disabled ~
.custom-file-input:lang(en) ~
.custom-file-input ~ .custom-file-label[data-browse]::after {
    content: attr(data-browse);
}


.custom-range {
    width: 100%;
    height: calc(1rem + 0.4rem);
    padding: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.custom-range:focus {
    outline: 0;
}
.custom-range:focus::-webkit-slider-thumb {
    box-shadow:
        0 0 0 1px #fff,
        0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-range:focus::-moz-range-thumb {
    box-shadow:
        0 0 0 1px #fff,
        0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-range:focus::-ms-thumb {
    box-shadow:
        0 0 0 1px #fff,
        0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-range::-moz-focus-outer {
    border: 0;
}
.custom-range::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -0.25rem;
    background-color: #007bff;
    border: 0;
    border-radius: 1rem;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    appearance: none;
}
@media (prefers-reduced-motion: reduce) {
    .custom-range::-webkit-slider-thumb {
        transition: none;
    }
}
.custom-range::-webkit-slider-thumb:active {
    background-color: #b3d7ff;
}
.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: #dee2e6;
    border-color: transparent;
    border-radius: 1rem;
}
.custom-range::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    background-color: #007bff;
    border: 0;
    border-radius: 1rem;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    -moz-appearance: none;
    appearance: none;
}
@media (prefers-reduced-motion: reduce) {
    .custom-range::-moz-range-thumb {
        transition: none;
    }
}
.custom-range::-moz-range-thumb:active {
    background-color: #b3d7ff;
}
.custom-range::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: #dee2e6;
    border-color: transparent;
    border-radius: 1rem;
}
.custom-range::-ms-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: 0;
    margin-right: 0.2rem;
    margin-left: 0.2rem;
    background-color: #007bff;
    border: 0;
    border-radius: 1rem;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    appearance: none;
}
@media (prefers-reduced-motion: reduce) {
    .custom-range::-ms-thumb {
        transition: none;
    }
}
.custom-range::-ms-thumb:active {
    background-color: #b3d7ff;
}
.custom-range::-ms-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
    border-width: 0.5rem;
}
.custom-range::-ms-fill-lower {
    background-color: #dee2e6;
    border-radius: 1rem;
}
.custom-range::-ms-fill-upper {
    margin-right: 15px;
    background-color: #dee2e6;
    border-radius: 1rem;
}
.custom-range:disabled::-webkit-slider-thumb {
    background-color: #adb5bd;
}
.custom-range:disabled::-webkit-slider-runnable-track {
    cursor: default;
}
.custom-range:disabled::-moz-range-thumb {
    background-color: #adb5bd;
}
.custom-range:disabled::-moz-range-track {
    cursor: default;
}
.custom-range:disabled::-ms-thumb {
    background-color: #adb5bd;
}
.custom-control-label::before,
.custom-file-label,

@media (prefers-reduced-motion: reduce) {
    .custom-control-label::before,
    .custom-file-label,

}
.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}
.nav-link:focus,
.nav-link:hover {
    text-decoration: none;
}
.nav-link.disabled {
    color: #6c757d;
    pointer-events: none;
    cursor: default;
}
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
}
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
}
.nav-tabs .nav-link.disabled {
    color: #6c757d;
    background-color: transparent;
    border-color: transparent;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs .dropdown-menu {
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.nav-pills .nav-link {
    border-radius: 0.25rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #007bff;
}
.nav-fill .nav-item {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
}
.nav-justified .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
}
.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
    display: block;
}
.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}
.navbar > .container,
.navbar > .container-fluid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.navbar-brand:focus,
.navbar-brand:hover {
    text-decoration: none;
}
.navbar-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}
.navbar-nav .dropdown-menu {
    position: static;
    float: none;
}
.navbar-text {
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.navbar-collapse {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-align: center;
    align-items: center;
}
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
.navbar-toggler:focus,
.navbar-toggler:hover {
    text-decoration: none;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
}
@media (max-width: 575.98px) {
    .navbar-expand-sm > .container,
    .navbar-expand-sm > .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 576px) {
    .navbar-expand-sm {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .navbar-expand-sm .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .navbar-expand-sm .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-sm > .container,
    .navbar-expand-sm > .container-fluid {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    .navbar-expand-sm .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .navbar-expand-sm .navbar-toggler {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .navbar-expand-md > .container,
    .navbar-expand-md > .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 768px) {
    .navbar-expand-md {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .navbar-expand-md .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-md > .container,
    .navbar-expand-md > .container-fluid {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    .navbar-expand-md .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .navbar-expand-md .navbar-toggler {
        display: none;
    }
}
@media (max-width: 991.98px) {
    .navbar-expand-lg > .container,
    .navbar-expand-lg > .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .navbar-expand-lg .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-lg > .container,
    .navbar-expand-lg > .container-fluid {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    .navbar-expand-lg .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}
@media (max-width: 1199.98px) {
    .navbar-expand-xl > .container,
    .navbar-expand-xl > .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 1200px) {
    .navbar-expand-xl {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .navbar-expand-xl .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .navbar-expand-xl .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-xl > .container,
    .navbar-expand-xl > .container-fluid {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    .navbar-expand-xl .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .navbar-expand-xl .navbar-toggler {
        display: none;
    }
}
.navbar-expand {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.navbar-expand > .container,
.navbar-expand > .container-fluid {
    padding-right: 0;
    padding-left: 0;
}
.navbar-expand .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
}
.navbar-expand .navbar-nav .dropdown-menu {
    position: absolute;
}
.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}
.navbar-expand > .container,
.navbar-expand > .container-fluid {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.navbar-expand .navbar-collapse {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
}
.navbar-expand .navbar-toggler {
    display: none;
}
.navbar-light .navbar-brand {
    color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.5);
}
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, 0.7);
}
.navbar-light .navbar-nav .nav-link.disabled {
    color: rgba(0, 0, 0, 0.3);
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-light .navbar-text {
    color: rgba(0, 0, 0, 0.5);
}
.navbar-light .navbar-text a {
    color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-text a:focus,
.navbar-light .navbar-text a:hover {
    color: rgba(0, 0, 0, 0.9);
}
.navbar-dark .navbar-brand {
    color: #fff;
}
.navbar-dark .navbar-brand:focus,
.navbar-dark .navbar-brand:hover {
    color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.5);
}
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
}
.navbar-dark .navbar-nav .nav-link.disabled {
    color: rgba(255, 255, 255, 0.25);
}
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
    color: #fff;
}
.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-dark .navbar-text {
    color: rgba(255, 255, 255, 0.5);
}
.navbar-dark .navbar-text a {
    color: #fff;
}
.navbar-dark .navbar-text a:focus,
.navbar-dark .navbar-text a:hover {
    color: #fff;
}
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}
.card > hr {
    margin-right: 0;
    margin-left: 0;
}
.card > .list-group:first-child .list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.card > .list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}
.card-title {
    margin-bottom: 0.75rem;
}
.card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0;
}
.card-text:last-child {
    margin-bottom: 0;
}
.card-link:hover {
    text-decoration: none;
}
.card-link + .card-link {
    margin-left: 1.25rem;
}
.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
.card-header + .list-group .list-group-item:first-child {
    border-top: 0;
}
.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}
.card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}
.card-header-tabs {
    margin-right: -0.625rem;
    margin-bottom: -0.75rem;
    margin-left: -0.625rem;
    border-bottom: 0;
}
.card-header-pills {
    margin-right: -0.625rem;
    margin-left: -0.625rem;
}
.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}
.card-img {
    width: 100%;
    border-radius: calc(0.25rem - 1px);
}
.card-img-top {
    width: 100%;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}
.card-img-bottom {
    width: 100%;
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}
.card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}
.card-deck .card {
    margin-bottom: 15px;
}
@media (min-width: 576px) {
    .card-deck {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    .card-deck .card {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }
}
.card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}
.card-group > .card {
    margin-bottom: 15px;
}
@media (min-width: 576px) {
    .card-group {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
    .card-group > .card {
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-bottom: 0;
    }
    .card-group > .card + .card {
        margin-left: 0;
        border-left: 0;
    }
    .card-group > .card:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .card-group > .card:not(:last-child) .card-header,
    .card-group > .card:not(:last-child) .card-img-top {
        border-top-right-radius: 0;
    }
    .card-group > .card:not(:last-child) .card-footer,
    .card-group > .card:not(:last-child) .card-img-bottom {
        border-bottom-right-radius: 0;
    }
    .card-group > .card:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .card-group > .card:not(:first-child) .card-header,
    .card-group > .card:not(:first-child) .card-img-top {
        border-top-left-radius: 0;
    }
    .card-group > .card:not(:first-child) .card-footer,
    .card-group > .card:not(:first-child) .card-img-bottom {
        border-bottom-left-radius: 0;
    }
}
.card-columns .card {
    margin-bottom: 0.75rem;
}
@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}
.accordion > .card {
    overflow: hidden;
}
.accordion > .card:not(:first-of-type) .card-header:first-child {
    border-radius: 0;
}
.accordion > .card:not(:first-of-type):not(:last-of-type) {
    border-bottom: 0;
    border-radius: 0;
}
.accordion > .card:first-of-type {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.accordion > .card:last-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.accordion > .card .card-header {
    margin-bottom: -1px;
}
.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}
.breadcrumb-item + .breadcrumb-item:hover::before {
    text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item:hover::before {
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #6c757d;
}
.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}
.pagination-lg .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
}
.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}
.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}
.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}
.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}
.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .badge {
        transition: none;
    }
}
a.badge:focus,
a.badge:hover {
    text-decoration: none;
}
.badge:empty {
    display: none;
}
.btn .badge {
    position: relative;
    top: -1px;
}
.badge-pill {
    padding-right: 0.6em;
    padding-left: 0.6em;
    border-radius: 10rem;
}
.badge-primary {
    color: #fff;
    background-color: #007bff;
}
a.badge-primary:focus,
a.badge-primary:hover {
    color: #fff;
    background-color: #0062cc;
}
a.badge-primary.focus,
a.badge-primary:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}
a.badge-secondary:focus,
a.badge-secondary:hover {
    color: #fff;
    background-color: #545b62;
}
a.badge-secondary.focus,
a.badge-secondary:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.badge-success {
    color: #fff;
    background-color: #28a745;
}
a.badge-success:focus,
a.badge-success:hover {
    color: #fff;
    background-color: #1e7e34;
}
a.badge-success.focus,
a.badge-success:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.badge-info {
    color: #fff;
    background-color: #17a2b8;
}
a.badge-info:focus,
a.badge-info:hover {
    color: #fff;
    background-color: #117a8b;
}
a.badge-info.focus,
a.badge-info:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.badge-warning {
    color: #212529;
    background-color: #ffc107;
}
a.badge-warning:focus,
a.badge-warning:hover {
    color: #212529;
    background-color: #d39e00;
}
a.badge-warning.focus,
a.badge-warning:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.badge-danger {
    color: #fff;
    background-color: #dc3545;
}
a.badge-danger:focus,
a.badge-danger:hover {
    color: #fff;
    background-color: #bd2130;
}
a.badge-danger.focus,
a.badge-danger:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}
a.badge-light:focus,
a.badge-light:hover {
    color: #212529;
    background-color: #dae0e5;
}
a.badge-light.focus,
a.badge-light:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.badge-dark {
    color: #fff;
    background-color: #343a40;
}
a.badge-dark:focus,
a.badge-dark:hover {
    color: #fff;
    background-color: #1d2124;
}
a.badge-dark.focus,
a.badge-dark:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

@media (min-width: 576px) {

}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
.alert-heading {
    color: inherit;
}
.alert-link {
    font-weight: 700;
}
.alert-dismissible {
    padding-right: 4rem;
}
.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
}
.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}
.alert-primary hr {
    border-top-color: #9fcdff;
}
.alert-primary .alert-link {
    color: #002752;
}
.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}
.alert-secondary hr {
    border-top-color: #c8cbcf;
}
.alert-secondary .alert-link {
    color: #202326;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-success hr {
    border-top-color: #b1dfbb;
}
.alert-success .alert-link {
    color: #0b2e13;
}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.alert-info hr {
    border-top-color: #abdde5;
}
.alert-info .alert-link {
    color: #062c33;
}
.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert-warning hr {
    border-top-color: #ffe8a1;
}
.alert-warning .alert-link {
    color: #533f03;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-danger hr {
    border-top-color: #f1b0b7;
}
.alert-danger .alert-link {
    color: #491217;
}
.alert-light {
    color: #818182;
    background-color: #fefefe;
    border-color: #fdfdfe;
}
.alert-light hr {
    border-top-color: #ececf6;
}
.alert-light .alert-link {
    color: #686868;
}
.alert-dark {
    color: #1b1e21;
    background-color: #d6d8d9;
    border-color: #c6c8ca;
}
.alert-dark hr {
    border-top-color: #b9bbbe;
}
.alert-dark .alert-link {
    color: #040505;
}
@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }
    to {
        background-position: 0 0;
    }
}
@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0;
    }
    to {
        background-position: 0 0;
    }
}
.progress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
    .progress-bar {
        transition: none;
    }
}
.progress-bar-striped {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
}
.progress-bar-animated {
    -webkit-animation: progress-bar-stripes 1s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .progress-bar-animated {
        -webkit-animation: none;
        animation: none;
    }
}
.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}
.media-body {
    -ms-flex: 1;
    flex: 1;
}
.list-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}
.list-group-item-action {
    width: 100%;
    color: #495057;
    text-align: inherit;
}
.list-group-item-action:focus,
.list-group-item-action:hover {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #f8f9fa;
}
.list-group-item-action:active {
    color: #212529;
    background-color: #e9ecef;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}
.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.list-group-item.disabled,
.list-group-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
}
.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.list-group-horizontal {
    -ms-flex-direction: row;
    flex-direction: row;
}
.list-group-horizontal .list-group-item {
    margin-right: -1px;
    margin-bottom: 0;
}
.list-group-horizontal .list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0;
}
.list-group-horizontal .list-group-item:last-child {
    margin-right: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0;
}
@media (min-width: 576px) {
    .list-group-horizontal-sm {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .list-group-horizontal-sm .list-group-item {
        margin-right: -1px;
        margin-bottom: 0;
    }
    .list-group-horizontal-sm .list-group-item:first-child {
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
        border-top-right-radius: 0;
    }
    .list-group-horizontal-sm .list-group-item:last-child {
        margin-right: 0;
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0;
    }
}
@media (min-width: 768px) {
    .list-group-horizontal-md {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .list-group-horizontal-md .list-group-item {
        margin-right: -1px;
        margin-bottom: 0;
    }
    .list-group-horizontal-md .list-group-item:first-child {
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
        border-top-right-radius: 0;
    }
    .list-group-horizontal-md .list-group-item:last-child {
        margin-right: 0;
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0;
    }
}
@media (min-width: 992px) {
    .list-group-horizontal-lg {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .list-group-horizontal-lg .list-group-item {
        margin-right: -1px;
        margin-bottom: 0;
    }
    .list-group-horizontal-lg .list-group-item:first-child {
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
        border-top-right-radius: 0;
    }
    .list-group-horizontal-lg .list-group-item:last-child {
        margin-right: 0;
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0;
    }
}
@media (min-width: 1200px) {
    .list-group-horizontal-xl {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .list-group-horizontal-xl .list-group-item {
        margin-right: -1px;
        margin-bottom: 0;
    }
    .list-group-horizontal-xl .list-group-item:first-child {
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
        border-top-right-radius: 0;
    }
    .list-group-horizontal-xl .list-group-item:last-child {
        margin-right: 0;
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0;
    }
}
.list-group-flush .list-group-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}
.list-group-flush .list-group-item:last-child {
    margin-bottom: -1px;
}
.list-group-flush:first-child .list-group-item:first-child {
    border-top: 0;
}
.list-group-flush:last-child .list-group-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}
.list-group-item-primary {
    color: #004085;
    background-color: #b8daff;
}
.list-group-item-primary.list-group-item-action:focus,
.list-group-item-primary.list-group-item-action:hover {
    color: #004085;
    background-color: #9fcdff;
}
.list-group-item-primary.list-group-item-action.active {
    color: #fff;
    background-color: #004085;
    border-color: #004085;
}
.list-group-item-secondary {
    color: #383d41;
    background-color: #d6d8db;
}
.list-group-item-secondary.list-group-item-action:focus,
.list-group-item-secondary.list-group-item-action:hover {
    color: #383d41;
    background-color: #c8cbcf;
}
.list-group-item-secondary.list-group-item-action.active {
    color: #fff;
    background-color: #383d41;
    border-color: #383d41;
}
.list-group-item-success {
    color: #155724;
    background-color: #c3e6cb;
}
.list-group-item-success.list-group-item-action:focus,
.list-group-item-success.list-group-item-action:hover {
    color: #155724;
    background-color: #b1dfbb;
}
.list-group-item-success.list-group-item-action.active {
    color: #fff;
    background-color: #155724;
    border-color: #155724;
}
.list-group-item-info {
    color: #0c5460;
    background-color: #bee5eb;
}
.list-group-item-info.list-group-item-action:focus,
.list-group-item-info.list-group-item-action:hover {
    color: #0c5460;
    background-color: #abdde5;
}
.list-group-item-info.list-group-item-action.active {
    color: #fff;
    background-color: #0c5460;
    border-color: #0c5460;
}
.list-group-item-warning {
    color: #856404;
    background-color: #ffeeba;
}
.list-group-item-warning.list-group-item-action:focus,
.list-group-item-warning.list-group-item-action:hover {
    color: #856404;
    background-color: #ffe8a1;
}
.list-group-item-warning.list-group-item-action.active {
    color: #fff;
    background-color: #856404;
    border-color: #856404;
}
.list-group-item-danger {
    color: #721c24;
    background-color: #f5c6cb;
}
.list-group-item-danger.list-group-item-action:focus,
.list-group-item-danger.list-group-item-action:hover {
    color: #721c24;
    background-color: #f1b0b7;
}
.list-group-item-danger.list-group-item-action.active {
    color: #fff;
    background-color: #721c24;
    border-color: #721c24;
}
.list-group-item-light {
    color: #818182;
    background-color: #fdfdfe;
}
.list-group-item-light.list-group-item-action:focus,
.list-group-item-light.list-group-item-action:hover {
    color: #818182;
    background-color: #ececf6;
}
.list-group-item-light.list-group-item-action.active {
    color: #fff;
    background-color: #818182;
    border-color: #818182;
}
.list-group-item-dark {
    color: #1b1e21;
    background-color: #c6c8ca;
}
.list-group-item-dark.list-group-item-action:focus,
.list-group-item-dark.list-group-item-action:hover {
    color: #1b1e21;
    background-color: #b9bbbe;
}
.list-group-item-dark.list-group-item-action.active {
    color: #fff;
    background-color: #1b1e21;
    border-color: #1b1e21;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
}
.close:hover {
    color: #000;
    text-decoration: none;
}
.close:not(:disabled):not(.disabled):focus,
.close:not(:disabled):not(.disabled):hover {
    opacity: 0.75;
}
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
a.close.disabled {
    pointer-events: none;
}
.toast {
    max-width: 350px;
    overflow: hidden;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-radius: 0.25rem;
}
.toast:not(:last-child) {
    margin-bottom: 0.75rem;
}
.toast.showing {
    opacity: 1;
}
.toast.show {
    display: block;
    opacity: 1;
}
.toast.hide {
    display: none;
}
.toast-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.25rem 0.75rem;
    color: #6c757d;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.toast-body {
    padding: 0.75rem;
}
.modal-open {
    overflow: hidden;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}
.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition:
        transform 0.3s ease-out,
        -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}
.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}
.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}
.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none;
}
.modal-dialog-centered.modal-dialog-scrollable::before {
    content: none;
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.5;
}
.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}
.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}
.modal-footer > :not(:first-child) {
    margin-left: 0.25rem;
}
.modal-footer > :not(:last-child) {
    margin-right: 0.25rem;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem);
    }
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
    }
    .modal-sm {
        max-width: 300px;
    }
}
@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px;
    }
}
@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    margin: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
        sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 0.875rem;
    word-wrap: break-word;
    opacity: 0;
}
.tooltip.show {
    opacity: 0.9;
}
.tooltip .arrow {
    position: absolute;
    display: block;
    width: 0.8rem;
    height: 0.4rem;
}
.tooltip .arrow::before {
    position: absolute;
    content: "";
    border-color: transparent;
    border-style: solid;
}
.carousel {
    position: relative;
}
.carousel.pointer-event {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}
.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition:
        transform 0.6s ease-in-out,
        -webkit-transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}
.active.carousel-item-right,
.carousel-item-next:not(.carousel-item-left) {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
.active.carousel-item-left,
.carousel-item-prev:not(.carousel-item-right) {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}
    color: #fff;
    text-align: center;
}
@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

}


@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
    }
}

    50% {
        opacity: 1;
    }
}


.align-baseline {
    vertical-align: baseline !important;
}
.align-top {
    vertical-align: top !important;
}
.align-middle {
    vertical-align: middle !important;
}
.align-bottom {
    vertical-align: bottom !important;
}
.align-text-bottom {
    vertical-align: text-bottom !important;
}
.align-text-top {
    vertical-align: text-top !important;
}
.bg-primary {
    background-color: #007bff !important;
}
a.bg-primary:focus,
a.bg-primary:hover,
button.bg-primary:focus,
button.bg-primary:hover {
    background-color: #0062cc !important;
}
.bg-secondary {
    background-color: #6c757d !important;
}
a.bg-secondary:focus,
a.bg-secondary:hover,
button.bg-secondary:focus,
button.bg-secondary:hover {
    background-color: #545b62 !important;
}
.bg-success {
    background-color: #28a745 !important;
}
a.bg-success:focus,
a.bg-success:hover,
button.bg-success:focus,
button.bg-success:hover {
    background-color: #1e7e34 !important;
}
.bg-info {
    background-color: #17a2b8 !important;
}
a.bg-info:focus,
a.bg-info:hover,
button.bg-info:focus,
button.bg-info:hover {
    background-color: #117a8b !important;
}
.bg-warning {
    background-color: #ffc107 !important;
}
a.bg-warning:focus,
a.bg-warning:hover,
button.bg-warning:focus,
button.bg-warning:hover {
    background-color: #d39e00 !important;
}
.bg-danger {
    background-color: #dc3545 !important;
}
a.bg-danger:focus,
a.bg-danger:hover,
button.bg-danger:focus,
button.bg-danger:hover {
    background-color: #bd2130 !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}
a.bg-light:focus,
a.bg-light:hover,
button.bg-light:focus,
button.bg-light:hover {
    background-color: #dae0e5 !important;
}
.bg-dark {
    background-color: #343a40 !important;
}
a.bg-dark:focus,
a.bg-dark:hover,
button.bg-dark:focus,
button.bg-dark:hover {
    background-color: #1d2124 !important;
}
.bg-white {
    background-color: #fff !important;
}
.bg-transparent {
    background-color: transparent !important;
}
.border {
    border: 1px solid #dee2e6 !important;
}
.border-top {
    border-top: 1px solid #dee2e6 !important;
}
.border-right {
    border-right: 1px solid #dee2e6 !important;
}
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
.border-left {
    border-left: 1px solid #dee2e6 !important;
}
.border-0 {
    border: 0 !important;
}
.border-top-0 {
    border-top: 0 !important;
}
.border-right-0 {
    border-right: 0 !important;
}
.border-bottom-0 {
    border-bottom: 0 !important;
}
.border-left-0 {
    border-left: 0 !important;
}
.border-primary {
    border-color: #007bff !important;
}
.border-secondary {
    border-color: #6c757d !important;
}
.border-success {
    border-color: #28a745 !important;
}
.border-info {
    border-color: #17a2b8 !important;
}
.border-warning {
    border-color: #ffc107 !important;
}
.border-danger {
    border-color: #dc3545 !important;
}
.border-light {
    border-color: #f8f9fa !important;
}
.border-dark {
    border-color: #343a40 !important;
}
.border-white {
    border-color: #fff !important;
}
.rounded-sm {
    border-radius: 0.2rem !important;
}
.rounded {
    border-radius: 0.25rem !important;
}
.rounded-top {
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}
.rounded-right {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}
.rounded-bottom {
    border-bottom-right-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}
.rounded-left {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}
.rounded-lg {
    border-radius: 0.3rem !important;
}
.rounded-circle {
    border-radius: 50% !important;
}
.rounded-pill {
    border-radius: 50rem !important;
}
.rounded-0 {
    border-radius: 0 !important;
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

/* ===============================================================================
   TL-COMPONENTS.CSS - Navigation, Footer, Shared Page Components
   =============================================================================== */

/* --- Modern reusable public code block controls --- */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block {
    container-type: inline-size;
    position: relative;
    border: 1px solid #263449;
    border-radius: var(--tl-radius-lg);
    background: var(--tl-dark-bg);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-titlebar {
    gap: 12px;
    min-height: 54px;
    padding: 11px 16px;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-bottom: 1px solid #263449;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-title {
    min-width: 0;
    color: var(--tl-dark-text);
    font-size: 0.82rem;
    letter-spacing: 0;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 34px;
    padding: 6px 11px;
    border-radius: var(--tl-radius-md);
    border: 1px solid #334155;
    background: rgba(15, 23, 42, 0.72);
    color: var(--tl-dark-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: transform var(--tl-duration-fast) ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button i,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    font-size: 0.94rem;
    line-height: 1;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button:hover,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn:hover,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button:focus-visible,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn:focus-visible {
    transform: translateY(-1px);
    background: var(--tl-dark-bg-alt);
    border-color: var(--tl-sky);
    color: var(--tl-surface-alt);
    outline: none;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn {
    border-color: #15803d;
    color: #86efac;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-wrap-btn[aria-pressed="true"],
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-fullscreen-btn[aria-pressed="true"] {
    background: rgba(14, 165, 233, 0.18);
    border-color: var(--tl-sky);
    color: #e0f2fe;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn:hover,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn:focus-visible {
    background: rgba(22, 101, 52, 0.24);
    border-color: #22c55e;
    color: #bbf7d0;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-copy-btn.copied,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-tool-done {
    background: rgba(22, 101, 52, 0.28);
    border-color: #22c55e;
    color: #bbf7d0;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-tabs {
    gap: 4px;
    padding: 0 10px;
    background: #111827;
    border-bottom: 1px solid #263449;
    scrollbar-width: thin;
    scrollbar-color: #475569 #111827;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-tabs::-webkit-scrollbar {
    display: block;
    height: 5px;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-tabs::-webkit-scrollbar-track {
    background: #111827;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-tabs::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: var(--tl-radius-full);
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-tab {
    max-width: 260px;
    min-height: 42px;
    margin-top: 8px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: var(--tl-radius-md) 8px 0 0;
    background: transparent;
    color: var(--tl-dark-muted);
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-tab:hover,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-tab:focus-visible {
    background: var(--tl-dark-bg-alt);
    color: var(--tl-border);
    outline: none;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-tab.active {
    background: var(--tl-dark-bg);
    border-color: #263449;
    border-top-color: var(--tl-sky);
    color: var(--tl-surface-alt);
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-panels {
    background: var(--tl-dark-bg);
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block pre[class*="language-"],
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block pre.language-git,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block pre.language-typescript,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block pre.language-html,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block pre.language-css {
    background: var(--tl-dark-bg);
    padding: 24px 28px;
    max-height: clamp(340px, 62vh, 640px);
    scrollbar-color: #475569 var(--tl-dark-bg);
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-wrap pre[class*="language-"],
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-wrap code[class*="language-"] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-fullscreen {
    position: fixed;
    inset: 16px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
    border-color: var(--tl-sky);
    box-shadow: 0 24px 90px rgba(2, 6, 23, 0.5);
}

body.tl-code-lock-scroll {
    overflow: hidden;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-fullscreen .tl-code-panels,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-fullscreen .tl-panel.active {
    flex: 1;
    min-height: 0;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-code-fullscreen pre[class*="language-"] {
    height: 100%;
    max-height: none;
}

@container (max-width: 520px) {
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-titlebar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-title {
        min-width: 0;
        width: 100%;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions::-webkit-scrollbar {
        display: none;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn {
        position: relative;
        flex: 0 0 auto;
        width: 34px;
        min-width: 34px;
        min-height: 32px;
        padding-right: 0;
        padding-left: 0;
        gap: 0;
        font-size: 0;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button i,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn i {
        font-size: 0.86rem;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button span,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (max-width: 767.98px) {
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-titlebar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 10px;
        row-gap: 8px;
        padding: 10px 12px;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-title {
        flex: none;
        min-width: 0;
        width: 100%;
        padding-top: 1px;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions::-webkit-scrollbar {
        display: none;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn {
        flex: 0 0 auto;
        min-height: 32px;
        padding: 6px 9px;
        font-size: 0.76rem;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-tab {
        max-width: 210px;
        padding: 8px 10px;
        font-size: 0.74rem;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-block pre[class*="language-"] {
        padding: 18px 16px;
        font-size: 0.82rem;
        max-height: 70vh;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-fullscreen {
        inset: 8px;
    }
}

@media (max-width: 767.98px) {
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button span,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn {
        width: 34px;
        min-width: 34px;
        padding-right: 0;
        padding-left: 0;
        gap: 0;
        font-size: 0;
    }

    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > button i,
    :where(.tl-tutorial-layout, .tl-home-layout) .tl-code-actions > .tl-run-btn i {
        font-size: 0.86rem;
    }
}

/* --- Tutorial Home: Start Learning Button --- */
.tl-dive-btn-wrap {
  margin: 28px 0 8px;
}
.tl-dive-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(135deg, var(--tl-dark-bg) 0%, #1e3a5f 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--tl-radius-xl);
  text-decoration: none;
  font-size: 1rem;
  font-weight: var(--tl-weight-bold);
  border: 1.5px solid rgba(56,189,248,.25);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.tl-dive-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s;
}
.tl-dive-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(56,189,248,.2);
  border-color: var(--tl-sky);
  color: #fff;
  text-decoration: none;
}
.tl-dive-btn:hover::before { opacity: 1; }
.tl-dive-btn-icon {
  width: 36px; height: 36px;
  background: rgba(56,189,248,.15);
  border-radius: var(--tl-radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--tl-sky);
  flex-shrink: 0;
  transition: background .2s;
}
.tl-dive-btn:hover .tl-dive-btn-icon { background: var(--tl-sky); color: var(--tl-dark-bg); }
.tl-dive-btn-text {
  font-size: .95rem;
  font-weight: var(--tl-weight-bold);
  letter-spacing: .01em;
}
.tl-dive-btn-arrow {
  font-size: .8rem;
  color: var(--tl-sky);
  transition: transform .2s;
}
.tl-dive-btn:hover .tl-dive-btn-arrow { transform: translateX(4px); }


/* -- Tutorial Share Block -- */
.tl-share-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  margin: 24px 0 8px;
  text-align: center;
}
.tl-share-label {
  font-size: .78rem;
  font-weight: var(--tl-weight-bold);
  color: var(--tl-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tl-share-label i { font-size: .85rem; }
.tl-share-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.tl-share-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  flex-shrink: 0;
  opacity: .85;
}
.tl-share-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.18); text-decoration: none; opacity: 1; }
.tl-share-twitter  { background: #1da1f2; color: #fff; }
.tl-share-linkedin { background: #0a66c2; color: #fff; }
.tl-share-facebook { background: #1877f2; color: #fff; }
.tl-share-reddit   { background: #ff4500; color: #fff; }
.tl-share-whatsapp { background: #25d366; color: #fff; }
@media (max-width: 576px) {
    .tl-share-block { padding: 14px; gap: 10px; }
    .tl-share-btns { gap: 8px; }
    .tl-share-btn { width: 38px; height: 38px; font-size: .85rem; }
}

/* Shared Root Home Header */
body.tl-home-layout {
    padding-top: 68px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--tl-dark-bg);
}
body.tl-home-layout .page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
body.tl-home-layout .tl-mf-footer {
    margin-top: auto;
}
body.tl-home-layout .page-wrapper > .tl-hl-section:last-of-type {
    padding-bottom: 0;
}
.tl-mh-secbar {
    background: var(--tl-dark-bg-alt);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 7px 0;
    font-size: 0.78rem;
    position: relative;
    z-index: 1001;
}
.tl-mh-secbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.tl-mh-secbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.tl-mh-secbar-left a,
.tl-mh-secbar-left span {
    color: var(--tl-dark-text);
    text-decoration: none;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color var(--tl-duration-base);
}
.tl-mh-secbar-left a:hover {
    color: var(--tl-sky);
}
.tl-mh-secbar-left i {
    color: var(--tl-sky);
    font-size: 0.75rem;
}
.tl-mh-secbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tl-mh-secbar-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tl-mh-secbar-socials a {
    color: var(--tl-dark-text);
    font-size: 0.8rem;
    text-decoration: none;
    width: 26px;
    height: 26px;
    border-radius: var(--tl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    transition: color var(--tl-duration-base),
        background 0.2s;
}
.tl-mh-secbar-socials a:hover {
    color: var(--tl-sky);
    background: rgba(56, 189, 248, 0.1);
}
.tl-mh-secbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
}
.tl-mh-secbar-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tl-mh-secbar-links a {
    color: var(--tl-dark-text);
    text-decoration: none;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 5px;
    transition: color var(--tl-duration-base),
        background 0.2s;
}
.tl-mh-secbar-links a:hover {
    color: var(--tl-sky);
    background: rgba(56, 189, 248, 0.08);
}
.tl-mh-secbar-links i {
    font-size: 0.75rem;
}
.tl-mh-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition:
        background 0.25s,
        box-shadow 0.25s;
}
.tl-mh-nav.scrolled {
    background: rgba(15, 23, 42, 0.99);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}
.tl-mh-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tl-mh-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 2px;
}
.tl-mh-logo img {
    height: 52px;
    width: auto;
    display: block;
}
.tl-mh-logo-slogan {
    font-size: 0.62rem;
    color: var(--tl-sky);
    font-weight: var(--tl-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.tl-mh-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 24px;
    flex: 1;
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.tl-mh-links > li {
    position: relative;
}
.tl-mh-links > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--tl-dark-text);
    font-size: 0.88rem;
    font-weight: var(--tl-weight-medium);
    text-decoration: none;
    border-radius: var(--tl-radius-md);
    transition: color var(--tl-duration-base),
        background 0.2s;
    white-space: nowrap;
}
.tl-mh-links > li > a i.drop-arrow {
    font-size: 0.6rem;
    color: var(--tl-dark-text);
    transition: transform var(--tl-duration-base);
}
.tl-mh-links > li:hover > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.tl-mh-links > li:hover > a i.drop-arrow {
    transform: rotate(180deg);
}
.tl-mh-links > li > a.active-link {
    color: var(--tl-sky);
}
.tl-mh-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--tl-dark-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--tl-radius-xl);
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--tl-duration-base),
        transform 0.2s,
        visibility 0.2s;
    list-style: none;
}
.tl-mh-links > li:hover .tl-mh-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tl-mh-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--tl-radius-md);
    color: var(--tl-dark-text);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background var(--tl-duration-fast),
        color 0.15s;
}
.tl-mh-dropdown a:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--tl-sky);
}
.tl-mh-dropdown a i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}
.tl-mh-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 0;
}
.tl-mh-mega {
    position: absolute;
    top: calc(100% + 8px);
    left: -120px;
    background: var(--tl-dark-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--tl-radius-xl);
    padding: 20px;
    width: 680px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--tl-duration-base),
        transform 0.2s,
        visibility 0.2s;
}
.tl-mh-mega-wide {
    width: 900px;
}
.tl-mh-mega-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tl-mh-mega-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tl-mh-mega-col-title {
    font-size: 0.7rem;
    font-weight: var(--tl-weight-bold);
    color: var(--tl-border);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}
.tl-mh-links > li:hover .tl-mh-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tl-mh-mega-title {
    font-size: 0.7rem;
    font-weight: var(--tl-weight-bold);
    color: var(--tl-border);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-mh-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
.tl-mh-mega-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--tl-radius-md);
    color: var(--tl-dark-text);
    font-size: 0.82rem;
    text-decoration: none;
    transition: background var(--tl-duration-fast),
        color 0.15s;
}
.tl-mh-mega-col .tl-mh-mega-item {
    padding: 6px 8px;
    font-size: 0.8rem;
}
.tl-mh-mega-item:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--tl-sky);
    text-decoration: none;
}
.tl-mh-mega-item i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}
.tl-mh-mega-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
}
.tl-mh-mega-footer a {
    font-size: 0.8rem;
    color: var(--tl-sky);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--tl-duration-base);
}
.tl-mh-mega-footer a:hover {
    gap: 10px;
}
.tl-mh-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.tl-mh-search-wrap {
    position: relative;
}
.tl-mh-search-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--tl-radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--tl-dark-text);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--tl-duration-base),
        color 0.2s;
}
.tl-mh-search-toggle:hover {
    background: rgba(56, 189, 248, 0.12);
    color: var(--tl-sky);
    border-color: rgba(56, 189, 248, 0.2);
}
.tl-mh-search-box {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    background: var(--tl-dark-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 12px 12px;
    padding: 12px;
    width: 300px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--tl-duration-base),
        transform 0.2s,
        visibility 0.2s;
}
@media (max-width: 480px) {
    .tl-mh-search-box {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        box-sizing: border-box;
    }
}
.tl-mh-search-box.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tl-mh-search-box form {
    display: flex;
    gap: 8px;
}
.tl-mh-search-box input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--tl-radius-md);
    padding: 9px 12px;
    color: var(--tl-border);
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--tl-duration-base);
}
.tl-mh-search-box input::placeholder {
    color: var(--tl-dark-text);
}
.tl-mh-search-box input:focus {
    border-color: var(--tl-sky);
}
.tl-mh-search-box button {
    background: var(--tl-sky);
    color: var(--tl-dark-bg);
    border: none;
    border-radius: var(--tl-radius-md);
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: var(--tl-weight-bold);
    transition: background var(--tl-duration-base);
}
.tl-mh-search-box button:hover {
    background: #7dd3fc;
}
.tl-mh-compiler-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--tl-sky);
    padding: 8px 14px;
    border-radius: var(--tl-radius-md);
    font-size: 0.82rem;
    font-weight: var(--tl-weight-semibold);
    text-decoration: none;
    transition: background var(--tl-duration-base),
        border-color 0.2s;
    white-space: nowrap;
}
.tl-mh-compiler-btn:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: var(--tl-sky);
    color: var(--tl-sky);
    text-decoration: none;
}
.tl-mh-cta-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--tl-sky);
    color: var(--tl-dark-bg);
    padding: 8px 16px;
    border-radius: var(--tl-radius-md);
    font-size: 0.82rem;
    font-weight: var(--tl-weight-bold);
    text-decoration: none;
    transition: background var(--tl-duration-base),
        transform 0.15s;
    white-space: nowrap;
}
.tl-mh-cta-btn:hover {
    background: #7dd3fc;
    transform: translateY(-1px);
    color: var(--tl-dark-bg);
    text-decoration: none;
}
.tl-mh-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 8px;
}
.tl-mh-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tl-dark-text);
    border-radius: 2px;
    transition: transform var(--tl-duration-slow),
        opacity 0.3s,
        background 0.2s;
}
.tl-mh-mobile-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--tl-sky);
}
.tl-mh-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}
.tl-mh-mobile-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--tl-sky);
}
.tl-mh-mobile-drawer {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--tl-dark-bg);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
    padding: 16px 20px 40px;
    border-top: none;
    box-sizing: border-box;
}
.tl-mh-mobile-drawer.open {
    display: block;
}
.tl-mh-mob-section {
    margin-bottom: 8px;
}
.tl-mh-mob-section-title {
    font-size: 0.7rem;
    font-weight: var(--tl-weight-bold);
    color: var(--tl-border);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 4px 6px;
}
.tl-mh-mob-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--tl-radius-lg);
    color: var(--tl-dark-text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--tl-duration-fast),
        color 0.15s;
}
.tl-mh-mob-link:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--tl-sky);
    text-decoration: none;
}
.tl-mh-mob-link i {
    width: 18px;
    text-align: center;
}
.tl-mh-mob-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 4px;
}
.tl-mh-mob-grid-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--tl-radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--tl-dark-text);
    font-size: 0.82rem;
    text-decoration: none;
    transition: background var(--tl-duration-fast),
        color 0.15s;
}
.tl-mh-mob-grid-item:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--tl-sky);
    text-decoration: none;
}
.tl-mh-mob-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.tl-mh-mob-actions a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: var(--tl-radius-lg);
    font-weight: var(--tl-weight-bold);
    font-size: 0.88rem;
    text-decoration: none;
}
.tl-mh-mob-actions .primary {
    background: var(--tl-sky);
    color: var(--tl-dark-bg);
}
.tl-mh-mob-actions .outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--tl-border);
}
@media (max-width: 991px) {
    .tl-mh-links,
    .tl-mh-compiler-btn,
    .tl-mh-cta-btn {
        display: none;
    }
    .tl-mh-mobile-toggle {
        display: flex;
    }
    .tl-mh-mega { display: none !important; }
    .tl-mh-dropdown { display: none !important; }
}
@media (max-width: 768px) {
    .tl-mh-secbar { display: none; }
    .tl-mh-mobile-drawer { top: 68px; }
    body.tl-tutorial-layout { padding-top: 68px !important; }
    body.tl-home-layout { padding-top: 68px !important; }
}
@media (max-width: 480px) {
    .tl-mh-inner { padding: 0 12px; }
    .tl-mh-logo img { height: 42px; }
    .tl-mh-logo-slogan { display: none; }
    .tl-mh-search-box { width: calc(100vw - 24px); right: -12px; }
}

/* Shared Tutorials Header */
html.tl-tutorial-layout {
    background: var(--tl-dark-bg) !important;
}
body.tl-tutorial-layout {
    padding-top: 68px !important;
    background: var(--tl-dark-bg) !important;
}
body.tl-tutorial-layout .page-wrapper {
    background-color: transparent !important;
}
body.tl-tutorial-layout .main-container {
    background: var(--tl-body-bg) !important;
    padding: 32px 0 48px !important;
}
body.tl-tutorial-layout .main-container .main {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0;
}
body.tl-tutorial-layout .main-container .sidebar {
    background: transparent !important;
}
body.tl-tutorial-layout .breadcrumb-container {
    display: none !important;
}
@media (min-width: 992px) {
    body.tl-tutorial-layout .main-container .main {
        padding-left: 23px;
        padding-right: 23px;
    }
    body.tl-tutorial-layout .main-container .row > aside.order-lg-3 {
        padding-left: 8px;
        padding-right: 26px;
    }
}
@media (max-width: 991px) {
    body.tl-tutorial-layout .main-container { padding: 20px 0 32px !important; }
    body.tl-tutorial-layout .main-container .main { padding: 0 4px; }
}
@media (max-width: 576px) {
    body.tl-tutorial-layout .main-container { padding: 12px 0 24px !important; }
}
.adsbygoogle:not([data-ad-status="filled"]) {
    min-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.tl-nav-buttons {
    display: flex;
    gap: 12px;
    margin: 28px 0 8px;
}
.tl-nav-btn {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: var(--tl-radius-lg);
    text-decoration: none;
    border: none;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #e2e8f0;
    transition: background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    min-width: 0;
    flex: 1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.tl-nav-btn:hover {
    background: linear-gradient(135deg, #1e293b 0%, #1e4a7f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    text-decoration: none;
    color: #fff;
}
.tl-nav-prev {
    justify-content: flex-start;
}
.tl-nav-next {
    justify-content: flex-end;
}
/* Inner wrapper keeps arrow+text tightly together with uniform gap */
.tl-nav-inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.tl-nav-prev .tl-nav-inner {
    gap: 12px;
}
.tl-nav-next .tl-nav-inner {
    gap: 17px;
}
.tl-nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: var(--tl-radius-lg);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background var(--tl-duration-base),
        color 0.2s;
}
.tl-nav-btn:hover .tl-nav-arrow {
    background: #38bdf8;
    color: #0f172a;
}
.tl-nav-text {
    font-size: 0.9rem;
    font-weight: var(--tl-weight-bold);
    color: #e2e8f0;
    letter-spacing: 0.01em;
}
.tl-nav-btn:hover .tl-nav-text {
    color: #fff;
}
.tl-nav-buttons .tl-nav-btn,
.tl-nav-buttons .tl-nav-btn:hover,
.tl-nav-buttons .tl-nav-btn:focus,
.tl-nav-buttons .tl-nav-btn:active,
.tl-nav-buttons .tl-nav-inner,
.tl-nav-buttons .tl-nav-text {
    text-decoration: none !important;
    border-bottom: 0 !important;
}
.tl-nav-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}
@media (max-width: 576px) {
    .tl-nav-buttons { flex-direction: row; gap: 8px; }
    .tl-nav-btn { flex: 1; width: auto; min-width: 0; }
}

/* Shared Modern Footer */
.tl-mf-footer {
    background: var(--tl-dark-bg);
    color: var(--tl-dark-text);
    font-size: 0.9rem;
}
.tl-mf-cta {
    background: linear-gradient(135deg, #0284c7 0%, var(--tl-dark-bg) 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.tl-mf-cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    right: -100px;
    top: -150px;
    pointer-events: none;
}
.tl-mf-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.tl-mf-cta h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: var(--tl-weight-extrabold);
    margin: 0 0 6px;
}
.tl-mf-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}
.tl-mf-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.tl-mf-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--tl-dark-bg);
    padding: 12px 24px;
    border-radius: var(--tl-radius-lg);
    font-weight: var(--tl-weight-bold);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--tl-duration-base), transform 0.15s;
}
.tl-mf-btn-white:hover {
    background: var(--tl-border);
    transform: translateY(-2px);
    color: var(--tl-dark-bg);
    text-decoration: none;
}
.tl-mf-btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--tl-radius-lg);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: var(--tl-weight-semibold);
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color var(--tl-duration-base), transform 0.15s;
}
.tl-mf-btn-outline-white:hover {
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Footer body — CSS grid, no Bootstrap dependency */
.tl-mf-body {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-mf-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    align-items: start;
}
.tl-mf-col {
    min-width: 0;
}
.tl-mf-brand img {
    height: 44px;
    margin-bottom: 16px;
    display: block;
}
.tl-mf-brand p {
    color: var(--tl-dark-text);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 20px;
}
.tl-mf-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tl-dark-text);
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.tl-mf-contact-item i {
    width: 32px;
    height: 32px;
    background: rgba(56, 189, 248, 0.08);
    border-radius: var(--tl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tl-sky);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.tl-mf-contact-item a {
    color: var(--tl-dark-text);
    text-decoration: none;
    transition: color var(--tl-duration-base);
}
.tl-mf-contact-item a:hover { color: var(--tl-sky); }
.tl-mf-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.tl-mf-social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--tl-radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tl-dark-text);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--tl-duration-base), color 0.2s, border-color 0.2s, transform 0.15s;
}
.tl-mf-social-btn:hover {
    background: var(--tl-sky);
    color: var(--tl-dark-bg);
    border-color: var(--tl-sky);
    transform: translateY(-2px);
    text-decoration: none;
}
.tl-mf-col-title {
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: var(--tl-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tl-mf-col-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.tl-mf-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tl-mf-nav-list li { margin-bottom: 10px; }
.tl-mf-nav-list a {
    color: var(--tl-dark-text);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--tl-duration-base), gap 0.2s;
}
.tl-mf-nav-list a:hover { color: var(--tl-sky); gap: 12px; }
.tl-mf-nav-list a i {
    font-size: 0.5rem;
    color: var(--tl-dark-muted);
    transition: color var(--tl-duration-base);
}
.tl-mf-nav-list a:hover i { color: var(--tl-sky); }
.tl-mf-newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.tl-mf-newsletter-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--tl-radius-md);
    padding: 10px 14px;
    color: #e2e8f0;
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--tl-duration-base);
}
.tl-mf-newsletter-form input::placeholder { color: var(--tl-dark-text); }
.tl-mf-newsletter-form input:focus {
    border-color: var(--tl-sky);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.tl-mf-newsletter-form button {
    background: var(--tl-sky);
    color: var(--tl-dark-bg);
    border: none;
    border-radius: var(--tl-radius-md);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: var(--tl-weight-bold);
    transition: background var(--tl-duration-base);
    white-space: nowrap;
    flex-shrink: 0;
}
.tl-mf-newsletter-form button:hover { background: #7dd3fc; }
.tl-mf-tut-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}
.tl-mf-tut-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--tl-radius-md);
    padding: 8px 10px;
    text-decoration: none;
    color: var(--tl-dark-text);
    font-size: 0.82rem;
    transition: background var(--tl-duration-base), color 0.2s, border-color 0.2s;
    min-width: 0;
    overflow: hidden;
}
.tl-mf-tut-item:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
    color: var(--tl-sky);
    text-decoration: none;
}
.tl-mf-tut-item i { font-size: 1rem; flex-shrink: 0; }
.tl-mf-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.tl-mf-bottom p {
    margin: 0;
    color: var(--tl-dark-text);
    font-size: 0.82rem;
}
.tl-mf-bottom a {
    color: var(--tl-dark-text);
    text-decoration: none;
    transition: color var(--tl-duration-base);
}
.tl-mf-bottom a:hover { color: var(--tl-sky); }
.tl-mf-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.tl-mf-bottom-links a {
    color: var(--tl-dark-text);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color var(--tl-duration-base);
}
.tl-mf-bottom-links a:hover { color: var(--tl-sky); }

/* Footer responsive */
@media (max-width: 1024px) {
    .tl-mf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }
    .tl-mf-col--brand {
        grid-column: 1 / -1;
    }
    .tl-mf-col--wide {
        grid-column: 1 / -1;
    }
    .tl-mf-brand p {
        max-width: 600px;
    }
    .tl-mf-tut-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .tl-mf-newsletter-form {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .tl-mf-cta {
        padding: 48px 0;
    }
    .tl-mf-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .tl-mf-cta-btns {
        justify-content: center;
    }
    .tl-mf-body {
        padding: 48px 0 36px;
    }
    .tl-mf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }
    .tl-mf-col--brand {
        grid-column: 1 / -1;
    }
    .tl-mf-col--wide {
        grid-column: 1 / -1;
    }
    .tl-mf-brand p {
        max-width: 100%;
    }
    .tl-mf-tut-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .tl-mf-newsletter-form {
        max-width: 100%;
    }
    .tl-mf-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .tl-mf-bottom-links {
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .tl-mf-cta {
        padding: 40px 0;
    }
    .tl-mf-body {
        padding: 40px 0 28px;
    }
    .tl-mf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    .tl-mf-col--brand,
    .tl-mf-col--wide {
        grid-column: 1 / -1;
    }
    .tl-mf-brand img {
        height: 38px;
    }
    .tl-mf-tut-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tl-mf-newsletter-form {
        flex-direction: column;
    }
    .tl-mf-newsletter-form button {
        width: 100%;
        justify-content: center;
    }
    .tl-mf-bottom-links {
        gap: 10px;
    }
    .tl-mf-bottom-links a {
        font-size: 0.75rem;
    }
    .tl-mf-bottom p {
        font-size: 0.75rem;
    }
}
.tl-mf-cta {
    background: linear-gradient(135deg, #0284c7 0%, var(--tl-dark-bg) 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.tl-mf-cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    right: -100px;
    top: -150px;
    pointer-events: none;
}
.tl-mf-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.tl-mf-cta h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: var(--tl-weight-extrabold);
    margin: 0 0 6px;
}
.tl-mf-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.95rem;
}
.tl-mf-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.tl-mf-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--tl-dark-bg);
    padding: 12px 24px;
    border-radius: var(--tl-radius-lg);
    font-weight: var(--tl-weight-bold);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--tl-duration-base),
        transform 0.15s;
}
.tl-mf-btn-white:hover {
    background: var(--tl-border);
    transform: translateY(-2px);
    color: var(--tl-dark-bg);
    text-decoration: none;
}
.tl-mf-btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--tl-radius-lg);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: var(--tl-weight-semibold);
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color var(--tl-duration-base),
        transform 0.15s;
}
/* Shared Tutorial Subject Landing Pages */
.cj-page .cj-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--tl-radius-xl);
    padding: 40px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.cj-page .cj-hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--cj-hero-glow);
}
.cj-page .cj-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--cj-badge-bg);
    border: 1px solid var(--cj-badge-border);
    color: var(--cj-badge-color);
    padding: 4px 14px;
    border-radius: var(--tl-radius-full);
    font-size: 0.75rem;
    font-weight: var(--tl-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.cj-page .cj-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: var(--tl-weight-extrabold);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.cj-page .cj-hero h1 span {
    color: var(--cj-badge-color);
}
.cj-page .cj-hero p {
    color: var(--tl-dark-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 560px;
}
.cj-page .cj-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cj-page .cj-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--cj-btn-bg);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--tl-radius-md);
    font-weight: var(--tl-weight-bold);
    font-size: 0.88rem;
    text-decoration: none;
    transition: background var(--tl-duration-base),
        transform 0.15s;
}
.cj-page .cj-btn-primary:hover {
    background: var(--cj-btn-hover);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.cj-page .cj-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--tl-border);
    padding: 10px 22px;
    border-radius: var(--tl-radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    font-weight: var(--tl-weight-semibold);
    font-size: 0.88rem;
    text-decoration: none;
    transition: border-color var(--tl-duration-base),
        color 0.2s;
}
.cj-page .cj-btn-outline:hover {
    border-color: var(--cj-outline-hover);
    color: var(--cj-outline-hover);
    text-decoration: none;
}
.cj-page .cj-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
}
.cj-page .cj-stat-num {
    font-size: 1.4rem;
    font-weight: var(--tl-weight-extrabold);
    color: #fff;
}
.cj-page .cj-stat-lbl {
    font-size: 0.72rem;
    color: var(--tl-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cj-page .cj-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.cj-page .cj-info-card {
    background: var(--tl-surface-alt);
    border: 1.5px solid var(--tl-border);
    border-radius: var(--tl-radius-xl);
    padding: 20px 18px;
    transition: border-color var(--tl-duration-base),
        box-shadow 0.2s;
}
.cj-page .cj-info-card:hover {
    border-color: var(--cj-card-border-hover);
    box-shadow: var(--cj-card-shadow);
}
.cj-page .cj-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--tl-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.cj-page .cj-info-card h4 {
    font-size: 0.9rem;
    font-weight: var(--tl-weight-bold);
    color: var(--tl-dark-bg);
    margin-bottom: 6px;
}
.cj-page .cj-info-card p {
    font-size: 0.82rem;
    color: var(--tl-muted);
    margin: 0;
    line-height: 1.6;
}
.cj-page .cj-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 32px;
}
.cj-page .cj-topic-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--tl-surface-alt);
    border: 1.5px solid var(--tl-border);
    border-radius: var(--tl-radius-lg);
    padding: 10px 14px;
    text-decoration: none;
    color: var(--tl-dark-bg);
    font-size: 0.85rem;
    font-weight: var(--tl-weight-semibold);
    transition: border-color var(--tl-duration-base),
        background 0.2s,
        color 0.2s;
}
.cj-page .cj-topic-item:hover {
    border-color: var(--cj-card-border-hover);
    background: var(--cj-topic-hover-bg);
    color: var(--cj-topic-hover-color);
    text-decoration: none;
}
.cj-page .cj-topic-item i {
    color: var(--cj-card-border-hover);
    font-size: 0.9rem;
}
.cj-page .cj-topic-num {
    font-size: 0.7rem;
    color: var(--tl-dark-muted);
    margin-left: auto;
}
.cj-page .cj-section-title {
    font-size: 1.1rem;
    font-weight: var(--tl-weight-extrabold);
    color: var(--tl-dark-bg);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cj-page .cj-section-title::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: var(--tl-border);
}

/* Shared Interview Question Detail Pages */
.iq-page .iq-page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--tl-radius-xl);
    padding: 36px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.iq-page .iq-page-hero::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--iq-hero-glow);
}
.iq-page .iq-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--iq-badge-bg);
    border: 1px solid var(--iq-badge-border);
    color: var(--iq-badge-color);
    padding: 4px 14px;
    border-radius: var(--tl-radius-full);
    font-size: 0.72rem;
    font-weight: var(--tl-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.iq-page .iq-page-hero h1 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: var(--tl-weight-extrabold);
    margin-bottom: 8px;
}
.iq-page .iq-page-hero h1 span {
    color: var(--iq-badge-color);
}
.iq-page .iq-page-hero p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}
.iq-page .iq-q-card {
    background: #fff;
    border: 1.5px solid var(--tl-border);
    border-radius: var(--tl-radius-xl);
    padding: 24px;
    margin-bottom: 16px;
    transition: border-color var(--tl-duration-base),
        box-shadow 0.2s;
}
.iq-page .iq-q-card:hover {
    border-color: var(--iq-card-border-hover);
    box-shadow: var(--iq-card-shadow);
}
.iq-page .iq-q-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--iq-num-bg);
    color: var(--iq-num-color);
    font-size: 0.78rem;
    font-weight: var(--tl-weight-extrabold);
    flex-shrink: 0;
}
.iq-page .iq-q-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.iq-page .iq-q-header h3 {
    font-size: 0.95rem;
    font-weight: var(--tl-weight-bold);
    color: var(--tl-dark-bg);
    margin: 0;
    line-height: 1.5;
}
.iq-page .iq-q-body {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.8;
}
.iq-page .iq-q-body p {
    margin: 0 0 8px;
}
.iq-page .iq-q-body p:last-child {
    margin: 0;
}
.iq-page .iq-q-body ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.iq-page .iq-q-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 3px 0;
}
.iq-page .iq-q-body ul li i {
    color: var(--tl-sky);
    margin-top: 4px;
    font-size: 0.75rem;
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .iq-q-card { padding: 16px; }
    .iq-q-header h3 { font-size: .88rem; }
    .iq-q-body { font-size: .83rem; }
}

/* Shared Tutorial/Interview Listing Pages */

/* -- tl-grid / tl-card (used on tutorials home, IQ home, interview-questions listing) -- */
.tl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}
.tl-card {
    background: #fff;
    border: 1.5px solid var(--tl-border);
    border-radius: var(--tl-radius-xl);
    padding: 28px 14px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--tl-dark-bg);
    transition: border-color .2s, transform .2s, box-shadow .2s;
    display: block;
    position: relative;
    overflow: hidden;
}
.tl-card:hover {
    border-color: var(--card-accent, var(--tl-sky));
    border-width: 2px;
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    text-decoration: none;
    color: var(--tl-dark-bg);
}
.tl-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--tl-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 14px;
    transition: transform .2s;
}
.tl-card:hover .tl-card-icon { transform: scale(1.1); }
.tl-card-name { font-size: .9rem; font-weight: var(--tl-weight-bold); margin-bottom: 4px; }
.tl-card-level {
    font-size: .7rem;
    font-weight: var(--tl-weight-semibold);
    padding: 2px 10px;
    border-radius: var(--tl-radius-full);
    display: inline-block;
    margin-top: 4px;
}
.level-beginner     { background: #f0fdf4; color: #15803d; }
.level-intermediate { background: #fff7ed; color: #c2410c; }
.level-advanced     { background: #fdf4ff; color: #7e22ce; }
.tl-category-title {
    font-size: 1rem;
    font-weight: var(--tl-weight-extrabold);
    color: var(--tl-dark-bg);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tl-category-title::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: var(--tl-border);
}
.tl-category-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--tl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.tl-filter-btn {
    padding: 7px 18px;
    border-radius: var(--tl-radius-full);
    border: 1.5px solid var(--tl-border);
    background: #fff;
    color: #475569;
    font-size: .82rem;
    font-weight: var(--tl-weight-semibold);
    cursor: pointer;
    transition: all .2s;
}
.tl-filter-btn:hover, .tl-filter-btn.active {
    background: var(--tl-dark-bg);
    border-color: var(--tl-dark-bg);
    color: #fff;
}
.tl-cta-strip {
    background: linear-gradient(135deg, var(--tl-dark-bg), #1e3a5f);
    border-radius: 20px;
    padding: 40px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}
.tl-cta-strip::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(56,189,248,.1) 0%, transparent 70%);
    right: -50px; top: -80px;
    pointer-events: none;
}
.tl-cta-strip h3 { color: #fff; font-size: 1.2rem; font-weight: var(--tl-weight-bold); margin-bottom: 4px; }
.tl-cta-strip p  { color: var(--tl-dark-text); font-size: .88rem; margin: 0; }
.tl-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tl-sky);
    color: var(--tl-dark-bg);
    padding: 12px 24px;
    border-radius: var(--tl-radius-lg);
    font-weight: var(--tl-weight-bold);
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}
.tl-btn-primary:hover { background: #7dd3fc; transform: translateY(-2px); color: var(--tl-dark-bg); text-decoration: none; }
@media (max-width: 576px) {
    .tl-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .tl-cta-strip { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
    .tl-grid { grid-template-columns: repeat(3, 1fr); }
    .tl-card { padding: 18px 8px 14px; }
    .tl-card-icon { width: 44px; height: 44px; font-size: 1.3rem; }
    .tl-card-name { font-size: .78rem; }
    .tl-cta-strip { padding: 28px 20px; }
    .tl-btn-primary { width: 100%; justify-content: center; }
}
.tl-page-hero {
    background: linear-gradient(135deg, var(--tl-dark-bg) 0%, #1e3a5f 60%, var(--tl-dark-bg) 100%);
    padding: 20px 0 48px;
    position: relative;
    overflow: hidden;
}
.tl-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(99, 179, 237, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 179, 237, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}
.tl-page-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}
.tl-page-hero-content {
    position: relative;
    z-index: 2;
}
.tl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--tl-sky);
    padding: 5px 14px;
    border-radius: var(--tl-radius-full);
    font-size: 0.75rem;
    font-weight: var(--tl-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tl-page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: var(--tl-weight-extrabold);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}
.tl-page-hero h1 span {
    color: var(--tl-sky);
}
.tl-page-hero p {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 28px;
}
.tl-hero-search {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}
.tl-hero-search input {
    width: 100%;
    padding: 14px 52px 14px 18px;
    border-radius: var(--tl-radius-lg);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    backdrop-filter: blur(8px);
    transition: border-color var(--tl-duration-base);
}
.tl-hero-search input::placeholder {
    color: #475569;
}
.tl-hero-search input:focus {
    border-color: var(--tl-sky);
}
.tl-hero-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--tl-sky);
    border: none;
    border-radius: 7px;
    width: 36px;
    height: 36px;
    color: var(--tl-dark-bg);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--tl-duration-base);
}
.tl-hero-search button:hover {
    background: #7dd3fc;
}
@media (max-width: 768px) {
    .tl-page-hero { padding: 16px 0 36px; }
    .tl-page-hero h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
    .tl-page-hero p { font-size: .9rem; }
    .tl-hero-search { max-width: 100%; }
    .tl-hero-search input { padding: 12px 48px 12px 14px; font-size: .9rem; }
}
@media (max-width: 576px) {
    .tl-page-hero { padding: 12px 0 28px; }
    .tl-filter-bar { gap: 6px; }
    .tl-filter-btn { padding: 6px 12px; font-size: .78rem; }
}
.tl-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.tl-filter-btn {
    padding: 7px 18px;
    border-radius: var(--tl-radius-full);
    border: 1.5px solid var(--tl-border);
    background: #fff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: var(--tl-weight-semibold);
    cursor: pointer;
    transition: all var(--tl-duration-base);
}
.tl-filter-btn:hover,
.tl-filter-btn.active {
    background: var(--tl-dark-bg);
    border-color: var(--tl-dark-bg);
    color: #fff;
}

/* ==============================================================================
   MODERN COMPONENT ENHANCEMENTS
   Token-driven improvements layered on existing components
   ============================================================================== */

/* -- Navigation Performance --------------------------------------------------- */
.tl-mh-nav {
  will-change: background, box-shadow;
}
.tl-mh-dropdown,
.tl-mh-mega {
  will-change: opacity, transform;
}

/* -- Mobile Drawer Improvements ----------------------------------------------- */
.tl-mh-mobile-drawer {
  scrollbar-width: thin;
  scrollbar-color: rgba(56,189,248,.3) transparent;
}
.tl-mh-mobile-drawer::-webkit-scrollbar { width: 4px; }
.tl-mh-mobile-drawer::-webkit-scrollbar-thumb {
  background: rgba(56,189,248,.3);
  border-radius: var(--tl-radius-full);
}

/* -- Footer Newsletter Focus Enhancement -------------------------------------- */
.tl-mf-newsletter-form input:focus-visible {
  outline: none;
  border-color: var(--tl-sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* -- Social Button Accessibility ---------------------------------------------- */
.tl-mf-social-btn:focus-visible {
  outline: 3px solid var(--tl-sky);
  outline-offset: 2px;
}

/* -- Code Block Enhancements -------------------------------------------------- */
.tl-code-block {
  will-change: auto;
}
.tl-code-block pre {
  scrollbar-width: thin;
  scrollbar-color: rgba(148,163,184,.3) transparent;
}
.tl-code-block pre::-webkit-scrollbar { height: 6px; }
.tl-code-block pre::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.3);
  border-radius: var(--tl-radius-full);
}

/* -- Shared Page Hero (tutorials/interview listing) --------------------------- */
.tl-page-hero {
  background: linear-gradient(135deg, var(--tl-dark-bg) 0%, #1e3a5f 60%, var(--tl-dark-bg) 100%);
  padding: var(--tl-space-16) 0 var(--tl-space-12);
  position: relative;
  overflow: hidden;
  margin-top: -32px;
}
.tl-page-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.1) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}
.tl-page-hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--tl-weight-extrabold);
  margin-bottom: var(--tl-space-4);
  line-height: var(--tl-leading-tight);
}
.tl-page-hero-content h1 span {
  color: var(--tl-sky);
}
.tl-page-hero-content p {
  color: #cbd5e1;
  font-size: var(--tl-text-base);
  max-width: 600px;
  margin: 0 auto var(--tl-space-8);
  line-height: var(--tl-leading-relaxed);
}

/* -- Hero Search Bar ---------------------------------------------------------- */
.tl-hero-search {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}
.tl-hero-search input {
  width: 100%;
  padding: var(--tl-space-4) 56px var(--tl-space-4) var(--tl-space-5);
  border-radius: var(--tl-radius-lg);
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: var(--tl-text-base);
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color var(--tl-duration-base), background var(--tl-duration-base);
}
.tl-hero-search input::placeholder { color: var(--tl-dark-text); }
.tl-hero-search input:focus {
  border-color: var(--tl-sky);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(56,189,248,.28);
}
.tl-hero-search button {
  position: absolute;
  right: var(--tl-space-2);
  top: 50%;
  transform: translateY(-50%);
  background: var(--tl-sky);
  border: none;
  border-radius: var(--tl-radius-md);
  width: 40px;
  height: 40px;
  color: var(--tl-dark-bg);
  cursor: pointer;
  font-size: var(--tl-text-base);
  transition: background var(--tl-duration-base);
}
.tl-hero-search button:hover { background: #7dd3fc; }

/* -- Hero Badge --------------------------------------------------------------- */
.tl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--tl-space-2);
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.3);
  color: #7dd3fc;
  padding: 6px var(--tl-space-4);
  border-radius: var(--tl-radius-full);
  font-size: 0.8rem;
  font-weight: var(--tl-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--tl-space-5);
}

/* -- Filter Bar (tutorials/interview listing) --------------------------------- */
.tl-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tl-space-2);
  margin-bottom: var(--tl-space-8);
  padding: var(--tl-space-3);
  background: #fff;
  border: 1px solid var(--tl-border);
  border-radius: var(--tl-radius-xl);
  box-shadow: var(--tl-shadow-xs);
}
.tl-filter-btn {
  padding: var(--tl-space-2) var(--tl-space-4);
  border: none;
  border-radius: var(--tl-radius-md);
  background: transparent;
  color: var(--tl-gray-600);
  font-size: var(--tl-text-sm);
  font-weight: var(--tl-weight-medium);
  cursor: pointer;
  transition: all var(--tl-duration-base);
}
.tl-filter-btn:hover {
  background: var(--tl-surface-alt);
  color: var(--tl-heading-color);
}
.tl-filter-btn.active {
  background: var(--tl-sky);
  color: var(--tl-dark-bg);
  font-weight: var(--tl-weight-semibold);
}

/* -- Category Section (tutorials/interview listing) --------------------------- */
.tl-category-title {
  display: flex;
  align-items: center;
  gap: var(--tl-space-3);
  font-size: var(--tl-text-lg);
  font-weight: var(--tl-weight-extrabold);
  color: var(--tl-heading-color);
  margin-bottom: var(--tl-space-5);
}
.tl-category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--tl-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Remove bottom margin from the last category/service section to avoid
   double-spacing with the parent section's padding */
.tl-category-section:last-child,
.sv-category-section:last-child {
  margin-bottom: 0 !important;
}

/* -- Tutorial/Interview Grid Cards -------------------------------------------- */
.tl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--tl-space-4);
  margin-bottom: var(--tl-space-8);
}
.tl-card {
  background: #fff;
  border: 1.5px solid var(--tl-border);
  border-radius: var(--tl-radius-xl);
  padding: var(--tl-space-5) var(--tl-space-4);
  text-align: center;
  text-decoration: none;
  color: var(--tl-heading-color);
  transition: border-color var(--tl-duration-base), box-shadow var(--tl-duration-base), transform var(--tl-duration-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tl-card:hover {
  border-color: var(--card-accent, var(--tl-sky));
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--tl-heading-color);
}
.tl-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--tl-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--tl-space-3);
}
.tl-card-name {
  font-size: var(--tl-text-sm);
  font-weight: var(--tl-weight-bold);
  margin-bottom: var(--tl-space-2);
}
.tl-card-level {
  font-size: 0.68rem;
  font-weight: var(--tl-weight-semibold);
  padding: 2px var(--tl-space-2);
  border-radius: var(--tl-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.level-beginner { background: #dcfce7; color: #15803d; }
.level-intermediate { background: #fef3c7; color: #92400e; }
.level-advanced { background: #fee2e2; color: #991b1b; }

/* -- CTA Strip ---------------------------------------------------------------- */
.tl-cta-strip {
  background: var(--tl-dark-bg);
  border-radius: var(--tl-radius-2xl);
  padding: var(--tl-space-8) var(--tl-space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--tl-space-4);
  margin: var(--tl-space-10) 0;
}
.tl-cta-strip h3 {
  color: #fff;
  font-size: var(--tl-text-xl);
  font-weight: var(--tl-weight-bold);
  margin-bottom: var(--tl-space-1);
}
.tl-cta-strip p {
  color: var(--tl-dark-muted);
  font-size: var(--tl-text-sm);
  margin: 0;
}
.tl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--tl-space-2);
  background: var(--tl-sky);
  color: var(--tl-dark-bg);
  padding: var(--tl-space-3) var(--tl-space-6);
  border-radius: var(--tl-radius-lg);
  font-weight: var(--tl-weight-bold);
  font-size: var(--tl-text-sm);
  text-decoration: none;
  transition: background var(--tl-duration-base), transform var(--tl-duration-fast);
}
.tl-btn-primary:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  color: var(--tl-dark-bg);
  text-decoration: none;
}

/* -- Share Block -------------------------------------------------------------- */
.tl-share-block {
  display: flex;
  align-items: center;
  gap: var(--tl-space-4);
  padding: var(--tl-space-5) 0;
  margin: var(--tl-space-8) 0;
  border-top: 1px solid var(--tl-border);
  border-bottom: 1px solid var(--tl-border);
}
.tl-share-label {
  font-size: var(--tl-text-sm);
  font-weight: var(--tl-weight-semibold);
  color: var(--tl-gray-600);
}
.tl-share-btns {
  display: flex;
  gap: var(--tl-space-2);
}
.tl-share-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--tl-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: var(--tl-text-base);
  transition: transform var(--tl-duration-fast), opacity var(--tl-duration-base);
  opacity: 0.7;
}
.tl-share-btn:hover {
  transform: translateY(-2px);
  opacity: 1;
  text-decoration: none;
}
.tl-share-twitter { color: #1da1f2; background: rgba(29,161,242,.1); }
.tl-share-linkedin { color: #0077b5; background: rgba(0,119,181,.1); }
.tl-share-facebook { color: #1877f2; background: rgba(24,119,242,.1); }
.tl-share-reddit { color: #ff4500; background: rgba(255,69,0,.1); }
.tl-share-whatsapp { color: #25d366; background: rgba(37,211,102,.1); }


/* ═══════════════════════════════════════════════════════════════════════════════
   CONSOLIDATED SECTION: BUTTONS (from tl-buttons.css)
   ═══════════════════════════════════════════════════════════════════════════════ */

.btn:focus {
    color: inherit;
}
.btn {
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.btn-default {
    color: #fff;
}
.btn-default.active,
.btn-default.focus,
.btn-default:active,
.btn-default:focus,
.btn-default:hover,
.show > .dropdown-toggle.btn-default {
    color: #fff;
}
.btn-default-transparent {
    color: #333;
    background-color: transparent;
}
.btn-default-transparent.active,
.btn-default-transparent.focus,
.btn-default-transparent:active,
.btn-default-transparent:focus,
.btn-default-transparent:hover,
.show > .dropdown-toggle.btn-default-transparent {
    color: #fff;
}
.dark-bg .btn-default-transparent {
    color: #fff;
}
.default-bg .btn-default,
.default-bg .btn-default-transparent,
.default-translucent-bg .btn-default,
.default-translucent-bg .btn-default-transparent {
    background-color: #fff;
    border-color: #fff;
}
.default-bg .btn-default-transparent.active,
.default-bg .btn-default-transparent.focus,
.default-bg .btn-default-transparent:active,
.default-bg .btn-default-transparent:focus,
.default-bg .btn-default-transparent:hover,
.default-bg .btn-default.active,
.default-bg .btn-default.focus,
.default-bg .btn-default:active,
.default-bg .btn-default:focus,
.default-bg .btn-default:hover,
.default-bg .show > .dropdown-toggle.btn-default,
.default-bg .show > .dropdown-toggle.btn-default-transparent,
.default-translucent-bg .btn-default-transparent.active,
.default-translucent-bg .btn-default-transparent.focus,
.default-translucent-bg .btn-default-transparent:active,
.default-translucent-bg .btn-default-transparent:focus,
.default-translucent-bg .btn-default-transparent:hover,
.default-translucent-bg .btn-default.active,
.default-translucent-bg .btn-default.focus,
.default-translucent-bg .btn-default:active,
.default-translucent-bg .btn-default:focus,
.default-translucent-bg .btn-default:hover,
.default-translucent-bg .show > .dropdown-toggle.btn-default,
.default-translucent-bg .show > .dropdown-toggle.btn-default-transparent {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}
.dark .btn-default {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.1);
}
.dark .btn-default .badge {
    color: rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
.dark .btn-default.active,
.dark .btn-default.focus,
.dark .btn-default:active,
.dark .btn-default:focus,
.dark .btn-default:hover,
.dark .show > .dropdown-toggle.btn-default {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.35);
    border-color: rgba(0, 0, 0, 0.2);
}
.colored .btn-default {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.01);
}
.colored .btn-default .badge {
    color: rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
.colored .btn-default.active,
.colored .btn-default.focus,
.colored .btn-default:active,
.colored .btn-default:focus,
.colored .btn-default:hover,
.colored .show > .dropdown-toggle.btn-default {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 0, 0, 0.02);
}
.default-hovered:hover .btn-default-transparent {
    border-color: #fff;
}
.btn-white {
    color: #777;
    background-color: #fff;
    border-color: #fff;
}
.btn-gray {
    color: #333;
    background-color: #e1e1e1;
    border-color: #d3d3d3;
}
.btn-gray.active,
.btn-gray.focus,
.btn-gray:active,
.btn-gray:focus,
.btn-gray:hover,
.show > .dropdown-toggle.btn-gray {
    color: #333;
    background-color: #cdcdcd;
    border-color: #cdcdcd;
}
.btn-gray-transparent {
    color: #333;
    background-color: transparent;
    border-color: #777;
}
.btn-gray-transparent.active,
.btn-gray-transparent.focus,
.btn-gray-transparent:active,
.btn-gray-transparent:focus,
.btn-gray-transparent:hover,
.show > .dropdown-toggle.btn-gray-transparent {
    color: #fff;
    background-color: #333;
    border-color: #333;
}
.dark-bg .btn-gray-transparent {
    color: #fff;
}
.dark-bg .btn-gray-transparent:hover {
    border-color: #fff;
    color: #777;
    background-color: #fff;
}
.dark-translucent-bg .btn-gray-transparent,
.default-bg .btn-gray-transparent,
.default-translucent-bg .btn-gray-transparent {
    border-color: #fff;
    color: #fff;
}
.dark-translucent-bg .btn-gray-transparent:focus,
.dark-translucent-bg .btn-gray-transparent:hover,
.default-bg .btn-gray-transparent:focus,
.default-bg .btn-gray-transparent:hover,
.default-translucent-bg .btn-gray-transparent:focus,
.default-translucent-bg .btn-gray-transparent:hover {
    border-color: #fff;
    color: #777;
    background-color: #fff;
}
.default-hovered:hover .btn-gray-transparent {
    border-color: #fff;
}
.light-gray-bg.default-hovered:hover .btn-gray-transparent:hover {
    border-color: #333;
}
@media (min-width: 992px) {
    .tl-two-col-translucent-bg .container > .row > div + div .btn-gray-transparent {
        border-color: #fff;
        color: #fff;
    }
    .tl-two-col-translucent-bg .container > .row > div + div .btn-gray-transparent:focus,
    .tl-two-col-translucent-bg .container > .row > div + div .btn-gray-transparent:hover {
        border-color: #fff;
        color: #777;
        background-color: #fff;
    }
}
.btn-dark {
    color: #fff;
    background-color: #373737;
    border-color: #333;
}
.btn-dark.active,
.btn-dark.focus,
.btn-dark:active,
.btn-dark:focus,
.btn-dark:hover,
.show > .dropdown-toggle.btn-dark {
    color: #fff;
    background-color: #111;
    border-color: #111;
}
.dark-bg .btn-dark {
    color: #fff;
    background-color: #222;
    border-color: #171717;
}
.dark-bg .btn-dark.active,
.dark-bg .btn-dark.focus,
.dark-bg .btn-dark:active,
.dark-bg .btn-dark:focus,
.dark-bg .btn-dark:hover,
.dark-bg .show > .dropdown-toggle.btn-dark {
    color: #fff;
    background-color: #000;
    border-color: #000;
}
.btn {
    padding: 7px 20px;
    font-size: 14px;
    line-height: 1.4666666667;
    border-radius: 3px;
    margin: 10px 0;
}
.btn-sm {
    padding: 5px 15px;
    font-size: 12px;
    line-height: 1.4666666667;
    border-radius: 3px;
    margin: 5px 0;
}
.btn-lg {
    padding: 10px 25px;
    font-size: 18px;
    line-height: 1.4666666667;
    border-radius: 4px;
    margin: 10px 0;
}
.btn-xl {
    padding: 15px 50px;
    font-size: 22px;
    line-height: 1.4666666667;
    border-radius: var(--tl-radius-md);
    margin: 10px 0;
}
.btn-md-link {
    padding: 7px 15px;
    font-size: 14px;
    line-height: 1.4666666667;
    border-radius: 0;
    margin: 10px 0;
}
.btn-sm-link {
    padding: 5px 15px;
    font-size: 12px;
    line-height: 1.4666666667;
    border-radius: 0;
    margin: 5px 0;
}
.btn-lg-link {
    padding: 10px 15px;
    font-size: 18px;
    line-height: 1.4666666667;
    border-radius: 0;
    margin: 10px 0;
}
.btn-remove {
    font-size: 10px;
    padding: 3px 15px;
    min-width: 0;
    margin: -5px 0 0 0;
}
.radius-50 {
    -webkit-border-radius: var(--tl-radius-full);
    -moz-border-radius: var(--tl-radius-full);
    border-radius: var(--tl-radius-full);
}
.btn-animated {
    position: relative;
    min-width: 0 !important;
    padding-right: 45px !important;
}
.btn-animated i {
    -webkit-transition: right 0.2s ease-in-out;
    -o-transition: right 0.2s ease-in-out;
    transition: right 0.2s ease-in-out;
    z-index: 3;
    right: 17px;
    position: absolute;
    line-height: 34px;
    top: 0;
    min-width: 12px;
}
.btn-animated:after {
    width: 35px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    content: "";
    top: 0;
    opacity: 0;
    right: 0;
    z-index: 2;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.btn-animated.radius-50:after {
    border-radius: 0 50px 50px 0;
}
.btn-animated.btn-gray-transparent:after {
    background-color: rgba(0, 0, 0, 0.05);
}
.btn-animated:hover:after {
    opacity: 1;
}
.btn-animated:hover i {
    right: 11px;
}
.btn-animated.btn-sm {
    padding-right: 35px !important;
}
.btn-animated.btn-sm:after {
    width: 25px;
}
.btn-animated.btn-sm i {
    right: 14px;
    line-height: 28px;
    min-width: 11px;
}
.btn-animated.btn-sm:hover i {
    right: 7px;
}
.btn-animated.btn-lg {
    padding-right: 60px !important;
}
.btn-animated.btn-lg:after {
    width: 45px;
}
.btn-animated.btn-lg i {
    right: 25px;
    line-height: 48px;
    min-width: 15px;
}
.btn-animated.btn-lg:hover i {
    right: 15px;
}
.btn-animated.btn-xl {
    padding-right: 60px !important;
}
.btn-animated.btn-xl:after {
    width: 45px;
}
.btn-animated.btn-xl i {
    right: 25px;
    line-height: 64px;
    min-width: 15px;
    text-align: center;
}
.btn-animated.btn-xl:hover i {
    right: 13px;
}
.btn-animation {
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.btn-animation:focus,
.btn-animation:hover {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.btn-animation:before {
    background-color: transparent;
    content: "";
    position: absolute;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.btn-animation:focus:before,
.btn-animation:hover:before {
    z-index: -1;
}
.btn-default-transparent.btn-animation:focus,
.btn-default-transparent.btn-animation:hover {
    background-color: transparent;
}
.btn-animation.btn-animation--slide-to-right:before {
    top: 0;
    left: 0;
    right: 100%;
    bottom: 0;
}
.btn-animation.btn-animation--slide-to-right:focus:before,
.btn-animation.btn-animation--slide-to-right:hover:before {
    right: 0;
}
.btn-animation.btn-animation--slide-to-left:before {
    top: 0;
    left: 100%;
    right: 0;
    bottom: 0;
}
.btn-animation.btn-animation--slide-to-left:focus:before,
.btn-animation.btn-animation--slide-to-left:hover:before {
    left: 0;
}
.btn-animation.btn-animation--slide-to-top:before {
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
}
.btn-animation.btn-animation--slide-to-top:focus:before,
.btn-animation.btn-animation--slide-to-top:hover:before {
    top: 0;
}
.btn-animation.btn-animation--slide-to-bottom:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 100%;
}
.btn-animation.btn-animation--slide-to-bottom:focus:before,
.btn-animation.btn-animation--slide-to-bottom:hover:before {
    bottom: 0;
}
.btn-animation.btn-animation--slide-horizontal:before {
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
}
.btn-animation.btn-animation--slide-horizontal:focus:before,
.btn-animation.btn-animation--slide-horizontal:hover:before {
    left: 0;
    right: 0;
}
.btn-animation.btn-animation--slide-vertical:before {
    top: 50%;
    left: 0;
    right: 0;
    bottom: 50%;
}
.btn-animation.btn-animation--slide-vertical:focus:before,
.btn-animation.btn-animation--slide-vertical:hover:before {
    top: 0;
    bottom: 0;
}



/* ===============================================================================
   PHASE B: TABLE STYLES (from tl-tables.css)
   =============================================================================== */

.table:not(.table-bordered) {
    border-bottom: 2px solid #f3f3f3;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid #eaeaea;
    background-color: #eaeaea;
    color: #333;
    font-weight: 400;
}

.table-colored > thead > tr > th {
    color: #fff;
}

tbody {
    background-color: #fff;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 8px 15px;
    border-top: 1px solid #f3f3f3;
}

.table-striped tbody {
    background-color: #fff;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #f5f5f5;
}

.table-striped.table > tbody > tr > td {
    border-color: #e8e8e8;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
    border-color: #f3f3f3;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Dark mode table styles */
.dark .table:not(.table-bordered) {
    border-bottom: 2px solid rgba(255, 255, 255, 0.07);
}

.dark .table > tbody {
    background-color: transparent;
}

.dark .table > tbody > tr > td {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dark .table > thead > tr > th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background-color: rgba(0, 0, 0, 0.15);
    color: #f1f1f1;
    font-weight: 400;
    border-top: none;
}


/* ===============================================================================
   PHASE C: MODAL STYLES (from tl-modals.css)
   =============================================================================== */

/* Modal Content and Title */
.modal-content .modal-title {
    color: #fff;
}

/* Modal Backdrop and Page Wrapper Effects */
.modal-open .page-wrapper {
    -webkit-filter: blur(3px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

/* Modal Footer Button Spacing */
.modal-footer .btn + .btn {
    margin-bottom: 5px;
}

/* Modal Size Variants */
@media (min-width: 1200px) {
    .modal-lg {
        width: 1140px;
        max-width: none;
    }
}

/* Modal Header Styling */
.modal-content .modal-header {
    background-color: #dc5b5b;
}


/* ===============================================================================
   PHASE D: NAVIGATION STYLES (from tl-nav.css)
   =============================================================================== */

/* Tab Navigation Styles */
.nav-tabs.style-1 {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 15px;
}
.nav-tabs.style-1 > li > a {
    position: relative;
    color: #333;
    margin-right: 0;
    line-height: 1;
    border: 1px solid transparent;
    padding: 12px 15px 11px 15px;
    -webkit-border-radius: 15px 15px 0 0;
    -moz-border-radius: 15px 15px 0 0;
    border-radius: 15px 15px 0 0;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    height: 40px;
}
.nav-tabs.style-1 > li > a:hover {
    border-color: #222 !important;
    background-color: #333 !important;
    color: #fff;
}
.nav-tabs.style-1 > li > a:focus {
    border-color: transparent;
    background-color: transparent;
}
.nav-tabs.style-1 > li > a:after {
    position: absolute;
    right: -14px;
    bottom: -1px;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 31px 0 0 14px;
    border-color: transparent transparent transparent transparent;
}
.nav-tabs.style-1 > li > a:before {
    position: absolute;
    left: -14px;
    bottom: -1px;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 31px 14px 0 0;
    border-color: transparent transparent transparent transparent;
}
.nav-tabs.style-1 > li > a:hover:after {
    border-color: transparent transparent transparent #333;
    border-width: 31px 0 0 14px;
}
.nav-tabs.style-1 > li > a:hover:before {
    border-color: transparent #333 transparent transparent;
    border-width: 31px 14px 0 0;
}
.nav-tabs.style-1 > li > a.active {
    background-color: #333 !important;
}
.nav-tabs.style-1 > li > a.active,
.nav-tabs.style-1 > li > a.active:focus,
.nav-tabs.style-1 > li > a.active:hover {
    color: #fff;
    cursor: default;
    border-color: #222;
}
.nav-tabs.style-1 > li > a.active:after {
    border-color: transparent transparent transparent #333;
}
.nav-tabs.style-1 > li > a.active:before {
    border-color: transparent #333 transparent transparent;
}
.nav-tabs.style-1 > li:first-child > a:before,
.nav-tabs.style-1 > li:last-child > a:after {
    border-width: 0;
    border-color: transparent transparent transparent transparent;
}
.nav-tabs.style-1 + .tab-content > .tab-pane {
    padding-bottom: 0;
    border-bottom: none;
}
.nav-tabs.style-2 {
    border-bottom: 1px solid #f1f1f1;
}
.nav-tabs.style-2 > li > a {
    color: #999;
}
.nav-tabs.style-2 > li > a:hover {
    color: #333;
    background-color: #fafafa !important;
    border-color: #f1f1f1;
    border-bottom-color: #fafafa !important;
}
.nav-tabs.style-2 > li > a:focus {
    border-color: transparent;
    background-color: transparent;
}
.nav-tabs.style-2 > li > a.active,
.nav-tabs.style-2 > li > a.active:focus,
.nav-tabs.style-2 > li > a.active:hover {
    color: #333;
    cursor: default;
    background-color: #fafafa;
    border-color: #f1f1f1;
    border-bottom-color: transparent;
}
.nav-tabs.style-2 + .tab-content > .tab-pane {
    padding: 15px;
    border: 1px solid #f1f1f1;
    border-top: none;
    background-color: #fafafa;
}
.nav-tabs.style-3 {
    border-bottom: 1px solid #999;
    background-color: #999;
}
.nav-tabs.style-3 > li > a {
    color: #fff;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin: 0;
}
.nav-tabs.style-3 > li > a:hover {
    color: #333;
    background-color: #fff !important;
    border-color: #999;
    border-bottom-color: #fff !important;
}
.nav-tabs.style-3 > li > a:focus {
    border-color: transparent;
    background-color: transparent;
}
.nav-tabs.style-3 > li > a.active,
.nav-tabs.style-3 > li > a.active:focus,
.nav-tabs.style-3 > li > a.active:hover {
    color: #333;
    cursor: default;
    background-color: #fff;
    border-color: #999;
    border-bottom-color: transparent;
}
.nav-tabs.style-3 + .tab-content > .tab-pane {
    padding: 15px;
    border: 1px solid #999;
    border-top: none;
    background-color: #fff;
}
.nav-tabs.style-4 {
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
}
.nav-tabs.style-4 > li > a {
    color: #999;
}
.nav-tabs.style-4 > li > a:hover {
    color: #fff;
    background-color: #333 !important;
    border-color: #333;
    border-bottom-color: #333 !important;
}
.nav-tabs.style-4 > li > a:focus {
    border-color: #333;
    background-color: #333;
}
.nav-tabs.style-4 > li > a.active,
.nav-tabs.style-4 > li > a.active:focus,
.nav-tabs.style-4 > li > a.active:hover {
    color: #fff;
    cursor: default;
    background-color: #333;
    border-color: #333;
    border-bottom-color: transparent;
}
@media (min-width: 576px) and (max-width: 767px) {
    .nav-tabs > li > a {
        padding: 12px 10px;
        font-size: 11px;
        margin-right: 0;
    }
}
@media (max-width: 575px) {
    .nav-tabs {
        background-color: #eaeaea;
        border-bottom: none !important;
        display: block;
    }
    .nav-tabs > .nav-item {
        float: none;
        display: block;
    }
    .nav-tabs > li a {
        color: #fff;
        margin-right: 0;
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        border-radius: 0 !important;
    }
    .nav-tabs.style-3 > li > a.active,
    .nav-tabs.style-3 > li > a.active:focus,
    .nav-tabs.style-3 > li > a.active:hover,
    .nav-tabs.style-3 > li > a:focus,
    .nav-tabs.style-3 > li > a:hover {
        border-bottom: 1px solid #999 !important;
    }
    .nav-tabs.style-3 + .tab-content > .tab-pane {
        border-top: 1px solid #999;
    }
    .nav-tabs > li a:after,
    .nav-tabs > li a:before {
        border-color: transparent transparent transparent transparent !important;
    }
}

/* Vertical Tab Navigation */
.vertical {
    margin: 20px 0;
}
.vertical .nav-tabs,
.vertical .tab-content {
    display: table-cell;
    margin: 0;
    vertical-align: top;
}
.vertical .nav-tabs {
    border-bottom-color: transparent;
    background-color: #999;
}
.vertical .nav-tabs > li {
    float: none;
}
.vertical .nav-tabs > li a {
    margin: 0;
    padding: 10px 20px;
    white-space: nowrap;
    color: #fff;
    border-bottom: 1px solid #919191;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.vertical .nav-tabs > li > a:focus,
.vertical .nav-tabs > li > a:hover {
    background-color: #fafafa;
    border-right-color: transparent;
    border-bottom: 1px solid #f1f1f1;
    color: #777;
    z-index: 2;
}
.vertical .nav-tabs > li > a.active,
.vertical .nav-tabs > li > a.active:focus,
.vertical .nav-tabs > li > a.active:hover {
    border: 1px solid #f1f1f1;
    background-color: #fafafa;
    border-right-color: transparent;
    color: #777;
    z-index: 2;
}
.vertical.left .nav-tabs > li > a:focus,
.vertical.left .nav-tabs > li > a:hover {
    border-left-color: transparent;
    border-right-color: #f1f1f1;
}
.vertical.left .nav-tabs > li > a.active,
.vertical.left .nav-tabs > li > a.active:focus,
.vertical.left .nav-tabs > li > a.active:hover {
    border-right-color: #f1f1f1;
    border-left-color: transparent;
}
.vertical .tab-content {
    border: 1px solid #f1f1f1;
    border-left: 1px solid #fafafa;
    background-color: #fafafa;
    left: -1px;
    z-index: 1;
    padding: 20px 30px;
}
.left.vertical .tab-content {
    border-left-color: #f1f1f1;
    border-right-color: transparent;
}
@media (max-width: 767px) {
    .vertical .nav-tabs,
    .vertical .tab-content {
        display: block;
    }
    .vertical .nav-tabs > li a {
        font-size: 15px;
    }
}

/* Pagination Navigation */
ul.pager,
ul.pagination {
    margin: 20px 0 40px;
    text-align: left;
}
ul.pagination .page-item {
    padding: 0;
    margin: 0 10px 0 0;
    border-bottom: none;
    display: inline-block;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
ul.pagination .page-item:last-child {
    margin: 0;
}
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link,
ul.pager .page-item .page-link,
ul.pagination .page-item .page-link {
    text-align: center;
    padding: 0;
    height: 40px;
    width: 40px;
    border: 1px solid #777;
    line-height: 39px;
    background-color: #777;
    color: #fff;
    display: inline-block;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}
ul.pagination .page-item .page-link:focus,
ul.pagination .page-item .page-link:hover {
    background-color: transparent;
    color: #fff;
}
.page-item.active .page-link:focus,
.page-item.active .page-link:hover,
ul.pagination .page-item.active .page-link {
    color: #fff;


/* ===============================================================================
   PHASE E: HEADER STYLES (from tl-header.css)
   =============================================================================== */

/* ─────────────────────────────────────────────────────────────────────────────
   SECONDARY BAR (Location, Email, Socials)
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-secbar {
  background: var(--tl-dark-bg-alt);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px 0;
  font-size: 0.78rem;
  position: relative;
  z-index: var(--tl-z-nav);
}

.tl-mh-secbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-mh-secbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tl-mh-secbar-left a,
.tl-mh-secbar-left span {
  color: var(--tl-dark-text);
  text-decoration: none;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--tl-duration-base);
}

.tl-mh-secbar-left a:hover {
  color: var(--tl-sky);
}

.tl-mh-secbar-left i {
  color: var(--tl-sky);
  font-size: 0.75rem;
}

.tl-mh-secbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tl-mh-secbar-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tl-mh-secbar-socials a {
  color: var(--tl-dark-text);
  font-size: 0.8rem;
  text-decoration: none;
  width: 26px;
  height: 26px;
  border-radius: var(--tl-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: color var(--tl-duration-base), background 0.2s;
}

.tl-mh-secbar-socials a:hover {
  color: var(--tl-sky);
  background: rgba(56, 189, 248, 0.1);
}

.tl-mh-secbar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.tl-mh-secbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-mh-secbar-links a {
  color: var(--tl-dark-text);
  text-decoration: none;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 5px;
  transition: color var(--tl-duration-base), background 0.2s;
}

.tl-mh-secbar-links a:hover {
  color: var(--tl-sky);
  background: rgba(56, 189, 248, 0.08);
}

.tl-mh-secbar-links i {
  font-size: 0.75rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MAIN NAVIGATION BAR
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--tl-z-nav);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s, box-shadow 0.25s;
  will-change: background, box-shadow;
}

.tl-mh-nav.scrolled {
  background: rgba(15, 23, 42, 0.99);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.tl-mh-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LOGO & BRANDING
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
  gap: 2px;
  transition: transform var(--tl-duration-base);
}

.tl-mh-logo:hover,
.tl-mh-logo:focus,
.tl-mh-logo:active {
  transform: scale(1.02);
  text-decoration: none !important;
}

.tl-mh-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.tl-mh-logo-slogan {
  font-size: 0.62rem;
  color: var(--tl-sky);
  font-weight: var(--tl-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.tl-mh-logo:hover .tl-mh-logo-slogan,
.tl-mh-logo:focus .tl-mh-logo-slogan,
.tl-mh-logo:active .tl-mh-logo-slogan {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NAVIGATION LINKS (Desktop)
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 24px;
  flex: 1;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.tl-mh-links > li {
  position: relative;
}

.tl-mh-links > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--tl-dark-text);
  font-size: 0.88rem;
  font-weight: var(--tl-weight-medium);
  text-decoration: none;
  border-radius: var(--tl-radius-md);
  transition: color var(--tl-duration-base), background 0.2s;
  white-space: nowrap;
}

.tl-mh-links > li > a i.drop-arrow {
  font-size: 0.6rem;
  color: var(--tl-dark-text);
  transition: transform var(--tl-duration-base);
}

.tl-mh-links > li:hover > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.tl-mh-links > li:hover > a i.drop-arrow {
  transform: rotate(180deg);
}

.tl-mh-links > li > a.active-link {
  color: var(--tl-sky);
}

/* ─────────────────────────────────────────────────────────────────────────────
   DROPDOWN MENUS
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--tl-dark-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tl-radius-xl);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--tl-duration-base), transform 0.2s, visibility 0.2s;
  list-style: none;
  will-change: opacity, transform;
}

.tl-mh-links > li:hover .tl-mh-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tl-mh-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--tl-radius-md);
  color: var(--tl-dark-text);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background var(--tl-duration-fast), color 0.15s;
}

.tl-mh-dropdown a:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--tl-sky);
}

.tl-mh-dropdown a i {
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
}

.tl-mh-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MEGA MENU
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: -120px;
  background: var(--tl-dark-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tl-radius-xl);
  padding: 20px;
  width: 680px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--tl-duration-base), transform 0.2s, visibility 0.2s;
  will-change: opacity, transform;
}

.tl-mh-mega-wide {
  width: 900px;
}

.tl-mh-mega-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tl-mh-mega-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-mh-mega-col-title {
  font-size: 0.7rem;
  font-weight: var(--tl-weight-bold);
  color: var(--tl-border);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tl-mh-links > li:hover .tl-mh-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tl-mh-mega-title {
  font-size: 0.7rem;
  font-weight: var(--tl-weight-bold);
  color: var(--tl-border);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tl-mh-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.tl-mh-mega-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--tl-radius-md);
  color: var(--tl-dark-text);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background var(--tl-duration-fast), color 0.15s;
}

.tl-mh-mega-col .tl-mh-mega-item {
  padding: 6px 8px;
  font-size: 0.8rem;
}

.tl-mh-mega-item:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--tl-sky);
  text-decoration: none;
}

.tl-mh-mega-item i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.tl-mh-mega-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
}

.tl-mh-mega-footer a {
  font-size: 0.8rem;
  color: var(--tl-sky);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--tl-duration-base);
}

.tl-mh-mega-footer a:hover {
  gap: 10px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ACTION BUTTONS (Search, Compiler, CTA)
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.tl-mh-search-wrap {
  position: relative;
}

.tl-mh-search-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--tl-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--tl-dark-text);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tl-duration-base), color 0.2s;
}

.tl-mh-search-toggle:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--tl-sky);
  border-color: rgba(56, 189, 248, 0.2);
}

.tl-mh-search-box {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  background: var(--tl-dark-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 12px 12px;
  padding: 12px;
  width: 300px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--tl-duration-base), transform 0.2s, visibility 0.2s;
}

@media (max-width: 480px) {
  .tl-mh-search-box {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
  }
}

.tl-mh-search-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tl-mh-search-box form {
  display: flex;
  gap: 8px;
}

.tl-mh-search-box input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tl-radius-md);
  padding: 9px 12px;
  color: var(--tl-border);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--tl-duration-base);
}

.tl-mh-search-box input::placeholder {
  color: var(--tl-dark-text);
}

.tl-mh-search-box input:focus {
  border-color: var(--tl-sky);
}

.tl-mh-search-box button {
  background: var(--tl-sky);
  color: var(--tl-dark-bg);
  border: none;
  border-radius: var(--tl-radius-md);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: var(--tl-weight-bold);
  transition: background var(--tl-duration-base);
}

.tl-mh-search-box button:hover {
  background: #7dd3fc;
}

.tl-mh-compiler-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--tl-sky);
  padding: 8px 14px;
  border-radius: var(--tl-radius-md);
  font-size: 0.82rem;
  font-weight: var(--tl-weight-semibold);
  text-decoration: none;
  transition: background var(--tl-duration-base), border-color 0.2s;
  white-space: nowrap;
}

.tl-mh-compiler-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--tl-sky);
  color: var(--tl-sky);
  text-decoration: none;
}

.tl-mh-cta-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--tl-sky);
  color: var(--tl-dark-bg);
  padding: 8px 16px;
  border-radius: var(--tl-radius-md);
  font-size: 0.82rem;
  font-weight: var(--tl-weight-bold);
  text-decoration: none;
  transition: background var(--tl-duration-base), transform 0.15s;
  white-space: nowrap;
}

.tl-mh-cta-btn:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
  color: var(--tl-dark-bg);
  text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE MENU TOGGLE
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}

.tl-mh-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tl-dark-text);
  border-radius: 2px;
  transition: transform var(--tl-duration-slow), opacity 0.3s, background 0.2s;
}

.tl-mh-mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--tl-sky);
}

.tl-mh-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.tl-mh-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--tl-sky);
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE DRAWER MENU
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--tl-dark-bg);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10000;
  padding: 16px 20px 40px;
  border-top: none;
  box-sizing: border-box;
}

.tl-mh-mobile-drawer.open {
  display: block;
}

.tl-mh-mob-section {
  margin-bottom: 8px;
}

.tl-mh-mob-section-title {
  font-size: 0.7rem;
  font-weight: var(--tl-weight-bold);
  color: var(--tl-border);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 4px 6px;
}

.tl-mh-mob-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--tl-radius-lg);
  color: var(--tl-dark-text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--tl-duration-fast), color 0.15s;
}

.tl-mh-mob-link:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--tl-sky);
  text-decoration: none;
}

.tl-mh-mob-link i {
  width: 18px;
  text-align: center;
}

.tl-mh-mob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.tl-mh-mob-grid-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--tl-radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--tl-dark-text);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background var(--tl-duration-fast), color 0.15s;
}

.tl-mh-mob-grid-item:hover {
  background: rgba(56, 189, 248, 0.08);
  color: var(--tl-sky);
  text-decoration: none;
}

.tl-mh-mob-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.tl-mh-mob-actions a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--tl-radius-lg);
  font-weight: var(--tl-weight-bold);
  font-size: 0.88rem;
  text-decoration: none;
}

.tl-mh-mob-actions .primary {
  background: var(--tl-sky);
  color: var(--tl-dark-bg);
}

.tl-mh-mob-actions .outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--tl-border);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 991px) {
  .tl-mh-links,
  .tl-mh-compiler-btn,
  .tl-mh-cta-btn {
    display: none;
  }

  .tl-mh-mobile-toggle {
    display: flex;
  }

  .tl-mh-mega {
    display: none !important;
  }

  .tl-mh-dropdown {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tl-mh-secbar {
    display: none;
  }

  .tl-mh-mobile-drawer {
    top: 68px;
  }

  body.tl-tutorial-layout {
    padding-top: 68px !important;
  }

  body.tl-home-layout {
    padding-top: 68px !important;
  }
}

@media (max-width: 480px) {
  .tl-mh-inner {
    padding: 0 12px;
  }

  .tl-mh-logo img {
    height: 42px;
  }

  .tl-mh-logo-slogan {
    display: none;
  }

  .tl-mh-search-box {
    width: calc(100vw - 24px);
    right: -12px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT INTEGRATION
   ───────────────────────────────────────────────────────────────────────────── */

html.tl-tutorial-layout {
  background: var(--tl-dark-bg) !important;
}

body.tl-tutorial-layout {
  padding-top: 68px !important;
  background: var(--tl-dark-bg) !important;
}

body.tl-tutorial-layout .page-wrapper {
  background-color: transparent !important;
}

body.tl-tutorial-layout .main-container {
  background: var(--tl-body-bg) !important;
  padding: 32px 0 48px !important;
}

body.tl-home-layout {
  padding-top: 68px !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ACCESSIBILITY & FOCUS STATES
   ───────────────────────────────────────────────────────────────────────────── */

.tl-mh-secbar a:focus-visible,
.tl-mh-nav a:focus-visible,
.tl-mh-nav button:focus-visible {
  outline: 2px solid var(--tl-sky);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   REDUCED MOTION SUPPORT
   ───────────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .tl-mh-nav *,
  .tl-mh-dropdown,
  .tl-mh-mega,
  .tl-mh-mobile-toggle span {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===============================================================================
   PHASE F: CODE BLOCK STYLES (from tl-code.css)
   =============================================================================== */

/* PrismJS Syntax Highlighting */
code[class*="language-"],
pre[class*="language-"] {
    color: black;
    background: none;
    text-shadow: 0 1px white;
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
    font-size: 1em;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;

    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;

    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
    text-shadow: none;
    background: #b3d4fc;
}

pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
    text-shadow: none;
    background: #b3d4fc;
}

@media print {
    code[class*="language-"],
    pre[class*="language-"] {
        text-shadow: none;
    }
}

/* Code blocks */
pre[class*="language-"] {
    padding: 1em;
    margin: 0.5em 0;
    overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
    background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
    padding: 0.1em;
    border-radius: 0.3em;
    white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: slategray;
}

.token.punctuation {
    color: #999;
}

.token.namespace {
    opacity: 0.7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #9a6e3a;
    background: none;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #07a;
}

.token.function,
.token.class-name {
    color: #dd4a68;
}

.token.regex,
.token.important,
.token.variable {
    color: #e90;
}

.token.important,
.token.bold {
    font-weight: bold;
}
.token.italic {
    font-style: italic;
}

.token.entity {
    cursor: help;
}

div.code-toolbar {
    position: relative;
}

div.code-toolbar > .toolbar {
    position: absolute;
    top: 0.3em;
    right: 0.2em;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

div.code-toolbar:hover > .toolbar {
    opacity: 1;
}

/* Separate line b/c rules are thrown out if selector is invalid.
   IE11 and old Edge versions don't support :focus-within. */
div.code-toolbar:focus-within > .toolbar {
    opacity: 1;
}

div.code-toolbar > .toolbar .toolbar-item {
    display: inline-block;
}

div.code-toolbar > .toolbar a {
    cursor: pointer;
}

div.code-toolbar > .toolbar button {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-user-select: none; /* for button */
    -moz-user-select: none;
    -ms-user-select: none;
}

div.code-toolbar > .toolbar a,
div.code-toolbar > .toolbar button,
div.code-toolbar > .toolbar span {
    color: #bbb;
    font-size: 0.8em;
    padding: 0 0.5em;
    background: #f5f2f0;
    background: rgba(224, 224, 224, 0.2);
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
}

div.code-toolbar > .toolbar a:hover,
div.code-toolbar > .toolbar a:focus,
div.code-toolbar > .toolbar button:hover,
div.code-toolbar > .toolbar button:focus,
div.code-toolbar > .toolbar span:hover,
div.code-toolbar > .toolbar span:focus {
    color: inherit;
    text-decoration: none;
}


/* ===============================================================================
   PHASE 5: TL-* WRAPPER CLASSES FOR BOOTSTRAP & GENERIC CLASSES
   ===============================================================================
   
   This section provides tl-* prefixed wrapper classes for Bootstrap components
   and generic utility classes. These wrappers maintain backward compatibility
   while establishing the new naming convention.
   
   Bootstrap Wrappers:
   - .tl-btn (wraps .btn)
   - .tl-input (wraps .form-control)
   - .tl-card (wraps .card)
   - .tl-table (wraps .table)
   - .tl-dropdown (wraps .dropdown)
   - .tl-modal (wraps .modal)
   - .tl-alert (wraps .alert)
   - .tl-badge (wraps .badge)
   
   Generic Wrappers:
   - .tl-bg-dark (wraps .dark-bg)
   - .tl-bg-white (wraps .white-bg)
   - .tl-separator (wraps .separator)
   - .tl-visible (wraps .visible)
   
   ─────────────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────────────
   BOOTSTRAP COMPONENT WRAPPERS
   ───────────────────────────────────────────────────────────────────────────── */

/* Button Wrapper - Maps tl-btn to Bootstrap .btn */
.tl-btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tl-btn:hover {
  color: #212529;
  text-decoration: none;
}

.tl-btn:focus,
.tl-btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.tl-btn:disabled,
.tl-btn.disabled {
  opacity: 0.65;
}

/* Form Control Wrapper - Maps tl-input to Bootstrap .form-control */
.tl-input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tl-input:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.tl-input:disabled,
.tl-input[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

/* Card Wrapper - Maps tl-card to Bootstrap .card */
.tl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.tl-card > hr {
  margin-right: 0;
  margin-left: 0;
}

/* Table Wrapper - Maps tl-table to Bootstrap .table */
.tl-table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
}

.tl-table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.tl-table > tbody > tr > td,
.tl-table > tbody > tr > th,
.tl-table > tfoot > tr > td,
.tl-table > tfoot > tr > th,
.tl-table > thead > tr > td,
.tl-table > thead > tr > th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

/* Dropdown Wrapper - Maps tl-dropdown to Bootstrap .dropdown */
.tl-dropdown {
  position: relative;
  display: inline-block;
}

/* Modal Wrapper - Maps tl-modal to Bootstrap .modal */
.tl-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.tl-modal.show {
  display: block;
}

/* Alert styles moved to tl-framework.css */

/* Badge Wrapper - Maps tl-badge to Bootstrap .badge */
.tl-badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.tl-badge-primary {
  color: #fff;
  background-color: #007bff;
}

.tl-badge-success {
  color: #fff;
  background-color: #28a745;
}

.tl-badge-warning {
  color: #212529;
  background-color: #ffc107;
}

.tl-badge-danger {
  color: #fff;
  background-color: #dc3545;
}

/* ─────────────────────────────────────────────────────────────────────────────
   GENERIC UTILITY WRAPPERS
   ───────────────────────────────────────────────────────────────────────────── */

/* Background Color Wrappers */
.tl-bg-dark {
  background-color: #373737;
  color: #cdcdcd;
}

.tl-bg-dark h1,
.tl-bg-dark h2,
.tl-bg-dark h3,
.tl-bg-dark h4,
.tl-bg-dark h5,
.tl-bg-dark h6 {
  color: #fff;
}

.tl-bg-dark a:not(.btn) {
  text-decoration: underline;
  color: #cdcdcd;
}

.tl-bg-dark a:not(.btn):hover {
  text-decoration: none;
  color: #cdcdcd;
}

.tl-bg-white {
  background-color: #fff;
}

/* Separator Wrapper */
.tl-separator {
  width: 100%;
  margin: 20px auto 15px;
  height: 0;
  position: relative;
  -webkit-transform: translateZ(0) scale(1, 1);
  transform: translateZ(0) scale(1, 1);
}

.tl-separator:after {
  height: 1px;
  background: #e8e8e8;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
}

.tl-bg-dark .tl-separator:after {
  background: #505050;
  background: -moz-linear-gradient(left, #373737 0, #505050 35%, #505050 70%, #373737 100%);
  background: -webkit-linear-gradient(left, #373737 0, #505050 35%, #505050 70%, #373737 100%);
  background: linear-gradient(to right, #373737 0, #505050 35%, #505050 70%, #373737 100%);
}

/* Visibility Wrapper */
.tl-visible {
  visibility: visible;
}

.tl-invisible {
  visibility: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BACKWARD COMPATIBILITY ALIASES
   ───────────────────────────────────────────────────────────────────────────── */

/* These aliases ensure that old class names still work while we transition */
.btn.tl-btn,
.form-control.tl-input,
.card.tl-card,
.table.tl-table,
.dropdown.tl-dropdown,
.modal.tl-modal,
.alert.tl-alert,
.badge.tl-badge,
.dark-bg.tl-bg-dark,
.white-bg.tl-bg-white,
.separator.tl-separator,
.visible.tl-visible {
  /* Ensure tl-* styles take precedence */
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE VARIANTS
   ───────────────────────────────────────────────────────────────────────────── */

/* Button Size Variants */
.tl-btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.tl-btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* Input Size Variants */
.tl-input-lg {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.tl-input-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   DARK MODE SUPPORT
   ───────────────────────────────────────────────────────────────────────────── */

.dark .tl-input {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #353535;
  color: #cdcdcd;
}

.dark .tl-input:focus {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #999;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.dark .tl-card {
  background-color: #2a2a2a;
  border-color: #444;
  color: #cdcdcd;
}

/* Force white cards on listing pages (tutorials, interview questions) */
section .tl-grid .tl-card {
  background: #fff !important;
  border: 1.5px solid var(--tl-border) !important;
  color: var(--tl-dark-bg) !important;
}

.dark .tl-table {
  color: #cdcdcd;
}

.dark .tl-table > thead > tr > th {
  border-bottom-color: rgba(255, 255, 255, 0.07);
  background-color: rgba(0, 0, 0, 0.15);
}

.dark .tl-table > tbody > tr > td {
  border-top-color: rgba(255, 255, 255, 0.07);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ACCESSIBILITY ENHANCEMENTS
   ───────────────────────────────────────────────────────────────────────────── */

.tl-btn:focus-visible,
.tl-input:focus-visible,
.tl-card:focus-visible {
  outline: 2px solid var(--tl-sky, #38bdf8);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .tl-btn,
  .tl-input,
  .tl-card,
  .tl-table,
  .tl-dropdown,
  .tl-modal,
  .tl-alert,
  .tl-badge {
    transition: none;
  }
}


/* ===============================================================================
   SERVICE CARD COMPONENT (tl-service-card)
   =============================================================================== */

/* Service Card Grid */
.tl-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tl-space-5);
}

@media (min-width: 576px) {
  .tl-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .tl-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .tl-service-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* Service Card */
.tl-service-card {
  background: var(--tl-surface);
  border: 1.5px solid var(--tl-border);
  border-radius: var(--tl-radius-xl);
  padding: var(--tl-space-5);
  text-decoration: none;
  color: var(--tl-heading-color);
  transition: border-color var(--tl-duration-base), 
              transform var(--tl-duration-base), 
              box-shadow var(--tl-duration-base);
  display: block;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .tl-service-card {
    padding: var(--tl-space-7);
  }
}

.tl-service-card:hover {
  border-color: var(--tl-card-accent, var(--tl-sky));
  border-width: 2px;
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--tl-heading-color);
}

/* Service Card Icon */
.tl-service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tl-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--tl-space-4);
  transition: transform var(--tl-duration-base);
}

.tl-service-card:hover .tl-service-card-icon {
  transform: scale(1.1);
}

/* Service Card Name */
.tl-service-card-name {
  font-size: var(--tl-text-base);
  font-weight: var(--tl-weight-bold);
  color: var(--tl-heading-color);
  margin-bottom: var(--tl-space-2);
}

/* Service Card Description */
.tl-service-card-desc {
  font-size: 0.83rem;
  color: var(--tl-muted);
  line-height: var(--tl-leading-relaxed);
  margin: 0;
}

/* Service Card Arrow */
.tl-service-card-arrow {
  position: absolute;
  bottom: var(--tl-space-5);
  right: var(--tl-space-5);
  color: var(--tl-border);
  font-size: 0.85rem;
  transition: color var(--tl-duration-base), transform var(--tl-duration-base);
}

.tl-service-card:hover .tl-service-card-arrow {
  color: var(--tl-card-accent, var(--tl-sky));
  transform: translateX(3px);
}

/* ===============================================================================
   SERVICE CATEGORY SECTION (tl-service-category)
   =============================================================================== */

/* Category Title */
.tl-service-category-title {
  font-size: var(--tl-text-base);
  font-weight: var(--tl-weight-extrabold);
  color: var(--tl-heading-color);
  margin-bottom: var(--tl-space-5);
  display: flex;
  align-items: center;
  gap: var(--tl-space-2);
}

.tl-service-category-title::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--tl-border);
}

/* Category Icon */
.tl-service-category-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--tl-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===============================================================================
   SERVICE FILTER BAR (tl-service-filter)
   =============================================================================== */

.tl-service-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tl-space-2);
  justify-content: center;
  margin-bottom: var(--tl-space-6);
}

@media (min-width: 768px) {
  .tl-service-filter-bar {
    margin-bottom: var(--tl-space-10);
  }
}

.tl-service-filter-btn {
  padding: 7px 18px;
  border-radius: var(--tl-radius-full);
  border: 1.5px solid var(--tl-border);
  background: var(--tl-surface);
  color: var(--tl-muted);
  font-size: 0.82rem;
  font-weight: var(--tl-weight-semibold);
  cursor: pointer;
  transition: all var(--tl-duration-base);
}

.tl-service-filter-btn:hover,
.tl-service-filter-btn.active {
  background: var(--tl-dark-bg);
  border-color: var(--tl-dark-bg);
  color: #fff;
}

/* ===============================================================================
   SERVICE CTA STRIP (tl-service-cta)
   =============================================================================== */

.tl-service-cta-strip {
  background: linear-gradient(135deg, var(--tl-dark-bg) 0%, #1e3a5f 100%);
  border-radius: var(--tl-radius-2xl);
  padding: var(--tl-space-6) var(--tl-space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--tl-space-5);
  margin-top: var(--tl-space-8);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .tl-service-cta-strip {
    padding: var(--tl-space-10) var(--tl-space-9);
    margin-top: var(--tl-space-12);
  }
}

.tl-service-cta-strip::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  right: -50px;
  top: -80px;
  pointer-events: none;
}

.tl-service-cta-strip h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: var(--tl-weight-bold);
  margin-bottom: var(--tl-space-1);
  position: relative;
  z-index: 1;
}

.tl-service-cta-strip p {
  color: var(--tl-dark-muted);
  font-size: 0.88rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.tl-service-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--tl-space-2);
  background: var(--tl-sky);
  color: var(--tl-dark-bg);
  padding: 12px 24px;
  border-radius: var(--tl-radius-lg);
  font-weight: var(--tl-weight-bold);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--tl-duration-base), transform 0.15s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.tl-service-cta-btn:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  color: var(--tl-dark-bg);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 576px) {
  .tl-service-grid {
    grid-template-columns: 1fr;
  }

  .tl-service-cta-strip {
    text-align: center;
    justify-content: center;
    padding: var(--tl-space-8) var(--tl-space-6);
  }

  .tl-service-filter-bar {
    margin-bottom: var(--tl-space-8);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .tl-service-card {
    background: var(--tl-dark-card-bg, #1e293b);
    border-color: var(--tl-dark-border, #334155);
    color: var(--tl-dark-card-text, #f1f5f9);
  }

  .tl-service-card:hover {
    border-color: var(--tl-card-accent, var(--tl-sky));
    color: var(--tl-dark-card-text, #f1f5f9);
  }

  .tl-service-card-desc {
    color: var(--tl-dark-card-muted, #cbd5e1);
  }

  .tl-service-filter-btn {
    background: var(--tl-dark-card-bg, #1e293b);
    border-color: var(--tl-dark-border, #334155);
    color: var(--tl-dark-card-muted, #cbd5e1);
  }

  .tl-service-filter-btn:hover,
  .tl-service-filter-btn.active {
    background: var(--tl-sky);
    border-color: var(--tl-sky);
    color: var(--tl-dark-bg);
  }
}

/* Accessibility */
.tl-service-card:focus-visible {
  outline: 2px solid var(--tl-sky);
  outline-offset: 2px;
}

.tl-service-filter-btn:focus-visible {
  outline: 2px solid var(--tl-sky);
  outline-offset: 2px;
}

.tl-service-cta-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .tl-service-card,
  .tl-service-card-icon,
  .tl-service-card-arrow,
  .tl-service-filter-btn,
  .tl-service-cta-btn {
    transition: none;
  }
}


/* ===============================================================================
   CARD GRID (Generic - Reusable for all card types)
   =============================================================================== */

.tl-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.tl-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7f3;
  border-radius: var(--tl-radius-2xl);
  padding: 18px 18px 20px;
  text-align: left;
  text-decoration: none;
  color: var(--tl-dark-bg);
  transition: border-color var(--tl-duration-base), 
              transform var(--tl-duration-base), 
              box-shadow var(--tl-duration-base), 
              background var(--tl-duration-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.tl-card:hover {
  border-color: #93c5fd;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12);
  text-decoration: none;
  color: var(--tl-dark-bg);
  background: #ffffff;
}

.tl-card:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22), 0 18px 38px rgba(37, 99, 235, 0.12);
  text-decoration: none;
}

/* Aliases for backward compatibility */
.tl-article-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.tl-article-card { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); border: 1px solid #dbe7f3; border-radius: var(--tl-radius-2xl); padding: 18px 18px 20px; text-align: left; text-decoration: none; color: var(--tl-dark-bg); transition: border-color var(--tl-duration-base), transform var(--tl-duration-base), box-shadow var(--tl-duration-base), background var(--tl-duration-base); display: flex; flex-direction: column; align-items: flex-start; min-width: 0; height: 100%; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.tl-article-card:hover { border-color: #93c5fd; transform: translateY(-4px); box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12); text-decoration: none; color: var(--tl-dark-bg); background: #ffffff; }
.tl-article-card:focus-visible { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22), 0 18px 38px rgba(37, 99, 235, 0.12); text-decoration: none; }

.tl-card-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.tl-card-chip,
.tl-card-level {
  display: inline-flex;
  align-items: center;
  border-radius: var(--tl-radius-full);
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: var(--tl-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tl-card-chip--tutorial,
.tl-card-chip--service {
  background: #e0f2fe;
}

.tl-card-chip--tutorial {
  color: #0369a1;
}

.tl-card-chip--interview {
  background: #ede9fe;
  color: #6d28d9;
}

.tl-card-chip--service {
  color: #075985;
}

.tl-card-level {
  background: var(--tl-surface-alt);
  color: #475569;
  border: 1px solid var(--tl-border);
}

.tl-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--tl-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 0 16px;
}

.tl-card-name {
  font-size: 1rem;
  font-weight: var(--tl-weight-bold);
  margin-bottom: 8px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.tl-card-copy {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.65;
}

.tl-card-action {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tl-dark-bg);
  font-size: 0.82rem;
  font-weight: var(--tl-weight-bold);
}

/* Aliases for backward compatibility */
.tl-article-card-topline { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tl-article-card-chip, .tl-article-card-level { display: inline-flex; align-items: center; border-radius: var(--tl-radius-full); padding: 4px 10px; font-size: 0.68rem; font-weight: var(--tl-weight-bold); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.tl-article-card-chip--tutorial, .tl-article-card-chip--service { background: #e0f2fe; }
.tl-article-card-chip--tutorial { color: #0369a1; }
.tl-article-card-chip--interview { background: #ede9fe; color: #6d28d9; }
.tl-article-card-chip--service { color: #075985; }
.tl-article-card-level { background: var(--tl-surface-alt); color: #475569; border: 1px solid var(--tl-border); }
.tl-article-card-icon { width: 60px; height: 60px; border-radius: var(--tl-radius-xl); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 0 16px; }
.tl-article-card-name { font-size: 1rem; font-weight: var(--tl-weight-bold); margin-bottom: 8px; line-height: 1.35; overflow-wrap: anywhere; }

.tl-article-card-copy {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.65;
}

.tl-article-card-action {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tl-dark-bg);
  font-size: 0.82rem;
  font-weight: var(--tl-weight-bold);
}

/* Responsive */
@media (max-width: 768px) {
  .tl-card-grid,
  .tl-article-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
  }

  .tl-card,
  .tl-article-card {
    padding: 16px;
    border-radius: var(--tl-radius-xl);
  }

  .tl-card-icon,
  .tl-article-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .tl-card-grid,
  .tl-article-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .tl-card,
  .tl-article-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    color: #f1f5f9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .tl-card:hover,
  .tl-article-card:hover {
    border-color: #60a5fa;
    background: #1e293b;
    box-shadow: 0 18px 38px rgba(59, 130, 246, 0.2);
    color: #f1f5f9;
  }

  .tl-card-copy,
  .tl-article-card-copy {
    color: #cbd5e1;
  }

  .tl-card-level,
  .tl-article-card-level {
    background: #0f172a;
    color: #cbd5e1;
    border-color: #334155;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .tl-article-card {
    transition: none;
  }
}


/* =============================================================================

/* =============================================================================
   PUBLIC RESPONSIVE TABLES
   Targets the actual classes used in tutorial content:
   <div class="tl-table-responsive"><table class="tl-table tl-table-bordered">
   ============================================================================= */

/* ── Wrapper ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive {
  width: 100%;
  max-width: 100%;
  margin: 22px 0 28px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(15,23,42,.08);
  -webkit-overflow-scrolling: touch;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive::-webkit-scrollbar,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive::-webkit-scrollbar { height: 6px; }
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive::-webkit-scrollbar-track,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 9999px; }
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive::-webkit-scrollbar-thumb,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 9999px; }

/* ── Table base ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table {
  width: 100% !important;
  min-width: 480px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  color: #1e293b !important;
  font-size: 0.93rem !important;
  line-height: 1.6;
  background: transparent !important;
}

/* ── All cells ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table th,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table td,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table th,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table td {
  padding: 14px 18px !important;
  vertical-align: top !important;
  border: 0 !important;
  border-bottom: 1px solid #e5edf6 !important;
  border-top: none !important;
  border-left: none !important;
  color: #1e293b !important;
  background: transparent;
  overflow-wrap: anywhere;
}

/* ── Column dividers ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table th + th,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table td + td,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table th + th,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table td + td {
  border-left: 1px solid #e5edf6 !important;
}

/* ── Header ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table thead th,
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table .thead-dark th,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table thead th,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table .thead-dark th {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%) !important;
  color: #f8fafc !important;
  border-color: rgba(255,255,255,.1) !important;
  border-bottom: none !important;
  border-left: none !important;
  padding: 13px 18px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table thead th + th,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table thead th + th {
  border-left: 1px solid rgba(255,255,255,.12) !important;
}

:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table thead th:first-child,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table thead th:first-child { border-top-left-radius: 8px; }
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table thead th:last-child,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table thead th:last-child  { border-top-right-radius: 8px; }

/* ── Body rows ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table tbody tr,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table tbody tr {
  background: #ffffff !important;
  transition: background 0.15s ease;
}
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table tbody tr:nth-child(even),
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table tbody tr:nth-child(even) {
  background: #f8fbff !important;
}
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table tbody tr:hover,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table tbody tr:hover {
  background: #eef6ff !important;
}
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table tbody tr:last-child td,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* ── Inline code ── */
:where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive code,
:where(.tl-tutorial-layout, .tl-home-layout) .table-responsive code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  background: #fdf2f8;
  color: #db2777;
  font-size: 0.88em;
}

/* ── Tablet ── */
@media (max-width: 767.98px) {
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive { margin: 16px 0 22px; border-radius: 8px; }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table { min-width: 360px; font-size: 0.88rem !important; }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table th,
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive > .tl-table td,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table th,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive > .table td { padding: 11px 14px !important; }
}

/* ── Mobile card layout (add tl-card-table to wrapper) ── */
@media (max-width: 575.98px) {
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table {
    padding: 0; border: 0 !important; background: transparent; box-shadow: none; overflow: visible;
  }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table { min-width: 0 !important; display: block; }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table thead,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table tbody,
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table tr,
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table td,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table tbody,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table tr,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table td { display: block; width: 100%; }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table tr,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table tr {
    margin: 0 0 12px; border: 1px solid #e2e8f0 !important; border-radius: 10px;
    background: #fff !important; box-shadow: 0 2px 12px rgba(15,23,42,.06); overflow: hidden;
  }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table td,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table td {
    display: grid !important; grid-template-columns: minmax(100px, 35%) minmax(0, 1fr);
    gap: 10px; align-items: start; padding: 11px 14px !important;
    border: 0 !important; border-bottom: 1px solid #e5edf6 !important; border-left: none !important;
  }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table td:last-child,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table td:last-child { border-bottom: 0 !important; }
  :where(.tl-tutorial-layout, .tl-home-layout) .tl-table-responsive.tl-card-table > .tl-table td::before,
  :where(.tl-tutorial-layout, .tl-home-layout) .table-responsive.tl-card-table > .table td::before {
    content: attr(data-label); color: #0f172a; font-size: 0.7rem;
    font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.4;
  }
}


/* =============================================================================
   TL-TABLES.CSS — Modern responsive table styles for tutorial pages
   Loaded last to override all legacy Bootstrap table styles.
   ============================================================================= */

/* ── Tutorial content heading colors ── */
.tl-text-success { color: #16a34a !important; }
.tl-text-primary { color: #2563eb !important; }
.tl-text-info    { color: #0891b2 !important; }
.tl-text-warning { color: #d97706 !important; }
.tl-text-danger  { color: #dc2626 !important; }
.tl-text-muted   { color: #64748b !important; }
.tl-text-dark    { color: #0f172a !important; }

/* Ensure tutorial content headings are always visible */
body.tl-tutorial-layout .main h1,
body.tl-tutorial-layout .main h2,
body.tl-tutorial-layout .main h3,
body.tl-tutorial-layout .main h4,
body.tl-tutorial-layout .main h5,
body.tl-tutorial-layout .main h6 {
  color: #0f172a;
}
body.tl-tutorial-layout .main .cj-hero h1,
body.tl-tutorial-layout .main .iq-page-hero h1 {
  color: #fff !important;
}
body.tl-tutorial-layout .main h3.tl-text-success,
body.tl-tutorial-layout .main h2.tl-text-success { color: #16a34a !important; }
body.tl-tutorial-layout .main h3.tl-text-primary,
body.tl-tutorial-layout .main h2.tl-text-primary { color: #2563eb !important; }
body.tl-tutorial-layout .main h3.tl-text-info,
body.tl-tutorial-layout .main h2.tl-text-info    { color: #0891b2 !important; }

.tl-table-responsive,
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 28px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15,23,42,.07);
}

/* ── Table reset ── */
.tl-table-responsive .tl-table,
.tl-table-responsive .table,
.table-responsive .tl-table,
.table-responsive .table {
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-collapse: collapse !important;
  background: transparent !important;
  color: #1e293b !important;
  font-size: 0.93rem !important;
  line-height: 1.6;
}

/* ── All cells ── */
.tl-table-responsive .tl-table th,
.tl-table-responsive .tl-table td,
.tl-table-responsive .table th,
.tl-table-responsive .table td,
.table-responsive .tl-table th,
.table-responsive .tl-table td,
.table-responsive .table th,
.table-responsive .table td {
  padding: 13px 18px !important;
  border: none !important;
  border-bottom: 1px solid #e5edf6 !important;
  color: #1e293b !important;
  background: transparent;
  vertical-align: top;
  overflow-wrap: anywhere;
}

/* ── Column dividers ── */
.tl-table-responsive .tl-table th + th,
.tl-table-responsive .tl-table td + td,
.tl-table-responsive .table th + th,
.tl-table-responsive .table td + td,
.table-responsive .tl-table th + th,
.table-responsive .tl-table td + td,
.table-responsive .table th + th,
.table-responsive .table td + td {
  border-left: 1px solid #e5edf6 !important;
}

/* ── Header ── */
.tl-table-responsive .tl-table thead th,
.tl-table-responsive .tl-table .thead-dark th,
.tl-table-responsive .table thead th,
.tl-table-responsive .table .thead-dark th,
.table-responsive .tl-table thead th,
.table-responsive .tl-table .thead-dark th,
.table-responsive .table thead th,
.table-responsive .table .thead-dark th {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%) !important;
  color: #f8fafc !important;
  border: none !important;
  border-bottom: none !important;
  padding: 12px 18px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.tl-table-responsive .tl-table thead th + th,
.tl-table-responsive .table thead th + th,
.table-responsive .tl-table thead th + th,
.table-responsive .table thead th + th {
  border-left: 1px solid rgba(255,255,255,.15) !important;
}

.tl-table-responsive .tl-table thead th:first-child,
.tl-table-responsive .table thead th:first-child,
.table-responsive .tl-table thead th:first-child,
.table-responsive .table thead th:first-child { border-radius: 8px 0 0 0; }

.tl-table-responsive .tl-table thead th:last-child,
.tl-table-responsive .table thead th:last-child,
.table-responsive .tl-table thead th:last-child,
.table-responsive .table thead th:last-child  { border-radius: 0 8px 0 0; }

/* ── Body rows ── */
.tl-table-responsive .tl-table tbody tr,
.tl-table-responsive .table tbody tr,
.table-responsive .tl-table tbody tr,
.table-responsive .table tbody tr {
  background: #ffffff !important;
  transition: background 0.15s;
}

.tl-table-responsive .tl-table tbody tr:nth-child(even),
.tl-table-responsive .table tbody tr:nth-child(even),
.table-responsive .tl-table tbody tr:nth-child(even),
.table-responsive .table tbody tr:nth-child(even) {
  background: #f8fbff !important;
}

.tl-table-responsive .tl-table tbody tr:hover,
.tl-table-responsive .table tbody tr:hover,
.table-responsive .tl-table tbody tr:hover,
.table-responsive .table tbody tr:hover {
  background: #eef6ff !important;
}

.tl-table-responsive .tl-table tbody tr:last-child td,
.tl-table-responsive .table tbody tr:last-child td,
.table-responsive .tl-table tbody tr:last-child td,
.table-responsive .table tbody tr:last-child td {
  border-bottom: none !important;
}

/* ── Inline code ── */
.tl-table-responsive code,
.table-responsive code {
  background: #fdf2f8 !important;
  color: #db2777 !important;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
}

/* ── Tablet ── */
@media (max-width: 768px) {
  .tl-table-responsive .tl-table,
  .tl-table-responsive .table,
  .table-responsive .tl-table,
  .table-responsive .table { font-size: 0.87rem !important; }

  .tl-table-responsive .tl-table th,
  .tl-table-responsive .tl-table td,
  .tl-table-responsive .table th,
  .tl-table-responsive .table td,
  .table-responsive .tl-table th,
  .table-responsive .tl-table td,
  .table-responsive .table th,
  .table-responsive .table td { padding: 10px 14px !important; }
}


/* ===============================================================================
   DARK MODE - COMPONENTS & FORMS
   =============================================================================== */
/* Dark mode CSS moved to tl-dark-mode.css */
