:root {
    --primary-color: #2575FC;
    --primary-dark: #054a8c;
    --secondary-color: #f7faff;
    --accent-color: #cb2b0e;
    --text-dark: #343a40;
    --text-gray: #6c757d;
    --radius-md: 10px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    background-color: #fff;
}
a {
    text-decoration: none;
    transition: 0.3s;
    color: var(--primary-color);
}
a.btn:hover {
    color: #fff !important;
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#page-content,.body{
    padding: 20px 0;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
}
h1,.h1{
    font-size: 25px;
}
h2,.h2{
    font-size: 22px;
}
h3,.h3{
    font-size: 20px;
}
h4,.h4{
    font-size: 18px;
}
h5,.h5{
    font-size: 16px;
}
/* Images & Placeholders */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.pull-right {
    float: right;
}
.pt-0 {
    padding-top: 0 !important;
}
/* Valid Image Placeholder Class (JS will toggle this) */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #adb5bd;
    font-size: 2rem;
    font-weight: 600;
}

/* HEADER */
.top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar a {
    color: #666 !important;
    margin-right: 15px;
}
.control-label {
    font-weight: 600;
}
.top-bar a:hover {
    color: var(--primary-color);
}
.top-bar .nav-item ul.dropdown-menu.dropdown-menu-end.show{
    z-index: 9999;
    min-width: 12rem;
}
.top-bar .nav-item .nav-link{
    padding: 0 !important;
}
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 55px;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    color: #333 !important;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* SECTIONS & COMPONENTS */
.section-title {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.section-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: -12px;
}

.section-box .card-box {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    border: 1px solid #eee;
}

/* Banner Ads */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

a:hover {
    text-decoration: none;
    color: var(--primary-color) !important;
}

.ad-banner {
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #e0e0e0;
    min-height: 100px;
    position: relative;
}

.ad-banner::before {
    content: 'Quảng Cáo';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 0.8rem;
    z-index: 0;
}

.ad-banner img {
    position: relative;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
}

/* Search Box */
.search-container {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    background: none;
}

/* Job Item */
.job-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.2s;
}

.job-item:last-child {
    border-bottom: none;
}

.job-item:hover {
    background-color: #e6eeff;
}

.job-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
}

.job-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.job-info h5 a {
    color: #333;
}

.job-info h5 a:hover {
    color: var(--primary-color);
}

.job-company-name {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

.job-meta span {
    font-size: 0.8rem;
    color: #888;
    margin-right: 15px;
}

.job-meta i {
    color: var(--primary-color);
    margin-right: 4px;
}

/* Candidate Item */
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.candidate-item {
    background: #fff;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    padding: 20px;
    text-align: left;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.candidate-item:hover {
    border-color: var(--primary-color);
    background-color: #f8fbff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.candidate-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    margin-bottom: 0;
    background-color: #fff;
}

.candidate-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0d2e68;
}

.candidate-details {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}


.candidate-title {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* News Item */
.news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.news-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #eee;
}

.news-content h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content h6 a {
    color: #333;
}

.news-content h6 a:hover {
    color: var(--primary-color);
}

.news-date {
    font-size: 0.8rem;
    color: #999;
}
.news-tile {
    transition: box-shadow 0.18s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    min-height: 170px;
    background: #fff;
}
.news-tile:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
/* Featured News Box */
.featured-news-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #ddd;
}
.event-card-custom {
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #e5eaf1;
    transition: box-shadow 0.18s;
}
.event-card-custom:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
/* Footer */
footer {
    background: #fff;
    padding: 40px 0 20px;
    margin-top: 2rem;
}

.footer-col h5 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #555;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.hide {
    display: none;
}

/* BANNER */
.banner-top {
    width: 100%;
    height: 570px;
    overflow: hidden;
    position: relative;
}

