.container {
    max-width: 1520px;
}

.navbar-nav .nav-link {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #CF1B36;
}

.navbar .btn-danger {
    background-color: #CF1B36;
}

.navbar .btn-light {
    background-color: #FDF3F3;
}

.navbar .dropdown-menu {
    font-size: 0.9rem;
    z-index: 1001;
}

.custom-dropdown {
    top: 100%;
    min-width: 180px;
    z-index: 1000;
}

.navbar .btn {
    height: 100%;
    border-radius: 0;
}

.navbar .dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
}

.dropdown-menu-custom {
    min-width: 500px;
    box-shadow: 2px -3px 10px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px;
    font-size: 14px;
    border: none;
}

.dropdown-menu-custom .dropdown-header {
    color: #d0d0d0;
    font-size: 16px;
    font-weight: bold;
}

.dropdown-menu-custom .dropdown-item {
    font-weight: bold;
    padding: 6px 10px;
    color: #333;
    transition: 0.2s;
}

.dropdown-menu-custom .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #cf1b36;
}

.m-1200 {
    max-width: 1200px;
}


.m-600 {
    max-width: 600px;
}

.navbar-collapse .avatar {
    display: inline-block;
    white-space: nowrap;
    width: 30px;
    height: 30px;
}

.avatar img {
    height: auto;
    max-width: 100%;
    border-radius: 50%;
    border: solid 1px #ebebeb;
}

.navbar-collapse .user-name {
    color: #CF1B36 !important;
}

.footer a:hover {
    color: #CF1B36 !important;
    text-decoration: underline;
}


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

.breadcrumb-dark {
    font-size: 0.9rem;
}

.breadcrumb-dark a {
    color: #ccc;
    text-decoration: none;
}

.breadcrumb-dark a.active,
.breadcrumb-dark a:hover {
    color: #CF1B36;
    /* Màu nhấn */
    font-weight: bold;
}

.breadcrumb-dark span {
    color: #555;
    margin: 0 10px;
}

.search-bar-section {
    /* Màu nền hồng nhạt cho toàn bộ khu vực */
    background-color: #fdebeb;
    padding: 20px 0;
}

.search-pill-group {
    /* Tạo hình dạng viên thuốc bo tròn */
    border-radius: 50px;
    background-color: #fff;
    padding: 8px;
    /* Thêm khoảng đệm bên trong */

    border: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.search-pill-group .form-control,
.search-pill-group .form-select {
    /* Loại bỏ viền và bóng của các ô input/select mặc định */
    border: none;
    box-shadow: none !important;
    background-color: transparent;
}

/* Thêm đường kẻ dọc để phân tách các thành phần */
.search-pill-group .input-group-text {
    background-color: transparent;
    border: none;
}

.search-pill-group .form-select {
    border-left: 1px solid #e0e0e0;
    border-radius: 0;
    /* Bỏ bo góc riêng của select */
}

.search-pill-group .form-control:focus {
    box-shadow: none;
}

/* Tùy chỉnh nút tìm kiếm */
.search-pill-btn {
    border-radius: 50px !important;
    /* Ghi đè để nút luôn tròn */
    padding: 10px 25px !important;
    /* Tăng kích thước đệm cho nút */
    font-weight: 500;
}

a {
    text-decoration: none;
}

.unsave-favourite-job i {
    color: var(--primary-color) !important;
}

.switch {
    display: inline-block;
    height: 24px;
    margin-bottom: 1px;
    position: relative;
    width: 42px
}

.switch input {
    height: 0;
    opacity: 0;
    width: 0
}

.switch .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s
}

.switch .slider:before {
    background-color: #fff;
    bottom: 2px;
    content: "";
    height: 21px;
    left: 2px;
    position: absolute;
    transition: .4s;
    width: 21px
}

.switch input:checked+.slider {
    background-color: var(--primary-color)
}

.switch input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-color)
}

.switch input:checked+.slider:before {
    transform: translateX(17px)
}

.switch .round {
    border-radius: 34px
}

.switch .round:before {
    border-radius: 50%
}

@media (max-width: 576px) {
    .header-actions .dropdown:last-child {
        display: none !important;
    }
}

.notification-item.unread {
    background-color: #f8f9fa;
    border-left: 3px solid #dc3545;
}
.notification-item {
    font-size: 13px !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 15px;
}

.notification-item.unread {
    background-color: #f5f5f5;
    font-weight: 600;
}

.notification-loader {
    text-align: center;
    padding: 10px;
}

/* Hiện nền sáng khi hover */
.notification-item:hover {
    background-color: #f8f9fa;
}

/* Gỡ text-truncate khi hover để hiển thị đầy đủ nội dung */
.notification-item:hover .text-truncate {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
