﻿@charset "UTF-8";
/******* RESPONSIVE ********/
/****Màn hình máy tính thông thường****/
/****Màn hình desktop loại bé****/
/**** Màn hình ipad hiển thị theo chiều ngang (Landscape) ****/
/****Màn hình ipad loại bé hiển thị theo chiều ngang (Landscape)****/
/****Màn hình ipad hiển thị theo chiều dọc (Portrait)****/
/****Màn hình ipad loại bé hiển thị theo chiều dọc (Portrait)****/
/****Màn hình điện thoại hiển thị theo chiều ngang (Landscape)****/
/****Màn hình điện thoại Iphone Plus****/
/****Màn hình điện thoại Iphone****/
/****Màn hình điện thoại loại bé****/
@import url("../../fonts/roboto/font-roboto.css");
* {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

body {
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

p {
  margin: 0 auto;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  max-width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@font-face {
  font-family: "Manrope";
  src: url("../../fonts/Manrope/Manrope-VariableFont_wght.ttf") format("truetype");
}
ul, li {
  list-style: none;
}

body {
  color: #0a2540;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
}

p {
  margin: 0 auto;
}

a:hover {
  text-decoration: none;
}

:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #e1effe;
  --sidebar-bg: #f8fafc;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --success: #059669;
  --success-bg: #d1fae5;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f1f5f9;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

#luc-luong-tkcn .layout {
  display: flex;
  min-height: calc(100vh - 60px);
}
#luc-luong-tkcn .sidebar {
  width: 260px;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  flex-shrink: 0;
  border-radius: 18px;
}
#luc-luong-tkcn .sidebar .sidebar-section {
  margin-bottom: 8px;
}
#luc-luong-tkcn .sidebar .sidebar-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
  margin-bottom: 2px;
}
#luc-luong-tkcn .sidebar .sidebar-item:hover {
  background: #f1f5f9;
  color: var(--text);
}
#luc-luong-tkcn .sidebar .sidebar-item.active {
  background: var(--primary);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(26, 86, 219, 0.25);
}
#luc-luong-tkcn .main {
  flex: 1;
  padding: 24px 28px;
  overflow-x: auto;
}
#luc-luong-tkcn .main .breadcrumb {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
#luc-luong-tkcn .main .breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
#luc-luong-tkcn .main .breadcrumb a:hover {
  text-decoration: unset;
}
#luc-luong-tkcn .main .info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
  display: none;
}
#luc-luong-tkcn .main .info-card .table-tkcn {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section {
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filters {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filters .dropdown-menu.show {
  max-height: 280px;
  overflow-y: auto;
  padding: 12px;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filters .dropdown-menu.show li {
  cursor: pointer;
  font-size: 14px;
  padding: 8px;
  transition: 0.3s all ease;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filters .dropdown-menu.show li:hover {
  color: #1e3a8a;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filters .UI-DROP {
  min-width: 130px;
  justify-content: center;
  display: flex;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filters .UI-DDL {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 90%;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filter-group .search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  padding-right: 8px;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filter-group label {
  font-size: 14px;
  color: #1e3a8a;
  font-weight: 500;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filter-group select:focus {
  border-color: #3b82f6;
}
#luc-luong-tkcn .main .info-card .table-tkcn .plan-section .filter-group.search-input {
  flex: 1;
  max-width: 260px;
}
#luc-luong-tkcn .main .info-card table {
  width: 100%;
  border-collapse: collapse;
}
#luc-luong-tkcn .main .info-card thead {
  position: relative;
  z-index: 2;
}
#luc-luong-tkcn .main .info-card thead th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #1e3a8a;
  border-bottom: 1px solid #e5e9f0;
  white-space: nowrap;
}
#luc-luong-tkcn .main .info-card thead th:last-child {
  text-align: center;
}
#luc-luong-tkcn .main .info-card tbody tr {
  border-bottom: 1px solid #f0f2f5;
  cursor: pointer;
  transition: background 0.12s;
}
#luc-luong-tkcn .main .info-card tbody tr:hover {
  background: #f8fafc;
}
#luc-luong-tkcn .main .info-card tbody tr.selected {
  background: #eff6ff;
}
#luc-luong-tkcn .main .info-card tbody tr.selected td:nth-child(2) {
  font-weight: 700;
}
#luc-luong-tkcn .main .info-card tbody td {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 400;
  vertical-align: middle;
  color: rgb(33, 50, 56);
}
#luc-luong-tkcn .main .info-card tbody td:last-child {
  text-align: center;
}
#luc-luong-tkcn .main .info-card #contextRender {
  padding: 16px;
  min-width: 0;
}
#luc-luong-tkcn .main .info-card .status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
#luc-luong-tkcn .main .info-card .status.dang-hoat-dong {
  background: #dcfce7;
  color: #16a34a;
}
#luc-luong-tkcn .main .info-card .status.tam-dung-hoat-dong {
  background: #fef3c7;
  color: #d97706;
}
#luc-luong-tkcn .main .info-card .status.ngung-hoat-dong {
  background: #fee2e2;
  color: #dc2626;
}
#luc-luong-tkcn .main .info-card .pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid #e5e9f0;
  font-size: 12px;
  color: #64748b;
  padding-top: 5px;
  gap: 5px;
}
#luc-luong-tkcn .main .info-card .pagination .left {
  display: flex;
  align-items: center;
  gap: 8px;
}
#luc-luong-tkcn .main .info-card .pagination select {
  border: 1px solid #d0d7e2;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  outline: none;
}
#luc-luong-tkcn .main .info-card .pages {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  justify-content: center;
}
#luc-luong-tkcn .main .info-card .pages .pagination1, #luc-luong-tkcn .main .info-card .pages .pnext, #luc-luong-tkcn .main .info-card .pages .disabled {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: #475569;
}
#luc-luong-tkcn .main .info-card .pages .pagination1:hover, #luc-luong-tkcn .main .info-card .pages .pnext:hover, #luc-luong-tkcn .main .info-card .pages .disabled:hover {
  background: #f1f5f9;
}
#luc-luong-tkcn .main .info-card .pages .pagination1.active, #luc-luong-tkcn .main .info-card .pages .pnext.active, #luc-luong-tkcn .main .info-card .pages .disabled.active {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}
#luc-luong-tkcn .main .info-card.active {
  display: block;
}
#luc-luong-tkcn .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}
#luc-luong-tkcn .page-title-block h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
#luc-luong-tkcn .page-title-block .subtitle {
  font-size: 15px;
  color: var(--text-muted);
}
#luc-luong-tkcn .page-title-block .subtitle strong {
  color: var(--text);
  font-weight: 600;
}
#luc-luong-tkcn .btn-map, #luc-luong-tkcn .btn-edit, #luc-luong-tkcn .btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
#luc-luong-tkcn .btn-map:hover, #luc-luong-tkcn .btn-edit:hover, #luc-luong-tkcn .btn-save:hover {
  background: var(--primary-light);
  border-color: #bfdbfe;
}
#luc-luong-tkcn .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #fff;
}
#luc-luong-tkcn .info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border);
}
#luc-luong-tkcn .info-row:nth-child(odd) {
  background: #fafbfc;
}
#luc-luong-tkcn .info-row:last-child, #luc-luong-tkcn .info-row:nth-last-child(2) {
  border-bottom: none;
}
#luc-luong-tkcn .info-row input {
  border: none;
  padding-left: 15px;
}
#luc-luong-tkcn .info-label {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
#luc-luong-tkcn .info-value {
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
}
#luc-luong-tkcn .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
#luc-luong-tkcn .status-badge.phuongtientkcn-sansang {
  background: var(--success-bg);
  color: var(--success);
}
#luc-luong-tkcn .status-badge.phuongtientkcn-sansang::before {
  background: var(--success);
}
#luc-luong-tkcn .status-badge.phuongtientkcn-duphong {
  background: #fef3c7;
  color: #d97706;
}
#luc-luong-tkcn .status-badge.phuongtientkcn-duphong::before {
  background: #d97706;
}
#luc-luong-tkcn .status-badge.phuongtientkcn-baoduongdinhky {
  background: #fef3c7;
  color: #d97706;
}
#luc-luong-tkcn .status-badge.phuongtientkcn-baoduongdinhky::before {
  background: #d97706;
}
#luc-luong-tkcn .status-badge.ll-san-sang {
  background: var(--success-bg);
  color: var(--success);
}
#luc-luong-tkcn .status-badge.ll-san-sang::before {
  background: var(--success);
}
#luc-luong-tkcn .status-badge.ll-chua-san-sang {
  background: #fef3c7;
  color: #d97706;
}
#luc-luong-tkcn .status-badge.ll-chua-san-sang::before {
  background: #d97706;
}
#luc-luong-tkcn .status-badge.dang-hoat-dong {
  background: var(--success-bg);
  color: var(--success);
}
#luc-luong-tkcn .status-badge.dang-hoat-dong::before {
  background: var(--success);
}
#luc-luong-tkcn .status-badge.tam-dung-hoat-dong {
  background: #fef3c7;
  color: #d97706;
}
#luc-luong-tkcn .status-badge.tam-dung-hoat-dong::before {
  background: #d97706;
}
#luc-luong-tkcn .status-badge.ngung-hoat-dong {
  background: #fee2e2;
  color: #dc2626;
}
#luc-luong-tkcn .status-badge.ngung-hoat-dong::before {
  background: #dc2626;
}
#luc-luong-tkcn .status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
#luc-luong-tkcn .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
#luc-luong-tkcn .section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
#luc-luong-tkcn .list-content {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
}