.slide-home {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* SEARCH TABS */
.nav-tabs .nav-link {
    border: none;
    border-radius: 5px 5px 0 0;
    padding: 12px 25px;
    margin-right: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    background-color: #e9ecef;
    color: #6c757d;
    transition: 0.2s;
    text-transform: uppercase;
}

.nav-tabs .nav-link:hover {
    background-color: #dee2e6;
    color: #495057;
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: #fff !important;
}

.search-area {
    background-color: var(--primary-color);
    border-radius: 0 5px 5px 5px;
    padding: 25px;
}
.search-container .nav li a{
    color: #333 !important;
}
/* Swiper Buttons Customization */
.swiper-button-next,
.swiper-button-prev {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: white;
}

.nav-link,
.dropdown-item {
    cursor: pointer;
}

.dropdown-menu .dropdown-item {
    font-size: 13px;
}
.section-news .media{
    background: none repeat scroll 0 0 #fff;
    border-bottom: 1px solid #c7c9c8;
    margin: 15px 0;
}
.section-news .media:last-child{
    border-bottom: none;
}
.form-group{
    margin-bottom: 1rem;
    position: relative;
}
.custom-input{
    height: 100% !important;
}
/* Flyout Dropdown Styles */
.flyout-dropdown .flyout-menu {
    min-width: 220px;
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    z-index: 1001;
}

.flyout-dropdown:hover>.flyout-menu,
.flyout-dropdown:focus-within>.flyout-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    right: 100%;
    /* Thay left: 100% thành right: 100% */
    left: auto;
    /* Đảm bảo không bị ảnh hưởng bởi left */
    margin-top: -6px;
    min-width: 220px;
    display: none;
    position: absolute;
    z-index: 1002;
}

.dropdown-submenu:hover>.dropdown-menu,
.dropdown-submenu:focus-within>.dropdown-menu {
    display: block;
}

.dropdown-submenu>.dropdown-item:before {
    display: inline-block;
    font-family: "FontAwesome";
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    margin-right: 8px;
    vertical-align: middle;
    content: "\f104";
    border-top: none;
}

.dropdown-submenu>.dropdown-item::after {
    border-top: none;
    display: none;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
}

@media (max-width: 991px) {

    .flyout-dropdown .flyout-menu,
    .dropdown-submenu>.dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}
#search-form .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 5px;
}
#search-form .select2-container .select2-selection--single .select2-selection__rendered{
    padding-top: 5px;
}
#search-form .select2-container .select2-selection--single{
    height: 40px;
}
.job-bg{
    padding: 30px 0 20px !important;
}
.job-bg:before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 120px !important;
    height: 250px !important;
    display: block;
    background: #242d3e;
    opacity: .6;
}

.job-list-page,.job-details-page{
    background-size: 100% 250px;
    padding: 30px 0 20px !important;
    background-color: #f7f7f7;
}
.breadcrumb-section .title {
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 30px;
    position: relative;
    color: #fff;
}
.job-list-page:before {
    height: 230px;
}
.job-list-item {
    margin-bottom: 0;
    padding: 0;
}

.job-list-item h4 {
    font-weight: 500;
    color: #000;
    margin-top: 0;
    float: left;
    font-size: 18px;
    position: relative;
    top: 10px;
}

.job-list-item h5 {
    display: inline;
    margin-right: 9px;
    font-size: 14px
}

.job-list-item .featured-top {
    padding-bottom: 0;
    padding-top: 10px;
    margin-bottom: 0;
}

.job-list-item .btn-group {

    vertical-align: top;

    top: 7px;
}

.job-list-item .btn-group .btn.active {
    background: #ddd;
    border: none;
}

.job-list-item .btn-group .btn {
    margin-left: 5px;
    border-radius: 2px !important;
    background: #eee;
}

.job-list-item .category-dropdown {
    background-color: transparent;
    border-radius: 0;
    border: 0;
    display: inline-block;
    height: inherit;
    line-height: inherit;
    min-width: inherit;
    text-align: center;
    padding: 0;
    height: 30px;
    margin-right: 10px;
    position: relative;
}

.job-list-item .change-text {
    color: #010101;
    font-weight: 500
}

.job-list-item .change-text + i {
    color: #010101
}

