body {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(246, 246, 246);
    overflow-x: hidden;
    padding-top: 56px;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
}
.sidebar {
    width: 300px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.chat-list {
    flex-grow: 1;
    overflow-y: auto;
}
.chat-item {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px
}

.chat-box {
    background: white;
    display: flex;
    flex-direction: column; }

.chat-input {
    border-top: 1px solid #ddd;
    padding: 10px; }

.chat-item:hover {
    background-color: #f1f1f1;
}

.clicked {
    color: #01539d !important;
    font-weight: bold;
    background-color: #ffffff !important;
}

.btn-primary {
    background-color: #01539D !important;
    color: white !important;
}
.btn-outline-primary {
    border-color: #01539d !important;
    color: #01539d !important;
}

.btn-outline-primary:hover {
    background-color: #01539d !important;
    color: white !important;
}

.btn-outline-grey {
    border-color: #6a6a6a;
    color: #6a6a6a;
}
.btn-outline-grey:hover {
    background-color: #01539d !important;
    color: white !important;
}
.btn-widu {
    background: #01539d !important;
    color: white !important;
}
.btn-widus {
    background: #01539d !important;
    color: white !important;
}

.floating-btn {
    position: fixed;
    bottom: 300px;
    right: -10px;
    background: #01539d;
    border: none;
    color: white;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    width: 135px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .floating-btn {
        width: 110px;
        height: 50px;
        font-size: 20px;
        bottom: 70px;
    }
}

.recently-hired {
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
}
.pill {
    background-color: #4F92CE;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin: 5px;
}

.btn-white {
    background: white !important;
    color: #01539d !important;
}


.active-category{
    color: #01539d !important;
}

.swiper {
    width: 100%;
    height: 180px;
    padding: 5px 0;
}

/*.swiper-slide {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

.job-card {
    width: 360px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.job-card:hover {
    transform: translateY(-5px);
}

.swiper-pagination {
    position: relative;
    margin-top: 15px;
    text-align: center;
}


.pagination {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

.pagination a {
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 4px;
    color: black;
}

.pagination a:hover,
.pagination a.active {
    background-color: #01539d;
    color: white;
    border-radius: 5px;
}


.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.link-hover {
    color: #3a3a3a !important;
    border: 1px solid #3a3a3a;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.link-hover-profile{
    color: #3a3a3a !important;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.link-name {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    background: #f7fcff;
    color: #01539d;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.link-hover:hover{
    color: #01539d !important;
    border-color: #01539d !important;
    /*border-radius: 50%;*/
}

.link-hover-profile:hover{
    color: #01539d !important;
}


.link-hover:hover .link-name {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}
.link-hover-profile:hover .link-name{
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.link-hover-active{
    /*background-color: #01539d;*/
    /*color: white!important;*/
    /*border-color: #01539d;*/
    color: #01539d !important;
    border: 2px solid #01539d !important;


}


#typing-animation-container {
    font-size: 24px;
    font-weight: bolder;
    color: white;
    display: inline-block;
    white-space: nowrap;
}

.typing-text {
    border-right: 2px solid white!important;
    padding-right: 5px;
    animation: typing 2s steps(10) 1s infinite, blink 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes flicker {
    0% {transform: scale(1); opacity: 1}
    25% {transform: scale(1.1); opacity: 1}
    50% {transform: scale(0.95); opacity:1}
    75% {transform: scale(1.05); opacity: 1}
    100% {transform: scale(1); opacity: 1}
}

.flickering-fire {
    animation: flicker 1.8s infinite alternate ease-in-out;
}



.next-btn {
    transition: 0.3s ease-in-out;
}
.next-btn:hover {
    background: #01539d !important;
    color: #fff !important;
}
.prev-btn{
    transition: 0.3s ease-in-out;
}

.prev-btn:hover {
    background: #01539d !important;
    color: #fff !important;
}

.pagination-container {
    overflow-x: auto;
}

.pagination {
    white-space: nowrap;
}


.my-scrollable-div::-webkit-scrollbar {
    width: 8px;
}
.my-scrollable-div::-webkit-scrollbar-thumb {
    background: #b8b8b8;
}

.my-scrollable-div {
    scrollbar-color: #e1e1e1 #f1f1f1;
    scrollbar-width: thin;
}

.swiper-container {
    padding: 15px 5px;
    overflow: hidden;
    width: 100%;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.category-card {
    width: 100%;
    min-width: 200px;
    max-width: 260px;
    height: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

@media (max-width: 570px) {
    .category-card {
        min-width: 280px;
    }

    .btn-widus {
        font-size: 1rem;
        width: 205px!important;
    }
}

.all-categories {
    transition: 0.3s ease-in-out;
}

.all-categories:hover {
    color: #01539d !important;
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 26px; /* Adjust spacing */
}

.category-card {
    flex: 0 1 calc(20% - 15px);
    max-width: 220px;
}

@media (max-width: 992px) {
    .category-card {
        flex: 0 1 calc(33.33% - 15px);
    }
}

@media (max-width: 768px) {
    .category-card {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .category-card {
        flex: 0 1 calc(100% - 15px);
    }
}

.sticky-sidebar {
    position: sticky;
    top: 85px;
    height: auto;
    max-height: calc(100vh - 100px);
}

.tooltip .tooltip-inner {
    background-color: #023e73;
    color: #ffffff;
}

.tooltip-arrow::before {
    border-bottom-color: #023e73 !important;
}
.nav-color {
    color: #3a3a3a;
}

.active-medium {
    color: #01539d !important;
}

#suggestions {
    width: 100%; /* Matches the input width */
    z-index: 1000; /* Ensures it appears above other elements */
}

.star {
    cursor: pointer;
    font-size: 1.5rem;
    color: gray;
}
.bi-star-fill {
    color: #01539d !important;
}
img.job-cover{
    width: 850px;
    height: 300px;
    object-fit: contain;
    border-radius: 5px;

}

@media (max-width: 992px) {
    #trendingExperts {
        max-width: 100% !important;
        padding-right: 15px !important;
    }
}

/* Base skeleton animation styles */
.skeleton {
    /*opacity: 0.7;*/
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: #E0E0E0;
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

/* Generic image container styling */
.image-container {
    position: relative;
}

/* Generic skeleton loader styling */
.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* For profile images with rounded corners */
.profile-skeleton-loader {
    border-radius: 50%;
}

/* Image styles */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}
/* Skeleton loading for images */
.skeleton-image {
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skeleton-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E0E0E0;
    border-radius: inherit;
    animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton-image-loaded {
    opacity: 1;
}

.skeleton-image-loaded::before {
    display: none;
}

@keyframes skeleton-loading {
    0% {
        background-color: #E0E0E0;
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.search-width {
    width: 100%;
}

/* Width for medium screens and above */
@media (min-width: 768px) {
    .search-width {
        width: 75%!important;
    }
}

.disclaimer-header {
    background-color: #01539d; /* Deep blue color */
    color: white;
    padding: 20px;
    border-radius: 5px 5px 0 0; /* Rounded corners only at the top */
    position: relative; /* Required for absolute positioning of pseudo-element */
    text-align: center;
}

/* This creates the downward pointing arrow */
.disclaimer-header:after {
    content: "";
    position: absolute;
    bottom: -10px; /* Position it below the header */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #01539d; /* Same color as the header background */
}


/*Error handling css*/
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.is-invalid {
    border-color: #dc3545;
}

#formMessages {
    margin-bottom: 1rem;
}

.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.withdraw-active {
    color: #01539d;
    font-weight: bolder;
}

#continueBtn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}