.filter-group select,
.filter-group .search-wrap {
  height: 36px;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  color: #1a1a2e;
  outline: none;
  min-width: 130px;
}

.tree::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.veh-section::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.tree::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb,
.veh-section::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.action-col {
  width: 120px;
  text-align: center;
}

.action-group {
  display: inline-block;
  position: relative;
}

.action-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.action-btn i {
  font-size: 15px;
}
.action-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.action-menu {
  display: none;
  min-width: 150px;
  padding: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  position: absolute;
  left: -145px;
  top: 0;
}
.action-menu.show {
  display: block;
}
.action-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 15px;
  color: #334155;
  cursor: pointer;
}
.action-menu .dropdown-item i {
  width: 16px;
  text-align: center;
}
.action-menu .dropdown-item:hover {
  background: #f1f5f9;
}
.action-menu .action-edit i {
  color: #2563eb;
}
.action-menu .action-delete i {
  color: #dc2626;
}
.action-menu .action-delete:hover {
  background: #fef2f2;
}

.table-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 1200px;
}

thead {
  background: #f8fafc;
}

th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: #f8fafc;
}

.code-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: "SF Mono", "Fira Code", monospace;
}

.status-ready {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 12.5px;
}
.status-ready.ll-san-sang {
  color: var(--success);
}
.status-ready.ll-san-sang::before {
  background: var(--success);
}
.status-ready.ll-chua-san-sang {
  color: #d97706;
}
.status-ready.ll-chua-san-sang::before {
  background: #d97706;
}
.status-ready::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.link-detail {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.link-detail:hover {
  text-decoration: underline;
}

.text-muted {
  color: var(--text-muted);
}

.capability {
  max-width: 180px;
  line-height: 1.4;
  font-size: 12.5px;
}

#TuKhoa {
  border: none;
}

.detail-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
}

.plan-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #0047fc;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.plan-create-btn i {
  font-size: 12px;
}
.plan-create-btn:hover {
  background: #0039cc;
}

.edit-control {
  display: none;
}

.modal-header {
  justify-content: space-between;
}

.close {
  border: none;
  background-color: aliceblue;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.close span {
  font-size: 19px;
}

.dropdown-menu.show {
  max-height: 280px;
  overflow-y: auto;
  padding: 12px;
}
.dropdown-menu.show li {
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
  transition: 0.3s all ease;
}
.dropdown-menu.show li:hover {
  color: #1e3a8a;
}

.UI-DROP {
  min-width: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.UI-DDL {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 90%;
}

@media (min-width: 992px) {
  .modal-lg, .modal-xl {
    max-width: 1250px;
  }
}
@media (max-width: 1024px) {
  .sidebar {
    width: 220px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-row:nth-last-child(2) {
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
  }
  .header-title {
    display: none;
  }
  .page-header {
    flex-direction: column;
  }
}