.job-list-item .advertisement-daily {
    padding: 13px 0 14px
}
.breadcrumb-section {
    overflow: auto;
}
.breadcrumb-section .breadcrumb {
    margin-bottom: 0;
    margin: 0;
    padding: 0;
    z-index: 9;
    position: relative;
    margin-bottom: 10px;
    min-width: 500px;
}
.breadcrumb li, .breadcrumb li a {
    color: #fff;
    font-weight: 500;
}
.breadcrumb {
    background-color: transparent;
    padding-left: 0
}

.breadcrumb > li + li {
    padding-left: 15px;
    margin-left: 5px;
    position: relative;
    white-space: nowrap;
}

.breadcrumb > li + li:before {
    content: "\f101";
    font-family: FontAwesome;
    color: #fff;
    left: 0;
    position: absolute;
    top: 6px;
    font-size: 10px;
}
.single-post h1 {
    font-size: 25px;
}
.single-post h1, .single-post h2, .single-post h3, .single-post h4, .single-post h5, .single-post h6 {
    display: block;
    margin: 10px 0;
}
.job-details .job-ad-item.section {
    padding-bottom: 40px;
    margin-bottom: 15px !important;
}
.item-image-box, .item-info {
    padding: 0;
    margin: 0;
}
.job-ad-item .item-image-box, .job-ad-item .ad-info {
    float: left;
    color: #000;
    font-size: 15px;
}
.item-image-box {
    overflow: hidden;
}
.item-image {
    position: relative;
}
.job-ad-item img {
    width: inherit;
    padding: 10px;
}
.job-ad-item .ad-info {
    padding: 0 15px;
    max-width: 100%;
}
.job-details .ad-info {
    margin-bottom: 20px;
}

.job-details .ad-info span, .job-details .ad-info span a {
    display: inline-block;
    font-size: 30px;
    line-height: 1;
}

