/* jobplus: phần bổ sung cho các chức năng của hệ thống mới (không có trên danang43.edu.vn) */
/* Thanh trên: menu tài khoản (bấm tên → vào trang quản lý) */
.jk-user-menu { position: relative; display: inline-block; }
.jk-user-menu > summary { list-style: none; cursor: pointer; user-select: none; }
.jk-user-menu > summary::-webkit-details-marker { display: none; }
.jk-user-menu .jk-um-caret { width: 18px; height: 18px; margin-left: 4px; flex: none; vertical-align: middle; transition: transform .15s; }
.jk-user-menu[open] .jk-um-caret { transform: rotate(180deg); }
.jk-um-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1050; min-width: 250px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 35, 70, .18), 0 0 0 1px rgba(15, 35, 70, .06); padding: 6px; text-align: left; }
.jk-um-pop::before { content: ""; position: absolute; top: -6px; right: 22px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: -1px -1px 0 rgba(15, 35, 70, .06); }
.jk-um-head { padding: 10px 12px 8px; border-bottom: 1px solid #eef1f5; margin-bottom: 4px; }
.jk-um-head b { display: block; color: #1f2937; font-size: 15px; line-height: 1.3; }
.jk-um-head small { color: #f7941d; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.jk-um-pop a, .jk-um-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 6px; color: #374151; font-size: 14px; line-height: 1.3; text-decoration: none; text-align: left; cursor: pointer; }
.jk-um-pop a i, .jk-um-pop button i { width: 18px; color: #2b7bb9; font-size: 16px; flex: none; }
.jk-um-pop a:hover, .jk-um-pop button:hover, .jk-um-pop a:focus-visible, .jk-um-pop button:focus-visible { background: #f1f6fb; color: #1d6fa5; outline: none; }
.jk-um-pop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid #eef1f5; }
.jk-um-pop form button { color: #dc3545; }
.jk-um-pop form button i { color: #dc3545; }
@media (max-width: 575px) { .jk-um-pop { position: fixed; left: 12px; right: 12px; top: 56px; min-width: 0; } .jk-um-pop::before { display: none; } }
.header .header-action .jk-user-menu { margin-left: 8px; }
.jp-um-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 8px; background: linear-gradient(90deg, #ee7730, #f09f39); color: #fff; font-weight: 500; }
.jp-um-btn .fa { font-size: 18px; }
.jk-um-pop a i.fa, .jk-um-pop button i.fa { font-size: 15px; text-align: center; }
/* Nhóm E — đăng nhập/đăng ký: main.css trỏ ảnh nền "/images/login-bg.png" (đường dẫn gốc danang43) → dùng ảnh trong thư mục giao diện */
.wrapper-login .login-banner { background-image: url("../images/login-bg.png"); }
.wrapper-login .login-form-inner .alert { margin-bottom: 1rem; }
/* Nhóm B (việc làm): trang "Ứng tuyển thành công" (front/jobs/applied) — danang43 không có trang này */
.jp-applied-hero { border-radius: 4px; }
.jp-applied-hero .jp-applied-icon { width: 56px; height: 56px; border-radius: 50%; background: #e8f7ee; color: #1e9e55; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 8px; }
.list-jobs-search .box-job-apply .btn-apply-job .btn { white-space: nowrap; }
.card-job-new.jp-card-nolimit .card-body { max-height: none; }

/* Đầu trang máy tính: nút Đăng nhập / Đăng ký / Nhà tuyển dụng nằm trong luồng (không chồng lên menu khi màn hình hẹp hoặc menu dài) */
@media (min-width: 992px) {
    .header .navbar-header .header-menu-right { min-width: 0; }
    .header .navbar-header .navbar-right { flex: 1 1 auto; min-width: 0; width: auto; }
    .header .navbar-header .header-action { position: static; flex: 0 0 auto; margin-left: auto; }
    .header .navbar-header .header-menu-right .main-menu > li > a { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    .header .navbar-header .logo { margin-right: 1.25rem; }
    .header .navbar-header .header-menu-right .main-menu > li > a { padding-left: .6rem; padding-right: .6rem; font-size: .95rem; }
    .header .navbar-header .header-action a { padding: 1rem .6rem; }
    .header .navbar-header .header-action .for-employer { padding-left: 1rem; padding-right: 2.25rem; }
    .header .navbar-header .header-action .for-employer small { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header .navbar-header .logo { margin-right: .75rem; }
    .header .navbar-header .logo img { height: 40px; max-width: 170px; object-fit: contain; }
    .header .navbar-header .header-menu-right .main-menu > li > a { padding-left: .45rem; padding-right: .45rem; font-size: .875rem; }
    .header .navbar-header .header-action a { padding: .5rem .45rem; font-size: .875rem; }
    .header .navbar-header .header-action .for-employer { padding-left: .75rem; padding-right: 1.9rem; margin-left: .25rem; }
    .header .navbar-header .header-action .for-employer i { right: .6rem; }
}

/* Trang công ty: nút "Theo dõi" nằm trong <form> → form chiếm chỗ của nút (giao diện gốc tính độ rộng cho .btn con trực tiếp) */
.box-company-heading .company-content .company-action form { width: calc(50% - 0.875rem); margin: 0 0 0.75rem 0.875rem; display: block; }
.box-company-heading .company-content .company-action form .btn { width: 100%; margin: 0; white-space: nowrap; }
@media screen and (max-width: 767px) { .box-company-heading .company-content .company-action form { margin-bottom: 0; } }

/* Trang công ty: tab "Việc làm đang tuyển / đã dừng" dạng nút bo tròn, có số lượng */
.jp-co-tabs.nav-tabs { border: 0; gap: 10px; padding: 0 24px 16px; margin: 0; border-bottom: 1px solid #eef0f4; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.jp-co-tabs.nav-tabs::-webkit-scrollbar { display: none; }
.jp-co-tabs .nav-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e3e6ec !important; border-radius: 999px !important; padding: 8px 16px; margin: 0 !important;
    background: #f6f7f9; color: #4b5563; font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.jp-co-tabs .nav-link:hover { color: #ee7a2e; border-color: #f3c29f !important; background: #fff7f0; }
.jp-co-tabs .nav-link.active { color: #fff !important; background: linear-gradient(90deg, #ee7a2e, #f3a33b) !important; border-color: transparent !important; box-shadow: 0 4px 12px rgba(238, 122, 46, .28); }
.jp-co-tabs .nav-link::after, .jp-co-tabs .nav-link::before { display: none !important; }
.jp-co-tabs .nav-link em { font-style: normal; font-size: .8rem; font-weight: 700; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: #e9ecf1; color: #4b5563; text-align: center; }
.jp-co-tabs .nav-link.active em { background: rgba(255, 255, 255, .25); color: #fff; }
.jp-co-tabs .jp-dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; flex: none; }
.jp-co-tabs .jp-dot.is-open { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.jp-co-tabs .nav-link.active .jp-dot { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
#nav-tabContent > .tab-pane > .list-jobs-search { padding-top: 4px; }
#dadung .list-jobs-search .box-job-small { opacity: .75; filter: grayscale(.35); transition: opacity .15s, filter .15s; }
#dadung .list-jobs-search .box-job-small:hover { opacity: 1; filter: none; }
#nav-tabContent .list-jobs-search .box-job-small { transition: background .15s; }
#nav-tabContent .list-jobs-search .box-job-small:hover { background: #fffaf5; }
@media (max-width: 575px) { .jp-co-tabs.nav-tabs { padding: 0 16px 12px; gap: 8px; overflow: visible; } .jp-co-tabs .nav-link { flex: 1 1 0; min-width: 0; justify-content: center; gap: 6px; padding: 8px 10px; font-size: .85rem; } .jp-co-tabs .nav-link em { min-width: 20px; padding: 1px 6px; } .jp-co-tabs .jp-dot { display: none; } }
