/* HẢI_24/11/2026: Tạo kiểu hiển thị trang chủ web Quản lý đấu thầu theo mẫu WinForms. */
/* ------------------------------- */
:root {
  color: #152039;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #e9edf4;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: #e9edf4;
}

/* HẢI_24/11/2026: Tạo kiểu hiển thị giao diện đăng nhập Quản lý đấu thầu. */
/* ------------------------------- */
.login-screen { display: grid; place-items: center; min-height: 100dvh; padding: 1.5rem; background: linear-gradient(135deg, #003f85, #0c78c8); }
/* HẢI_24/11/2026: Bảo đảm màn hình đăng nhập và trang chính không hiển thị đồng thời. */
/* ------------------------------- */
.login-screen[hidden], .application-shell[hidden] { display: none !important; }
/* HẢI_24/11/2026: Kết thúc bảo đảm màn hình đăng nhập và trang chính không hiển thị đồng thời. */
/* ------------------------------- */
.login-card { width: min(100%, 25rem); padding: 2.5rem; color: #22354b; background: #fff; border-radius: .75rem; box-shadow: 0 1.2rem 3rem rgb(0 31 78 / 30%); }
/* HẢI_24/11/2026: Dùng logo HT Software tại màn hình đăng nhập. */
/* ------------------------------- */
.login-mark { display: grid; place-items: center; width: 7.5rem; height: 7.5rem; margin: 0 auto 1rem; overflow: hidden; background: #fff; border-radius: .4rem; }.login-mark img { width: 100%; height: 100%; object-fit: contain; }
/* HẢI_24/11/2026: Kết thúc dùng logo HT Software tại màn hình đăng nhập. */
/* ------------------------------- */
.login-eyebrow { margin: 0; color: #0763b4; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-align: center; }.login-card h1 { margin: .35rem 0 1.8rem; color: #133f6d; font-size: 1.45rem; text-align: center; }.login-card label { display: grid; gap: .4rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 600; }.login-card input { min-height: 2.7rem; padding: .5rem .7rem; color: #173d66; font: inherit; font-weight: 400; border: 1px solid #b9cadb; border-radius: .3rem; }.login-card input:focus { border-color: #1876c9; outline: .2rem solid rgb(24 118 201 / 15%); }.login-card button { width: 100%; min-height: 2.8rem; color: #fff; font: inherit; font-weight: 700; background: #0869ba; border: 0; border-radius: .3rem; cursor: pointer; }.login-card button:hover, .login-card button:focus-visible { background: #034f94; outline: 0; }.login-card button:disabled { cursor: wait; opacity: .65; }.login-message { min-height: 1.25rem; margin: -.35rem 0 .8rem; color: #b01111; font-size: .85rem; text-align: center; }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị giao diện đăng nhập Quản lý đấu thầu. */
/* ------------------------------- */

.application-shell {
  /* HẢI_24/11/2026: Cho ứng dụng sử dụng toàn bộ chiều rộng trình duyệt, loại bỏ khoảng trống hai bên. */
  /* ------------------------------- */
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  /* HẢI_24/11/2026: Kết thúc chỉnh chiều rộng giao diện ứng dụng. */
  /* ------------------------------- */
  background: #fff;
}

/* HẢI_25/11/2026: Dùng nền tiêu đề sáng để logo PNG nền trong suốt nổi bật rõ hơn. */
/* ------------------------------- */
.application-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 5.25rem;
  padding: .8rem clamp(1rem, 3vw, 2.5rem);
  color: #123f6d;
  background: linear-gradient(110deg, #eef8fd, #dceff9 65%, #eaf7f0);
  border-bottom: 1px solid #b7d4df;
}
/* HẢI_25/11/2026: Kết thúc dùng nền tiêu đề sáng để logo PNG nền trong suốt nổi bật rõ hơn. */
/* ------------------------------- */

/* HẢI_24/11/2026: Hiển thị logo HT Software thay cho biểu tượng dấu cộng trên giao diện. */
/* ------------------------------- */
/* HẢI_25/11/2026: Bỏ nền trắng khung logo để hiển thị logo PNG trong suốt. */
/* ------------------------------- */
.brand-mark,
.large-mark { display: grid; place-items: center; overflow: hidden; background: transparent; }
/* HẢI_25/11/2026: Kết thúc bỏ nền trắng khung logo để hiển thị logo PNG trong suốt. */
/* ------------------------------- */
/* HẢI_24/11/2026: Phóng to nhẹ logo HT Software trên thanh tiêu đề. */
/* ------------------------------- */
.brand-mark { width: 5.2rem; height: 4.1rem; }
/* HẢI_24/11/2026: Kết thúc phóng to nhẹ logo HT Software trên thanh tiêu đề. */
/* ------------------------------- */
.large-mark { width: 13rem; height: 13rem; margin: 0 auto 1.25rem; }
.brand-mark img,
.large-mark img { width: 100%; height: 100%; object-fit: contain; }
/* HẢI_24/11/2026: Kết thúc hiển thị logo HT Software thay cho biểu tượng dấu cộng. */
/* ------------------------------- */

/* HẢI_25/11/2026: Tăng độ nổi bật của tiêu đề ứng dụng và tên đơn vị trên thanh đầu trang. */
/* ------------------------------- */
.eyebrow { margin: 0; color: #08744d; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
h1 { margin: .1rem 0 0; color: #004a8f; font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 700; }
/* HẢI_25/11/2026: Kết thúc tăng độ nổi bật của tiêu đề ứng dụng và tên đơn vị trên thanh đầu trang. */
/* ------------------------------- */
/* HẢI_24/11/2026: Bổ sung khu vực tên tài khoản và nút đăng xuất trên thanh tiêu đề. */
/* ------------------------------- */
.header-account { display: flex; align-items: center; gap: .8rem; margin-left: auto; font-size: .9rem; }
.header-account strong { font-weight: 700; }
/* HẢI_25/11/2026: Điều chỉnh nút đăng xuất tương phản với nền tiêu đề sáng. */
/* ------------------------------- */
.header-account button { min-height: 2.2rem; padding: .35rem .8rem; color: #fff; font: inherit; font-weight: 600; background: #0869ba; border: 1px solid #075898; border-radius: .3rem; cursor: pointer; }
.header-account button:hover, .header-account button:focus-visible { background: #034f94; outline: 0; }
/* HẢI_25/11/2026: Kết thúc điều chỉnh nút đăng xuất tương phản với nền tiêu đề sáng. */
/* ------------------------------- */
/* HẢI_24/11/2026: Kết thúc bổ sung khu vực tên tài khoản và nút đăng xuất trên thanh tiêu đề. */
/* ------------------------------- */

/* HẢI_25/11/2026: Tăng màu và độ tương phản cho các tab chức năng chính. */
/* ------------------------------- */
.main-navigation {
  display: flex;
  gap: .1rem;
  overflow-x: auto;
  padding: 0 clamp(.5rem, 2vw, 2rem);
  background: #f4f9fc;
  border-bottom: 1px solid #bdd5e4;
}

.nav-item {
  flex: 0 0 auto;
  min-height: 3rem;
  padding: 0 1rem;
  color: #124f86;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.is-active { color: #003f85; background: #e5f2fa; border-bottom-color: #68ae28; outline: 0; }
/* HẢI_25/11/2026: Kết thúc tăng màu và độ tương phản cho các tab chức năng chính. */
/* ------------------------------- */

.workspace { display: grid; grid-template-columns: minmax(15rem, 22rem) 1fr; min-height: calc(100vh - 8.25rem); }
.function-menu { padding: 1.5rem; background: #f3f8fd; border-right: 1px solid #c8ddea; }
/* HẢI_25/11/2026: Làm rõ tiêu đề và các chức năng của menu bên trái. */
/* ------------------------------- */
.menu-caption { margin: 0 0 .75rem; padding-left: .65rem; color: #005ca8; font-size: 1.1rem; font-weight: 800; border-left: .28rem solid #69ad2c; }
.function-list { display: grid; gap: .35rem; }
.function-link { width: 100%; padding: .7rem .75rem; color: #164d7b; text-align: left; font: inherit; font-size: .95rem; font-weight: 600; background: #fff; border: 1px solid #cfe0ec; border-radius: .25rem; cursor: pointer; }
.function-link:hover, .function-link:focus-visible { color: #004c91; background: #e9f5fc; border-color: #70ad32; outline: 0; }
/* HẢI_25/11/2026: Kết thúc làm rõ tiêu đề và các chức năng của menu bên trái. */
/* ------------------------------- */

/* HẢI_24/11/2026: Giữ nền khu vực chào mừng phẳng, không dùng họa tiết vòng tròn xanh. */
/* ------------------------------- */
.welcome-panel { display: grid; place-items: center; min-height: 30rem; background: #fffef8; }
/* HẢI_24/11/2026: Kết thúc giữ nền khu vực chào mừng phẳng, không dùng họa tiết vòng tròn xanh. */
/* ------------------------------- */
.welcome-content { z-index: 1; max-width: 36rem; padding: 3rem 1.5rem; text-align: center; }
.welcome-brand { margin: 0; color: #89bc2d; font-size: clamp(1.7rem, 4vw, 3.2rem); font-weight: 300; }
.welcome-title { margin: .2rem 0 1.25rem; color: #4e960d; font-size: clamp(1.3rem, 3vw, 2.4rem); font-weight: 500; }
.welcome-description { margin: 0; color: #5f6c79; font-size: 1rem; line-height: 1.6; }

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Hồ sơ kỹ thuật theo mẫu Thông tin thầu. */
/* ------------------------------- */
.workspace.is-technical-dossier { grid-template-columns: 1fr; }
.technical-dossier { width: min(100%, 72rem); min-height: 39rem; margin: 1.5rem; color: #18395e; background: #fff; border: 1px solid #7194ba; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
.dossier-title-bar { display: flex; align-items: center; gap: .4rem; min-height: 2rem; padding: 0 .7rem; color: #173c66; font-size: .88rem; background: linear-gradient(#d6e5f7, #b5cee9); border-bottom: 1px solid #7194ba; }
.dossier-mark { display: inline-grid; place-items: center; width: 1rem; height: 1rem; color: #fff; font-size: 1rem; font-weight: 700; line-height: 1; background: linear-gradient(90deg, #e74b32 0 50%, #ffc400 50%); }
.dossier-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .4rem .7rem; background: #e7f1fc; border-bottom: 1px solid #a9c0db; }
.dossier-toolbar button, .dossier-toolbar select, .dossier-toolbar input { min-height: 2rem; color: #1e405f; font: inherit; font-size: .86rem; background: #f8fbff; border: 1px solid #a5bed9; border-radius: .2rem; }
.dossier-toolbar button { padding: .25rem .85rem; cursor: pointer; }
.dossier-toolbar button:hover, .dossier-toolbar button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }
.package-selector { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.package-selector select { width: clamp(13rem, 35vw, 38rem); padding: 0 .4rem; }
.icon-action { min-width: 2.1rem; padding: .25rem !important; }
.dossier-toolbar-secondary input[type="search"] { flex: 1 1 15rem; min-width: 10rem; padding: 0 .6rem; text-align: center; }
.dossier-toolbar-secondary input[type="search"]::placeholder { color: #df1111; opacity: 1; }
.all-package { font-size: .82rem; white-space: nowrap; }
.bidder-grid-section { padding: 0 .7rem .7rem; }
.bidder-grid-section h2 { margin: 0 -0.7rem; padding: .3rem .7rem; color: #254f7c; font-size: .85rem; font-weight: 500; background: #cfe0f4; border-bottom: 1px solid #a4bedb; }
.bidder-table-scroll { overflow-x: auto; border: 1px solid #94b0ce; }
.bidder-table { width: 100%; min-width: 61rem; border-collapse: collapse; font-size: .78rem; }
.bidder-table th { padding: .35rem .4rem; color: #163c63; font-weight: 500; text-align: left; white-space: nowrap; background: #e5f0fc; border-right: 1px solid #9ab6d4; border-bottom: 1px solid #9ab6d4; }
.bidder-table td { border-right: 1px solid #e0e9f3; }
.bidder-table .empty-row { height: 27rem; }

@media (max-width: 720px) {
  .technical-dossier { min-height: 34rem; margin: .75rem; }
  .dossier-toolbar-secondary input[type="search"] { order: 2; flex-basis: 100%; }
}
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Hồ sơ kỹ thuật theo mẫu Thông tin thầu. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Quản lý đợt thầu theo mẫu WinForms. */
/* ------------------------------- */
.workspace.is-tender-rounds { grid-template-columns: 1fr; }
.tender-rounds { display: flex; flex-direction: column; width: min(100%, 90rem); min-height: 39rem; margin: 1.25rem; background: #d8e6f5; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
/* HẢI_24/11/2026: Bảo đảm form nghiệp vụ ẩn hoàn toàn khi chưa được chọn. */
/* ------------------------------- */
.technical-dossier[hidden], .tender-rounds[hidden], .medicine-catalogue[hidden], .technical-criteria[hidden], .technical-criteria-detail[hidden], .tender-planning[hidden], .bidder-detail[hidden], .technical-scoring[hidden], .price-scoring[hidden], .report-screen[hidden] { display: none !important; }
/* HẢI_24/11/2026: Kết thúc bảo đảm form nghiệp vụ ẩn hoàn toàn khi chưa được chọn. */
/* ------------------------------- */
.rounds-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }
.rounds-title-bar span { color: #6d91bb; }
.rounds-table-scroll { flex: 1; overflow: auto; margin: 0 .3rem; background: #fff; border: 1px solid #86a7cf; }
.rounds-table { width: 100%; min-width: 72rem; border-collapse: collapse; color: #102e4e; font-size: .75rem; }
.rounds-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }
.rounds-table td { min-height: 1.55rem; padding: .22rem .35rem; vertical-align: top; border: 1px solid #c3d6ec; }
.rounds-table td:first-child { width: 2rem; text-align: center; vertical-align: middle; }
.rounds-table th:nth-child(2) { width: 38%; }.rounds-table th:nth-child(3) { width: 16%; }.rounds-table th:nth-child(4) { width: 16%; }.rounds-table th:nth-child(5), .rounds-table th:nth-child(6) { width: 9%; }.rounds-table th:nth-child(7) { width: 10%; }
.rounds-table td:nth-child(5), .rounds-table td:nth-child(6) { text-align: right; }
.rounds-table .tender-round-status { width: 100%; min-height: 1.65rem; color: #102e4e; font: inherit; font-size: .75rem; background: #fff; border: 1px solid #9ab6d4; }
.rounds-table .tender-round-status:disabled { color: #102e4e; opacity: 1; }
/* HẢI_24/11/2026: Phân biệt trực quan trạng thái mở và đóng của đợt thầu. */
/* ------------------------------- */
.rounds-table .tender-round-status[data-status="Y"] { color: #16803a; font-weight: 700; }
.rounds-table .tender-round-status[data-status="N"] { color: #bf2424; font-weight: 700; }
/* HẢI_24/11/2026: Kết thúc phân biệt trực quan trạng thái mở và đóng của đợt thầu. */
/* ------------------------------- */
/* HẢI_24/11/2026: Đồng bộ kiểu hiển thị ô chọn ngày mở với combobox trạng thái đợt thầu. */
/* ------------------------------- */
.rounds-table .tender-round-opening-date { width: 100%; min-height: 1.65rem; color: #102e4e; font: inherit; font-size: .75rem; background: #fff; border: 1px solid #9ab6d4; }
/* HẢI_24/11/2026: Kết thúc đồng bộ kiểu hiển thị ô chọn ngày mở với combobox trạng thái đợt thầu. */
/* ------------------------------- */
.rounds-table .numeric-cell { text-align: right; }
.rounds-table .selected td { background: #d6e7f8; }
.rounds-table .new-row td { height: 1.45rem; background: #f8fbff; }
.rounds-actions { display: flex; gap: .5rem; padding: .45rem .8rem; border-top: 1px solid #8faed1; }
.rounds-actions button { min-height: 2rem; padding: .25rem .85rem; color: #1e405f; font: inherit; font-size: .84rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }
.rounds-actions button:hover, .rounds-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }

@media (max-width: 720px) { .tender-rounds { min-height: 34rem; margin: .75rem; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Quản lý đợt thầu theo mẫu WinForms. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Quản lý thuốc theo mẫu Danh mục thuốc. */
/* ------------------------------- */
.workspace.is-medicine-catalogue { grid-template-columns: 1fr; }
.medicine-catalogue { display: flex; flex-direction: column; width: min(100%, 76rem); min-height: 34rem; margin: 1.25rem; background: #d8e6f5; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
.medicine-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }
.medicine-title-bar span { color: #6d91bb; }
.medicine-filter-bar { display: flex; align-items: center; gap: .4rem; padding: .35rem .7rem; background: #e7f0fa; border-bottom: 1px solid #9fb9d7; }
.medicine-filter-bar label { display: flex; align-items: center; gap: .45rem; color: #173d66; font-size: .83rem; }
.medicine-filter-bar select { width: clamp(14rem, 30vw, 58rem); min-height: 1.8rem; padding: 0 .35rem; color: #18395e; font: inherit; font-size: .84rem; background: #fff; border: 1px solid #9eb8d7; }
.medicine-filter-bar button, .medicine-actions button { min-height: 1.9rem; padding: .25rem .75rem; color: #1e405f; font: inherit; font-size: .84rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }
.medicine-filter-bar button:hover, .medicine-filter-bar button:focus-visible, .medicine-actions button:hover, .medicine-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }
.medicine-table-scroll { flex: 1; overflow: auto; margin: 0 .3rem; background: #fff; border: 1px solid #86a7cf; }
.medicine-table { width: 100%; min-width: 75rem; border-collapse: collapse; color: #102e4e; font-size: .75rem; }
.medicine-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }
.medicine-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }
.medicine-table td:first-child { width: 2rem; text-align: center; }
.medicine-table th:nth-child(2) { width: 8%; }.medicine-table th:nth-child(3), .medicine-table th:nth-child(4) { width: 18%; }.medicine-table th:nth-child(5) { width: 12%; }.medicine-table th:nth-child(6) { width: 13%; }.medicine-table th:nth-child(7), .medicine-table th:nth-child(8), .medicine-table th:nth-child(9), .medicine-table th:nth-child(10) { width: 8%; }
.medicine-table .new-row td { background: #f8fbff; }
.medicine-actions { display: flex; gap: .5rem; padding: .45rem .8rem; border-top: 1px solid #8faed1; }

@media (max-width: 720px) { .medicine-catalogue { min-height: 30rem; margin: .75rem; }.medicine-filter-bar { flex-wrap: wrap; }.medicine-filter-bar select { width: 14rem; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Quản lý thuốc theo mẫu Danh mục thuốc. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Danh mục tiêu chí chấm điểm theo mẫu WinForms. */
/* ------------------------------- */
.workspace.is-technical-criteria { grid-template-columns: 1fr; }
.technical-criteria { display: flex; flex-direction: column; width: min(100%, 68rem); min-height: 32rem; margin: 1.25rem; background: #d8e6f5; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
.criteria-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }
.criteria-title-bar span { color: #6d91bb; }
.criteria-table-scroll { flex: 1; overflow: auto; margin: 0 .3rem; background: #fff; border: 1px solid #86a7cf; }
.criteria-table { width: 100%; min-width: 48rem; border-collapse: collapse; color: #102e4e; font-size: .78rem; }
.criteria-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }
.criteria-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }
.criteria-table td:first-child { width: 2rem; text-align: center; }
.criteria-table th:nth-child(2) { width: 52%; }.criteria-table th:nth-child(3), .criteria-table th:nth-child(4) { width: 24%; }
.criteria-table .new-row td { background: #f8fbff; }
.criteria-actions { display: flex; gap: .5rem; padding: .45rem .8rem; border-top: 1px solid #8faed1; }
.criteria-actions button { min-height: 1.9rem; padding: .25rem .75rem; color: #1e405f; font: inherit; font-size: .84rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }
.criteria-actions button:hover, .criteria-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }

@media (max-width: 720px) { .technical-criteria { min-height: 28rem; margin: .75rem; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Danh mục tiêu chí chấm điểm theo mẫu WinForms. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Chi tiết tiêu chí kỹ thuật theo mẫu WinForms. */
/* ------------------------------- */
.workspace.is-technical-criteria-detail { grid-template-columns: 1fr; }
.technical-criteria-detail { display: flex; flex-direction: column; width: min(100%, 78rem); min-height: 34rem; margin: 1.25rem; background: #d8e6f5; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
.criteria-detail-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }
.criteria-detail-title-bar span { color: #6d91bb; }
.criteria-detail-filter-bar { display: flex; align-items: center; gap: .4rem; padding: .35rem .7rem; background: #e7f0fa; border-bottom: 1px solid #9fb9d7; }
.criteria-detail-filter-bar label { display: flex; align-items: center; gap: .45rem; color: #173d66; font-size: .83rem; }
.criteria-detail-filter-bar select { width: clamp(18rem, 42vw, 62rem); min-height: 1.8rem; padding: 0 .35rem; color: #18395e; font: inherit; font-size: .84rem; background: #fff; border: 1px solid #9eb8d7; }
.criteria-detail-filter-bar button, .criteria-detail-actions button { min-height: 1.9rem; padding: .25rem .75rem; color: #1e405f; font: inherit; font-size: .84rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }
.criteria-detail-filter-bar button:hover, .criteria-detail-filter-bar button:focus-visible, .criteria-detail-actions button:hover, .criteria-detail-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }
.criteria-detail-table-scroll { flex: 1; overflow: auto; margin: 0 .3rem; background: #fff; border: 1px solid #86a7cf; }
.criteria-detail-table { width: 100%; min-width: 55rem; border-collapse: collapse; color: #102e4e; font-size: .78rem; }
.criteria-detail-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }
.criteria-detail-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }
.criteria-detail-table td:first-child { width: 2rem; text-align: center; }
.criteria-detail-table th:nth-child(2) { width: 52%; }.criteria-detail-table th:nth-child(3), .criteria-detail-table th:nth-child(4), .criteria-detail-table th:nth-child(5) { width: 16%; }
.criteria-detail-table .new-row td { background: #f8fbff; }
.criteria-detail-actions { display: flex; gap: .5rem; padding: .45rem .8rem; border-top: 1px solid #8faed1; }

@media (max-width: 720px) { .technical-criteria-detail { min-height: 30rem; margin: .75rem; }.criteria-detail-filter-bar select { width: 15rem; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Chi tiết tiêu chí kỹ thuật theo mẫu WinForms. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Lập kế hoạch thầu theo mẫu WinForms. */
/* ------------------------------- */
.workspace.is-tender-planning { grid-template-columns: 1fr; }
.tender-planning { width: min(100%, 96rem); margin: 1.25rem; color: #173d66; background: #d8e6f5; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
.planning-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }.planning-title-bar span { color: #6d91bb; }
.planning-workspace { display: grid; grid-template-columns: 17rem minmax(0, 1fr); min-height: 39rem; }.materials-panel { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #7698be; }.materials-panel h2, .plan-detail h2 { margin: 0; padding: .3rem .55rem; color: #254f7c; font-size: .83rem; font-weight: 500; background: #cfe0f4; border-bottom: 1px solid #a4bedb; }
.material-filter { display: grid; gap: .38rem; padding: .55rem; background: #e7f0fa; border-bottom: 1px solid #9fb9d7; }.material-filter label, .detail-fields label { display: grid; grid-template-columns: 4.7rem minmax(0, 1fr); align-items: center; gap: .4rem; font-size: .78rem; }.material-filter select, .material-filter input, .detail-fields input, .detail-fields select { min-width: 0; min-height: 1.75rem; padding: 0 .35rem; color: #18395e; font: inherit; font-size: .8rem; background: #fff; border: 1px solid #9eb8d7; }
.materials-table-scroll, .plan-table-scroll { flex: 1; overflow: auto; background: #fff; border: 1px solid #86a7cf; }.materials-table, .plan-table { width: 100%; min-width: 42rem; border-collapse: collapse; color: #102e4e; font-size: .73rem; }.materials-table th, .plan-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }.materials-table td, .plan-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }.materials-table td:first-child, .plan-table td:first-child { width: 2rem; text-align: center; }.materials-table .new-row td, .plan-table .new-row td { background: #f8fbff; }
.plan-content { display: grid; grid-template-rows: minmax(20rem, 1fr) auto; min-width: 0; }.plan-table { min-width: 82rem; }.plan-table th:nth-child(2) { width: 9%; }.plan-table th:nth-child(3) { width: 10%; }.plan-table th:nth-child(4), .plan-table th:nth-child(5) { width: 13%; }.plan-table th:nth-child(6), .plan-table th:nth-child(7) { width: 10%; }.plan-table th:nth-child(8) { width: 6%; }.plan-table th:nth-child(9), .plan-table th:nth-child(10), .plan-table th:nth-child(11) { width: 9%; }.plan-table th:nth-child(12) { width: 11%; }
.plan-detail { background: #d1e1f3; border-top: 1px solid #7698be; }.plan-detail-content { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(13rem, 1fr) minmax(13rem, .9fr); gap: 1rem; padding: .65rem 1rem; }.detail-fields { display: grid; gap: .35rem; }.price-information { font-size: .8rem; }.price-information p { margin: 0 0 .3rem; }.price-information strong { display: inline-block; min-width: 3.5rem; color: #003f87; text-align: right; }.price-information .average-price strong { color: #e00909; }.price-information a { color: #0e16db; font-size: 1rem; font-weight: 700; text-decoration: none; }
.planning-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; padding: .3rem .75rem .6rem; }.planning-actions button { min-height: 1.9rem; padding: .25rem .7rem; color: #1e405f; font: inherit; font-size: .8rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }.planning-actions button:hover, .planning-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }

@media (max-width: 880px) { .tender-planning { margin: .75rem; }.planning-workspace { grid-template-columns: 1fr; }.materials-panel { min-height: 18rem; border-right: 0; border-bottom: 1px solid #7698be; }.plan-detail-content { grid-template-columns: 1fr; }.planning-actions { justify-content: flex-start; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Lập kế hoạch thầu theo mẫu WinForms. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Chi tiết thông tin thầu của nhà thầu. */
/* ------------------------------- */
.workspace.is-bidder-detail { grid-template-columns: 1fr; }
.bidder-detail { display: flex; flex-direction: column; width: min(100%, 76rem); min-height: 34rem; margin: 1.25rem; background: #d8e6f5; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }
.bidder-detail-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }.bidder-detail-title-bar span { color: #6d91bb; }
.bidder-tabs { display: flex; gap: .1rem; padding: .35rem .4rem 0; background: #dce9f6; border-bottom: 1px solid #86a7cf; }.bidder-tabs button { min-height: 1.9rem; padding: .2rem .75rem; color: #1e405f; font: inherit; font-size: .8rem; background: #cbdcf0; border: 1px solid #86a7cf; border-bottom: 0; border-radius: .2rem .2rem 0 0; cursor: pointer; }.bidder-tabs button.is-active { background: #fff; }
.bidder-detail-table-scroll { flex: 1; overflow: auto; margin: 0 .3rem; background: #fff; border: 1px solid #86a7cf; }.bidder-detail-table { width: 100%; min-width: 70rem; border-collapse: collapse; color: #102e4e; font-size: .75rem; }.bidder-detail-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }.bidder-detail-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }.bidder-detail-table td:first-child { width: 2rem; text-align: center; }.bidder-detail-table th:nth-child(2) { width: 10%; }.bidder-detail-table th:nth-child(3), .bidder-detail-table th:nth-child(4) { width: 15%; }.bidder-detail-table th:nth-child(5), .bidder-detail-table th:nth-child(6), .bidder-detail-table th:nth-child(7), .bidder-detail-table th:nth-child(8) { width: 8%; }.bidder-detail-table th:nth-child(9) { width: 13%; }.bidder-detail-table th:nth-child(10), .bidder-detail-table th:nth-child(11) { width: 8%; }.bidder-detail-table .new-row td { background: #f8fbff; }
.bidder-detail-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .45rem .8rem; border-top: 1px solid #8faed1; }.bidder-detail-actions div { display: flex; flex-wrap: wrap; gap: .5rem; }.bidder-detail-actions button { min-height: 1.9rem; padding: .25rem .75rem; color: #1e405f; font: inherit; font-size: .8rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }.bidder-detail-actions button:hover, .bidder-detail-actions button:focus-visible, .bidder-tabs button:hover, .bidder-tabs button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }

/* HẢI_24/11/2026: Tạo kiểu chuyển đổi và hiển thị tab Tiêu chuẩn chung. */
/* ------------------------------- */
.general-standards { display: none; flex: 1; min-height: 0; }.bidder-detail.is-general-standards .bidder-detail-table-scroll, .bidder-detail.is-general-standards .bidder-detail-actions { display: none; }.bidder-detail.is-general-standards .general-standards { display: flex; flex-direction: column; }
.general-standards-table-scroll { flex: 1; overflow: auto; margin: 0 .3rem; background: #fff; border: 1px solid #86a7cf; }.general-standards-table { width: 100%; min-width: 56rem; border-collapse: collapse; color: #102e4e; font-size: .78rem; }.general-standards-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }.general-standards-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }.general-standards-table td:first-child { width: 2rem; text-align: center; }.general-standards-table th:nth-child(2) { width: 5rem; }.general-standards-table th:nth-child(3) { width: 52%; }.general-standards-table th:nth-child(4), .general-standards-table th:nth-child(5) { width: 18%; }.general-standards-table .new-row td { background: #f8fbff; }
.general-standards-total { padding: .45rem 12rem .45rem 0; color: #1b406a; font-size: .82rem; text-align: right; background: #d8e6f5; border-top: 1px solid #8faed1; }.general-standards-total output { display: inline-block; min-width: 6rem; min-height: 1.6rem; vertical-align: middle; background: #eaf3ff; border: 1px solid #8faed1; }
/* HẢI_24/11/2026: Kết thúc tạo kiểu chuyển đổi và hiển thị tab Tiêu chuẩn chung. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Chấm điểm kỹ thuật theo mẫu WinForms. */
/* ------------------------------- */
.workspace.is-technical-scoring { grid-template-columns: 1fr; }
.technical-scoring { width: 100%; min-height: calc(100dvh - 8.25rem); background: #d8e6f5; border-top: 1px solid #7193b9; }.scoring-workspace { display: grid; grid-template-columns: 15rem minmax(0, 1fr); min-height: calc(100dvh - 8.35rem); }.scoring-bidder-panel { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #7698be; }.scoring-bidder-panel h2 { margin: 0; padding: .35rem .55rem; color: #254f7c; font-size: .83rem; font-weight: 500; background: #cfe0f4; border-bottom: 1px solid #a4bedb; }
.scoring-filter { display: grid; gap: .4rem; padding: .55rem; background: #e7f0fa; border-bottom: 1px solid #9fb9d7; }.scoring-filter label { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); align-items: center; gap: .35rem; font-size: .78rem; }.scoring-filter select, .scoring-filter input { min-width: 0; min-height: 1.75rem; padding: 0 .35rem; color: #18395e; font: inherit; font-size: .8rem; background: #fff; border: 1px solid #9eb8d7; }
.scoring-bidder-scroll, .scoring-offer-scroll, .scoring-criteria-scroll { overflow: auto; background: #fff; border: 1px solid #86a7cf; }.scoring-bidder-scroll { flex: 1; }.scoring-bidder-table, .scoring-offer-table, .scoring-criteria-table { width: 100%; border-collapse: collapse; color: #102e4e; font-size: .73rem; }.scoring-bidder-table { min-width: 22rem; }.scoring-offer-table { min-width: 95rem; }.scoring-criteria-table { min-width: 78rem; }.scoring-bidder-table th, .scoring-offer-table th, .scoring-criteria-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }.scoring-bidder-table td, .scoring-offer-table td, .scoring-criteria-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }.scoring-bidder-table td:first-child, .scoring-offer-table td:first-child, .scoring-criteria-table td:first-child { width: 2rem; text-align: center; }.scoring-bidder-table .new-row td, .scoring-offer-table .new-row td, .scoring-criteria-table .new-row td { background: #f8fbff; }
.scoring-content { display: grid; grid-template-rows: 11rem minmax(22rem, 1fr) auto; min-width: 0; }.scoring-offer-scroll { margin: 0; }.scoring-criteria-scroll { margin-top: .3rem; }.scoring-offer-table th:nth-child(2) { width: 8%; }.scoring-offer-table th:nth-child(3), .scoring-offer-table th:nth-child(4), .scoring-offer-table th:nth-child(5) { width: 11%; }.scoring-offer-table th:nth-child(6), .scoring-offer-table th:nth-child(7) { width: 10%; }.scoring-offer-table th:nth-child(8) { width: 6%; }.scoring-offer-table th:nth-child(9), .scoring-offer-table th:nth-child(10) { width: 10%; }.scoring-offer-table th:nth-child(11) { width: 15%; }.scoring-offer-table th:nth-child(12), .scoring-offer-table th:nth-child(13) { width: 6%; }.scoring-criteria-table th:nth-child(2) { width: 10%; }.scoring-criteria-table th:nth-child(3) { width: 45%; }.scoring-criteria-table th:nth-child(4), .scoring-criteria-table th:nth-child(5), .scoring-criteria-table th:nth-child(6), .scoring-criteria-table th:nth-child(7), .scoring-criteria-table th:nth-child(8) { width: 9%; }
.scoring-actions { display: flex; justify-content: flex-end; gap: .5rem; padding: .45rem .8rem; border-top: 1px solid #8faed1; }.scoring-actions button { min-height: 1.9rem; padding: .25rem .75rem; color: #1e405f; font: inherit; font-size: .8rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }.scoring-actions button:hover, .scoring-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }

@media (max-width: 880px) { .scoring-workspace { grid-template-columns: 1fr; }.scoring-bidder-panel { min-height: 16rem; border-right: 0; border-bottom: 1px solid #7698be; }.scoring-content { grid-template-rows: 11rem minmax(20rem, 1fr) auto; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Chấm điểm kỹ thuật theo mẫu WinForms. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị form Chấm giá theo mẫu WinForms. */
/* ------------------------------- */
.workspace.is-price-scoring { grid-template-columns: 1fr; }
.price-scoring { width: 100%; min-height: calc(100dvh - 8.25rem); background: #d8e6f5; border-top: 1px solid #7193b9; }.price-workspace { display: grid; grid-template-columns: 15rem minmax(0, 1fr); min-height: calc(100dvh - 8.35rem); }.price-materials-panel { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #7698be; }.price-materials-panel h2, .price-content > h2, .price-detail h2 { margin: 0; padding: .35rem .55rem; color: #254f7c; font-size: .83rem; font-weight: 500; background: #cfe0f4; border-bottom: 1px solid #a4bedb; }
.price-filter { display: grid; gap: .4rem; padding: .55rem; background: #e7f0fa; border-bottom: 1px solid #9fb9d7; }.price-filter label { display: grid; grid-template-columns: 4.7rem minmax(0, 1fr); align-items: center; gap: .35rem; font-size: .78rem; }.price-filter select, .price-filter input, .price-detail-fields input, .price-detail-fields select { min-width: 0; min-height: 1.75rem; padding: 0 .35rem; color: #18395e; font: inherit; font-size: .8rem; background: #fff; border: 1px solid #9eb8d7; }
.price-materials-scroll, .price-bidder-scroll { overflow: auto; background: #fff; border: 1px solid #86a7cf; }.price-materials-scroll { flex: 1; }.price-materials-table, .price-bidder-table { width: 100%; border-collapse: collapse; color: #102e4e; font-size: .73rem; }.price-materials-table { min-width: 28rem; }.price-bidder-table { min-width: 118rem; }.price-materials-table th, .price-bidder-table th { padding: .28rem .35rem; font-weight: 500; text-align: left; white-space: nowrap; background: #e7f0fb; border: 1px solid #86a7cf; }.price-materials-table td, .price-bidder-table td { height: 1.55rem; padding: .22rem .35rem; border: 1px solid #c3d6ec; }.price-materials-table td:first-child, .price-bidder-table td:first-child { width: 2rem; text-align: center; }.price-materials-table .new-row td, .price-bidder-table .new-row td { background: #f8fbff; }
.price-content { display: grid; grid-template-rows: auto minmax(22rem, 1fr) auto; min-width: 0; }.price-bidder-scroll { margin: 0; }.price-bidder-table th:nth-child(2) { width: 14%; }.price-bidder-table th:nth-child(3) { width: 10%; }.price-bidder-table th:nth-child(4), .price-bidder-table th:nth-child(5), .price-bidder-table th:nth-child(6), .price-bidder-table th:nth-child(7) { width: 8%; }.price-bidder-table th:nth-child(8), .price-bidder-table th:nth-child(9), .price-bidder-table th:nth-child(10), .price-bidder-table th:nth-child(11), .price-bidder-table th:nth-child(12) { width: 9%; }.price-bidder-table th:nth-child(13) { width: 8%; }.price-bidder-table th:nth-child(14) { width: 12%; }.price-bidder-table th:nth-child(15), .price-bidder-table th:nth-child(16) { width: 8%; }.price-bidder-table th:nth-child(17) { width: 12%; }.price-bidder-table th:nth-child(18), .price-bidder-table th:nth-child(19), .price-bidder-table th:nth-child(20) { width: 10%; }
.price-detail { background: #d1e1f3; border-top: 1px solid #7698be; }.price-detail-content { display: grid; grid-template-columns: minmax(13rem, .8fr) minmax(13rem, .8fr) minmax(18rem, 1fr); gap: 1rem; padding: .65rem 1rem; }.price-detail-fields { display: grid; gap: .35rem; }.price-detail-fields label { display: grid; grid-template-columns: 6.3rem minmax(0, 1fr); align-items: center; gap: .4rem; font-size: .78rem; }.price-actions { display: flex; flex-wrap: wrap; align-content: start; gap: .4rem; }.price-actions button { min-height: 1.9rem; padding: .25rem .7rem; color: #1e405f; font: inherit; font-size: .8rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }.price-actions button:hover, .price-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }

@media (max-width: 880px) { .price-workspace { grid-template-columns: 1fr; }.price-materials-panel { min-height: 16rem; border-right: 0; border-bottom: 1px solid #7698be; }.price-detail-content { grid-template-columns: 1fr; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Chấm giá theo mẫu WinForms. */
/* ------------------------------- */

/* HẢI_24/11/2026: Tạo kiểu hiển thị giao diện chọn mẫu Báo cáo. */
/* ------------------------------- */
.workspace.is-report-screen { grid-template-columns: 1fr; }.report-screen { width: min(100%, 42rem); min-height: 24rem; margin: 1.5rem; align-self: start; color: #173d66; background: #d8ddef; border: 1px solid #7193b9; box-shadow: 0 .25rem .75rem rgb(30 61 96 / 12%); }.report-title-bar { min-height: 1.85rem; padding: .35rem .55rem; color: #1d4775; font-size: .83rem; background: linear-gradient(#dce9f6, #bdcee1); border-bottom: 1px solid #7193b9; }.report-title-bar span { color: #6d91bb; }.report-form { display: grid; gap: .55rem; padding: 2.25rem 2rem; }.report-form label { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); align-items: start; gap: .65rem; font-size: .84rem; }.report-form select { width: 100%; min-height: 1.9rem; padding: .2rem .4rem; color: #18395e; font: inherit; font-size: .84rem; background: #fff; border: 1px solid #9eb8d7; }.report-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.9rem; }.report-actions button { min-height: 2rem; padding: .3rem .85rem; color: #1e405f; font: inherit; font-size: .84rem; background: #edf5fe; border: 1px solid #9eb8d7; border-radius: .2rem; cursor: pointer; }.report-actions button:hover, .report-actions button:focus-visible { background: #d7eafc; border-color: #2771b7; outline: 0; }
@media (max-width: 720px) { .report-screen { margin: .75rem; }.report-form { padding: 1.25rem; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị giao diện chọn mẫu Báo cáo. */
/* ------------------------------- */

@media (max-width: 720px) { .bidder-detail { min-height: 30rem; margin: .75rem; }.bidder-detail-actions { justify-content: flex-start; } }
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị form Chi tiết thông tin thầu của nhà thầu. */
/* ------------------------------- */

@media (max-width: 720px) {
  .header-note { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .function-menu { padding: 1rem; border-right: 0; border-bottom: 1px solid #dce3ec; }
  .function-list { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
  .welcome-panel { min-height: 26rem; }
}
/* HẢI_24/11/2026: Kết thúc tạo kiểu hiển thị trang chủ web Quản lý đấu thầu. */
/* ------------------------------- */