.banner-form {
    background-color: rgb(0 0 0 / 45%);
    padding: 8px;
    max-width: 750px;
    margin: 12px auto;
    border-radius: 5px;
    text-align: left;
}
.banner-form-full {
    max-width: 100%;
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 30px;
    margin-top: -40px;
}
.banner-form-full.job-list-form {
    margin-top: 10px;
    background-color: rgb(0 0 0 / 80%);
    padding: 15px;
    margin-bottom: 20px;
}
.banner-form form {
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    margin-bottom: 0;
}
.category-dropdown {
    background-color: #fff;
    border-right: 1px solid #e6e6e6;
    border-radius: 5px 0 0 5px;
    min-width: 200px;
    line-height: 45px;
    text-align: left;
    padding: 0 20px;
}
.banner-form .form-control, .banner-form .category-dropdown {
    width: 30%;
    height: 46px;
    font-size: 16px;
    color: #000;
    float: left;
}
.banner-form-full.banner-form .form-control, .banner-form-full.banner-form .category-dropdown {
    width: 19%;
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
}
.category-dropdown a {
    font-size: 16px;
    margin: 0;
    color: #000;
    border: none;
    border-radius: 5px 0 0 5px;
    text-transform: capitalize;
    font-family: myriadpro-regular, sans-serif;
    display: block;
    line-height: 46px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-dropdown a i {
    margin-left: 5px;
}
.banner-form .dropdown-menu {
    min-width: 100%;
    padding: 10px 0;
}
.dropdown.category-dropdown .dropdown-menu {
    left: -20px !important;
}
.place-dropdown {
    display: none;
}
.banner-form button.btn.btn-primary {
    position: absolute;
    right: -2px;
    bottom: 0;
    font-size: 15px;
    max-width: 212px;
    background-color: #00a651;
    border-radius: 0 5px 5px 0;
    color: #fff;
    text-transform: uppercase;
    border-color: #00a651;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    height: 100%;
    padding: 10px 20px;
}
.banner-form input {
    min-width: 375px;
    padding: 0 18px;
    margin: 0;
    font-family: myriadpro-regular, sans-serif;
    border: none;
    margin-left: -4px;
}
.banner-form-full.banner-form input {
    min-width: 448px;
}
.dropdown.category-dropdown .dropdown-menu a {
    padding: 8px 25px;
    line-height: 20px;
}
.featured-top .category-dropdown a {
    display: inherit;
}
.ad-meta a i {
    text-align: right;
}
.job-ad-item img {
    width: inherit;
    padding: 10px;
}

.job-ad-item {
    padding: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    margin: 5px 0;
    border-radius: 2px;
    background: #fff;
    margin-bottom: 8px !important;
}

.job-ad-item .ad-meta {
    position: inherit;
    background-color: transparent;
    border-top: none;
    padding-left: 0;
    min-height: inherit;
    display: inline
}
.job-ad-item .ad-meta ul{
    display: flex;
    flex-wrap: wrap;
}
.job-ad-item .ad-meta li {
    margin-right: 20px;
    margin-bottom: 5px;
}

.job-ad-item .item-image-box, .job-ad-item .ad-info {
    float: left
}

.job-ad-item .ad-info {
    padding: 0 15px;
    max-width: 100%;
}

.job-ad-item .ad-info span {
    color: #000;
    font-size: 20px;
    display: block;
    margin-bottom: 10px
}

.job-ad-item .ad-info span a {
    color: #000;
    font-size: 20px;
    font-weight: 300
}

.job-ad-item .ad-info a.title {
    font-weight: 300;
    color: #00a651;
    font-weight: bold;
    text-transform: capitalize;
}

.job-ad-item .ad-meta li:last-child {
    margin-right: 0
}

.job-ad-item .ad-meta a, .job-ad-item .ad-meta li {
    font-size: 14px;
    color: black;
}

.job-ad-item .ad-meta i, .job-ad-item .ad-meta a i {
    font-size: 20px;
    margin-right: 10px
}

.job-ad-item .ad-info span a:hover, .job-ad-item a:hover {
    color: #00a651;
    text-decoration: underline;
}

.job-ad-item .button {
    float: right
}

.gridview .job-ad-item .item-info .item-image-box .item-image {
    border-radius: 100% !important;
}

.job-ad-item .item-image {
    width: 100px;
    height: 100px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.job-ad-item .item-info {
    min-height: 0;
    overflow: hidden
}

.latest-jobs-ads .nav-tabs > li > a {
    margin-right: 0;
    border: 0 !important;
    /* border-radius: 5px !important; */
    background: transparent !important;
    text-decoration: underline;
    font-size: 12px;
}

.job-ad-item .btn.btn-primary {
    padding: 5px 20px 6px;
    margin-top: 25px;
    font-size: 14px;
    font-size: 13px;
    margin-right: 25px;
    color: #fff !important;
}
.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.job-details .job-ad-item {
    border: 0;
    margin: 0 0 50px;
    padding: 35px 25px;
}

.job-details .ad-info {
    margin-bottom: 20px;
}

.job-details .ad-info span, .job-details .ad-info span a {
    display: inline-block;
    font-size: 30px;
    line-height: 1;
}

.social-media {
    overflow: hidden;
    margin-left: 120px
}

.social-media .button {
    float: left;
    margin-right: 15px
}

.social-media .btn.btn-primary i {
    font-size: 22px;
    float: left;
    margin-right: 10px;
}

.social-media .btn.btn-primary.bookmark {
    background-color: #2693ea !important;
}

.social-media .btn.btn-primary {
    background-color: #2ece34 !important;
    margin-top: 0;
    padding: 10px 20px;
    border: none;
}

.social-media .btn.btn-primary:hover {
    background-color: #00a651
}

.share-social {
    margin-top: 10px;
    display: inline-block
}

.share-social li {
    float: left;
    font-weight: 500;
    color: #272727
}

.share-social li + li {
    margin-left: 15px;
}

.share-social li, .share-social li a {
    font-size: 18px
}

.share-social li a .fa-facebook-official {
    color: #0072bc
}

.share-social li a .fa-twitter-square {
    color: #00aeef
}

.share-social li a .fa-google-plus-square {
    color: #eb434a
}

.share-social li a .fa-linkedin-square {
    color: #448ccb
}

.share-social li a .fa-pinterest-square {
    color: #ed1c24
}

.share-social li a .fa-tumblr-square {
    color: #0054a6
}

.job-description {
    color: #272727;
    font-size: 14px;
    line-height: 22px
}

.job-description > div {
    margin-bottom: 25px;
}

.job-details-info h2 {
    font-size: 17px;
    margin: 0 0 15px;
    color: #272727;
    font-weight: bold;
    text-decoration: underline;
}

.description-info span {
    margin-bottom: 20px;
    display: block
}

.job-short-info li, .company-info li {
    color: #707070;
    margin-bottom: 15px;
    font-size: 16px
}

.company-info li a, .job-short-info li a {
    color: #707070
}

.job-short-info li {
    position: relative;
    padding-left: 35px
}

.job-short-info li span.icon {
    font-size: 18px;
    color: #000;
    position: absolute;
    left: 0;
    top: 0
}

.responsibilities h1, .requirements h1 {
    margin-top: 45px
}

.requirements li {
    line-height: 25px
}

.requirements li:last-child {
    margin-bottom: 0
}

.job-short-info li span.text-center {
    display: block
}

.job-short-info li:last-child {
    line-height: 25px;
    margin: 0
}

.company-info .share-social li {
    margin-bottom: 0
}

.see-more button {
    background-color: transparent;
    border: 0;
    padding: 0;
    color: #a0a0a0;
    font-size: 14px;
    margin-top: 5px
}

.see-more i {
    font-size: 16px;
    margin-right: 10px
}

.close-icon {
    color: #a0a0a0;
    position: absolute;
    top: 15px;
    right: 15px;
    line-height: 0;
    font-size: 14px
}

.close-icon:hover {
    cursor: pointer;
    color: red
}

.job-job-profile .favorites-user small {
    text-transform: uppercase;
    font-weight: 500
}

.job-profile .user-pro-section .form-control {
    width: 85%
}

.job-profile .user-pro-section label {
    width: 15%;
    margin-top: 10px
}

.job-profile .preferences-settings label {
    width: 100%
}

.preferences-settings .checkbox {
    margin-bottom: 40px
}

.preferences-settings .buttons {
    float: none
}

.preferences-settings a.btn {
    margin-bottom: 0
}

.profile-logo {
    float: left;
    margin-right: 35px
}

.resume-content .profile.section {
    padding: 25px
}

.resume-content {
    font-size: 14px;
    line-height: 22px;
    color: #2d3038
}

.resume-content .profile-info h1 {
    font-size: 30px;
    color: #2a2a2a
}

.resume-content .profile-info {
    padding: 20px 0
}

.resume-content .profile-info address, .resume-content .profile-info address a {
    color: #2d3038;
    font-size: 16px;
    line-height: 28px
}

.resume-content .icons {
    color: #00a651;
    font-size: 30px;
    float: left;
    margin-right: 30px
}

.resume-content .career-info, .resume-content .declaration-info, .resume-content .work-info, .resume-content .educational-info, .resume-content .qualification, .resume-content .personal-info, .educational-info ul, .proficiency {
    overflow: hidden
}

.resume-content h3 {
    margin-top: 5px;
    margin-bottom: 35px;
    font-size: 18px;
    font-weight: 500
}

.resume-content .career-info span, .resume-content .declaration-info span {
    margin-bottom: 25px;
    display: block
}

.work-history h4 {
    font-size: 14px;
    color: #2d3038;
    font-weight: 700;
    margin-bottom: 20px
}

.work-history h4 span {
    display: block;
    font-weight: 400;
    margin-top: 5px;
    line-height: 22px
}

.work-history ul li, .educational-info ul li {
    margin-bottom: 55px;
    position: relative
}

.work-history ul li:last-child {
    margin-bottom: 0
}

.work-history ul li:after, .educational-info ul li:after {
    position: absolute;
    content: "";
    bottom: -25px;
    left: 0;
    width: 85%;
    height: 1px;
    background-color: #f1f1f1
}

.work-history ul li:last-child:after {
    display: none
}

.work-history ul li:last-child.history, .educational-info ul li:last-child {
    margin-bottom: 0
}

.educational-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2d3038;
    margin-bottom: 5px
}

.educational-info li ul {
    margin-bottom: 20px
}

.educational-info ul li {
    position: relative
}

.educational-info li ul li:after {
    display: none
}

.educational-info li ul li {
    float: left;
    font-weight: 500;
    color: #2d3038;
    margin-bottom: 0
}

.educational-info li ul li span {
    font-weight: 400
}

.educational-info li ul li + li {
    margin-left: 40px
}

.qualification li {
    font-size: 14px;
    margin-bottom: 15px
}

.qualification li span {
    font-weight: 700
}

.qualification li:last-child {
    margin-bottom: 0
}

.language-proficiency h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 0
}

