.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

.btn-stm{
    background-color: white;
    color: #1A5276;
    border: 1px solid #1A5276;
    width: 100%;
}

.btn-stm:hover{
    background-color: #1A5276;
    color: white;
}

.btn-stm-re{
    background-color: #1A5276;
    color: white;
    width: 100%;
}

.btn-stm-re:hover{
    background-color: white;
    color: #1A5276;
    border: 1px solid #1A5276;
}


.resume-color-select{
    width: 20px !important;
    height: 20px !important;
    border-radius: 20px !important;

}

.resume-color-select:hover {
    box-shadow: 1px 1px 3px 1px;
}

.stm-normal-text{
    font-size: 11px;
}

.stm-small-text{
    font-size: 5px;
}

.stm-xsmall-text{
    font-size: 4px;
}

.stm-xxsmall-text{
    font-size: 3px;
}

.stm-text-grey{
    color: rgb(116, 116, 116);
}

.stm-text-white{
    color: honeydew;
}

.stm-normal-preview-text{
    font-size: 8px;
}

.stm-date-preview-text{
    font-size: 7px;
}

.stm-header-preview-text{
    font-size: 11px;
}

.stm-large-preview-text{
    font-size: 15px;
}

.stm-small-margin{
    margin-top: 30px;
}

.c-sidebar-nav-link:hover {
    background-color: #00395c !important;
}

.resume-shade-border{
    border: .1px solid white; 
    border-radius: 5px; 
    width: 100%;
}

.resume-shade{
    height: 2px; 
    background-color: white;
}

.resume-shade-border-premium{ 
    border-radius: 5px; 
    width: 100%;
}

.resume-shade-premium{
    height: 2px !important; 
}

.submit-preference:hover{
    box-shadow: 1px 1px 3px 1px;
    border-radius: 5px;
}

.grey-heart:hover{
    color: red !important;
}

.red-heart:hover{
    color: rgb(214, 214, 214) !important;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    color: honeydew;
    font-size: 15px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.star {
    width: 30px;
    height: 30px;
    fill: gold;
    vertical-align: middle;
    margin-right: 5px;
}

.testimonial-star {
    width: 10px;
    height: 10px;
    fill: gold;
    vertical-align: middle;
    margin-right: 1px;
}

.stm-home-icon{
    font-size: 20px;
    color: #1A5276;
}

.stm-content-background{
    background-image: url('../images/stm-background.jpg');
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    color: honeydew;
}

.c-sidebar{
    background-color: #1A5276 !important;
}

/* --------------- */

.enquiry-chat-container {
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.enquiry-chat-box {
    padding: 10px;
}

.enquiry-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    background-color: rgb(78, 78, 78);
    color: honeydew;
    padding: 10px;
    border-radius: 5px;
}

.enquiry-time{
    color: rgb(96, 0, 0);
}

.enquiry-profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.enquiry-message-content {
    display: flex;
    flex-direction: column;
}

.enquiry-message-text {
    margin: 0 0 5px 0;
}

.char-count {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.fa-check-double{
    color: #1A5276 !important;
}

/*----------------------------------------------------------*/
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.social-icon:hover {
    box-shadow: 1px 1px 2px 1px honeydew;
}

.social-icon{
    margin: 0 10px 0 10px;
}

/*----------------------------------------------------------*/
#scrollToTopButton {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #1A5276;
    opacity: 0.7;
    color: white;
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Make the button round */
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2); /* Optional: Add a shadow for depth */
}
    #scrollToTopButton:hover {
    background-color: #123456;
    box-shadow: 1px 1px 2px 1px black;

}

.close{
    margin-top: 20px !important;
    color: white;
}

.custom-message-icon{
    font-size: 16px !important;
}

@media screen and (max-width: 767px) {
    /* Showcase — ensure cards have vertical breathing room on mobile */
    .home-showcase-card {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 500px) {
    .stm-normal-preview-text{
        font-size: 5px;
    }

    .stm-date-preview-text{
        font-size: 4px;
    }

    .stm-header-preview-text{
        font-size: 5.5px;
    }

    .stm-large-preview-text{
        font-size: 8px;
    }

    .resume-preview-img{
        width: 50px !important;
        height: 50px !important;
    }

    .social-icon{
        margin: 0 5px 0 5px !important;
    }
}

@media print {
    .btn, .longRequestButton, .download-card-pdf {
        display: none !important;
    }
}