.language-proficiency ul > li + li {
    margin-left: 20px;
    padding-left: 30px;
    border-left: 1px solid #f1f1f1
}

.language-proficiency ul li ul li {
    float: left;
    color: #bbb
}

.language-proficiency ul li ul li + li {
    margin-left: 5px;
    border-left: 0;
    padding-left: 0
}

.personal-info .address li {
    overflow: hidden;
    line-height: 30px;
    color: #2d3038;
    font-size: 14px
}

.personal-info .address li h5 {
    float: left;
    margin-top: 5px;
    min-width: 180px;
    font-weight: 700;
    font-size: 14px
}

.personal-info .address li span {
    margin-right: 30px
}

.declaration {
    margin-bottom: 45px
}

.buttons {
    float: left
}

.download-button {
    float: right
}

.buttons a.btn {
    margin-top: 0
}

.job-postdetails .category-dropdown {
    border: 1px solid #e3e3e3;
    border-radius: 5px
}

.job-postdetails .category-dropdown a {
    display: block
}

.job-postdetails .category-dropdown .pull-right {
    margin-top: 15px
}

.job-postdetails .dropdown-menu {
    width: 100%;
    padding: 10px 0
}

.job-postdetails .location .category-dropdown {
    width: 48%
}

.job-postdetails .select-price input[type=text] {
    width: 25%
}

.job-postdetails .characters {
    margin-bottom: 30px
}

.job-postdetails .agreement.checkbox label:before {
    top: 0
}

.job-user-account {
    overflow: hidden
}

.user-account .nav-tabs {
    margin-bottom: 70px;
    position: relative;
    display: block;
    border-bottom: 1px solid #e3e3e3
}

.user-account .nav-tabs:after, .user-account .nav-tabs:before {
    position: absolute;
    content: "";
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: #e3e3e3
}

.user-account .nav-tabs:after {
    left: -100%
}

.user-account .nav-tabs:before {
    right: -100%
}

.user-account .nav-tabs > li {
    display: inline-block;
    float: none;
    margin-bottom: -1px
}

.user-account .nav-tabs > li a {
    padding: 10px 35px;
    color: #0a0a0a;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 0;
    border-radius: 0;
    border: 1px solid transparent;
    border-bottom: 1px solid #e3e3e3;
    background-color: #f7f7f7
}

.user-account .nav-tabs > li + li {
    margin-left: -4px
}

.user-account .nav-tabs > li > a.active, .user-account .nav-tabs > li > a.active:focus, .user-account .nav-tabs > li a:hover {
    border: 1px solid #e3e3e3;
    border-bottom: 1px solid #fff;
    background-color: transparent
}
.job-details-info .section {
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    padding: 10px 25px;
}

/* Pagination */
.pagination {
    margin-bottom: 10px;
    display: block;
    position: relative;
    top: 12px;
}

.pagination > li {
    display: inline-block
}

.pagination > li > a,.pagination > li.disabled > span {
    color: #9a9a9a;
    font-size: 14px;
    font-weight: 700;
    background-color: #e7e8e9;
    margin: 3px;
    border: 1px solid #e2e3e3;
    border-radius: 5px;
    display: block;
    padding: 6px 12px
}

.pagination > li > a:hover, .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover {
    color: #fff !important;
    background-color: #00a651;
    border: 1px solid #008c44
}
.job-listings.card-box .row .job-item:nth-child(odd) {
    border-right: 1px solid #eee;
}
.owl-carousel-container .owl-prev-custom,
.owl-carousel-container .owl-next-custom {
    background: transparent !important;
    border: none;
    box-shadow: none;
    color: #444;
    opacity: 0.2;
    transition: background 0.2s, opacity 0.2s, color 0.2s;
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel-container:hover .owl-prev-custom,
.owl-carousel-container:hover .owl-next-custom {
    background: #fff !important;
    color: #1976d2;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
    z-index: 3;
}
.seminar-hero{
    padding: 30px 20px;
}
.user-account-content {
    width: 540px;
    display: block;
    margin: 30px auto;
    border: 1px solid #eee;
    padding: 20px;
}
.text-left{
    text-align: left;
}
.has-error input {
    border: 1px solid #dc3545;
}
.help-block-error, .help-block {
    color: red;
    font-size: 15px;
}
.required .control-label:after {
    content: ' * ';
    color: red;
}
/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 35px;
    z-index: 999;
    background: #0f368e;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    animation: bounceIn 0.7s;
}
#scrollTopBtn:hover {
    background: #1e56c5;
    transform: translateY(-4px) scale(1.08);
}
@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Messenger Button Animation */
#messengerBtn {
    position: fixed;
    bottom: 90px;
    right: 32px;
    z-index: 1200;
    background: #fff;
    border-radius: 50%;
    box-shadow:
        0 8px 32px 0 rgba(0,132,255,0.25),
        0 2px 8px 0 rgba(0,0,0,0.18),
        0 0 0 6px rgba(0,132,255,0.10);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
    padding: 0;
    border: 3px solid #fff;
}
#messengerBtn img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 2px 8px rgba(0,132,255,0.25));
    transition: transform 0.22s, filter 0.22s;
}
#messengerBtn:hover {
    transform: scale(1.16) rotate(-8deg);
    box-shadow:
        0 12px 36px 0 rgba(0,132,255,0.35),
        0 4px 16px 0 rgba(0,0,0,0.22),
        0 0 0 12px rgba(0,132,255,0.13);
}
#messengerBtn:hover img {
    transform: scale(1.18);
    filter: drop-shadow(0 4px 16px rgba(0,132,255,0.35));
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,132,255,0.35);}
    70% { box-shadow: 0 0 0 18px rgba(0,132,255,0);}
    100% { box-shadow: 0 0 0 0 rgba(0,132,255,0);}
}
@media (min-width: 767px) {
    .job-list-item .btn-group, li .d-none {
        display: inline-block !important;
    }
    .job-ad-item .ad-info {
        max-width: 75%;
    }
}
/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 991px) {
    .banner-top {
        height: 300px;
        /* Tablet Height */
    }

    .navbar-brand img {
        height: 45px;
    }

    .main-header {
        padding: 5px 0;
    }
}

@media (max-width: 900px) {
    .banner-top {
        height: 200px;
        /* Mobile Height */
    }

    .top-bar {
        display: none;
        /* Hide top bar on mobile to save space */
    }

    .candidate-grid {
        grid-template-columns: 1fr;
        /* 1 Column for Candidates */
    }

    .search-container {
        padding: 15px;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .job-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .job-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }

    .featured-news-img {
        height: 200px;
    }

    /* Adjust search inputs spacing on mobile */
    .search-area .row.g-2>div {
        margin-bottom: 5px;
    }

    .footer-col {
        margin-bottom: 30px;
    }
    .banner-form .form-control, .banner-form .category-dropdown {
        width: 100% !important;
        min-width: 100%;
    }
    .job-bg .banner-form button.btn.btn-primary {
        width: 100%;
        position: relative;
        min-width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
        font-size: 13px;
    }
    .breadcrumb-section .title{
        margin-bottom: 0;
    }
    .job-bg .banner-form-full.banner-form input {
        margin-left: 0;
        border: 1px solid #eee;
        border-radius: 0;
        min-width: 100% !important;
    }
    .banner-form .form-control, .banner-form .category-dropdown {
        width: 100% !important;
        min-width: 100%;
    }
    .banner-form .category-dropdown a i {
        margin-left: 5px;
        position: absolute;
        right: 10px;
        top: 10px;
    }
    .job-ad-item .item-info {
        text-align: left;
    }
    .job-category-items .category-list .category-item {
        width: 50%
    }

    .job-ad-item .item-info {
        text-align: left
    }

    .job-details-page .job-ad-item .item-image-box {
        display: none;
    }

    .job-ad-item .item-image-box, .job-ad-item .ad-info {
        float: none;
        /* width: 134px; */
    }

    .job-ad-item .item-image img{
        /* border-radius: 100% !important; */
        padding: 5px;
    }
    .job-ad-item .item-image {
        margin: 0 auto 10px;
        /* border-radius: 100% !important; */
    }

    .job-ad-item .ad-meta li {
        float: left;
        margin-bottom: 5px;
        margin-left: 0;
        width: 50%;
        margin: 5px 0px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .job-ad-item .button {
        /* float: none */
    }

    .job-ad-item .btn.btn-primary {
        margin: 0 0 10px !important;
        /* display: none; */
    }

    .latest-jobs-ads .job-ad-item .btn.btn-primary,
    .job-list-item .job-ad-item .btn.btn-primary {
        margin: 0 0 10px !important;
        display: none;
    }

    .job-ad-item .ad-info a.title {
        line-height: 1.3;
        text-align: center;
    }

    .job-details .job-ad-item .ad-info span {
        margin-bottom: 0;
    }

    .job-ad-item .ad-info {
        padding: 0 0 10px 0;
        float: left;
        width: 100%;
    }

    .job-ad-item {
        padding: 40px;
        box-shadow: 0 1px 1px #007cb9;
    }
    .job-ad-item .ad-meta ul {
        border-top: 1px solid #eee;
    }

    .latest-jobs-ads {
        margin-bottom: 25px
    }

    .workshop-traning .workshop {
        margin-bottom: 15px
    }

    .banner-job .dropdown-menu {
        width: 100%
    }

    .tab-manu .nav-tabs li a {
        padding: 10px
    }

    .explore-nearby {
        padding-bottom: 0
    }

    .social-media {
        margin-left: 0;
        margin-top: 5px;
    }

    .job-details .ad-info {
        margin-bottom: 5px;
    }

    .job-short-info li span.text-center {
        display: inline-block
    }

    .directory.page .banner-form-full .language-dropdown {
        margin-left: 0
    }

    .job-postdetails .location .category-dropdown {
        min-width: 48%
    }

    .educational-info li ul li {
        float: none
    }

    .educational-info li ul li + li {
        margin-left: 0
    }
    .section-title{
        flex-wrap: wrap;
    }
    .section-title h3{
        border-bottom: none;
    }
    .company-logo{
        width: 100%;
        text-align: center;
    }
    .news-tile img { height: 80px !important; }
    .news-tile { min-height: 120px; }
    .event-card-custom { min-height: 340px; }
}
@media (max-width: 500px) {
    .job-bg:before {
        height: 150px !important;
        top: 65px !important;
    }
    .job-ad-item .ad-info span {
        line-height: 1.2;
        text-align: center;
    }
    .job-ad-item .ad-info span.title{
        text-align: left;
    }

    .job-ad-item {
        padding: 15px !important;
        margin-bottom: 15px !important;
        padding-bottom: 0 !important;
    }

    .job-details-page .job-ad-item {
        padding: 10px 15px 10px !important;
        margin-top: 0 !important;
    }

    .job-details-info .section {
        padding: 15px !important;
    }

    .social-media .btn.btn-primary.bookmark {
        margin-top: 0;
    }

    .share-social li + li {
        margin-left: 7px
    }

    .job-short-info li span.icon {
        margin-right: 0
    }

    .user-account .nav-tabs {
        margin-bottom: 45px
    }

    .user-account .nav-tabs > li a {
        padding: 10px 15px
    }

    .job-postdetails .location .category-dropdown {
        min-width: 100%;
        margin-bottom: 10px
    }

    .job-postdetails .location .form-group {
        margin-bottom: 10px
    }
    .job-ad-item .ad-info span a {
        font-size: 16px;
    }
    .job-ad-item .ad-info a.title {
        line-height: 1.3;
        text-align: center;
    }
    .event-card-custom { min-height: 260px; }
}