:root {
    --fpt-green: #054826;
    --fpt-light-green: #f1f8f4;
    --fpt-text: #1a3353;
    --fpt-gray: #64748b;
}

.fpt-sidebar {
    height: 100vh;
    position: fixed !important;
    left: 0; top: 0; bottom: 0;
    z-index: 1000;
    border-right: 1px solid #edf2f7;
    background-color: #ffffff !important;
}

.sidebar-flex-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar-top-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-logo-container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-shrink: 0;
}

.sidebar-logo { max-height: 55px; object-fit: contain; }

/* Scrollable menu area */
.sidebar-menu-scroll {
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-menu-scroll::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

/* MENU STYLES - ĐẬM VÀ RÕ NÉT */
.fpt-custom-menu { border-right: none !important; }

.fpt-custom-menu .ant-menu-item,
.fpt-custom-menu .ant-menu-submenu-title {
    margin: 6px 16px !important;
    height: 50px !important;
    line-height: 50px !important;
    font-weight: 800 !important;
    color: var(--fpt-gray) !important;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 8px !important;
    width: calc(100% - 32px) !important;
}

.fpt-custom-menu .ant-menu-item:hover {
    color: var(--fpt-green) !important;
    background-color: var(--fpt-light-green) !important;
}

.fpt-custom-menu .ant-menu-item-selected {
    background-color: var(--fpt-light-green) !important;
    color: var(--fpt-green) !important;
}

.fpt-custom-menu .ant-menu-item-selected .anticon {
    color: var(--fpt-green) !important;
}

/* FOOTER SECTION - GHIM SÁT ĐÁY, KHÔNG HỞ */
.sidebar-footer-section {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.user-profile-card-modern {
    background: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.fpt-avatar { background-color: var(--fpt-green) !important; }

.user-name-label {
    font-size: 15px;
    display: block;
    color: var(--fpt-green);
    margin-bottom: 2px;
}

.user-sub-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-text { font-size: 11px; color: var(--fpt-gray); }
.sub-text-role { 
    font-size: 10px; 
    color: var(--fpt-green); 
    font-weight: 800; 
    text-transform: uppercase;
}

.fpt-logout-btn {
    height: 44px;
    font-weight: 800;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}

:root {
    --fpt-green: #054826;
    --fpt-green-hover: #04391e;
    --border-color: #f1f5f9;
    --fpt-light-green: #e6eee9;
    --text-color: #334155;
    --fpt-green-light: #e6f7ed;
}

.pm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pm-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.btn-create {
    background-color: var(--fpt-green) !important;
    border-color: var(--fpt-green) !important;
    height: 40px;
    font-weight: 600;
    border-radius: 6px;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(5, 72, 38, 0.1);
}

.btn-create:hover {
    background-color: #04391e !important;
    /* Xanh Ä‘áº­m hÆ¡n khi hover */
}

/* --- Filter Bar --- */
.pm-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.search-input {
    width: 400px;
    height: 40px;
    border-radius: 8px;
    border-color: #e2e8f0;
}

.search-icon {
    color: #94a3b8;
}

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    padding: 6px 16px;
    border-radius: 20px;
    /* Pill shape */
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Segoe UI", Arial, Tahoma, sans-serif;
}

.filter-tab-btn:hover {
    background-color: #f8fafc;
    color: var(--fpt-green);
}

.filter-tab-btn.active {
    background-color: var(--fpt-green);
    color: #ffffff;
    border-color: var(--fpt-green);
}







/*==================================Class khÃ¡c==================================*/
/* BREADCRUMB (dÃ¹ng chung cho list/detail) */
.custom-breadcrumb {
    margin-bottom: 16px;
    font-size: 14px;
    font-family: "Segoe UI", Arial, Tahoma, sans-serif;
}

.custom-breadcrumb .ant-breadcrumb-link {
    color: #64748b;
}

.custom-breadcrumb .ant-breadcrumb-link:hover {
    color: var(--fpt-green);
}

/* CONTAINER Tá»”NG */
.list-container {
    padding: 24px 32px;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, Tahoma, sans-serif !important;
}

.dashboard-page-wrap {
    overflow: visible;
}

/* PHáº¦N TIÃŠU Äá»€ VÃ€ NÃšT Táº O Má»šI */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.list-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* THANH Bá»˜ Lá»ŒC (SEARCH + TABS) */
.list-filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.list-filter-bar .list-search-input {
    width: 350px !important;
    flex: none !important;
    height: 40px;
    border-radius: 6px;
}

.search-icon {
    color: #94a3b8;
}

.list-filter-bar .list-select-filter {
    width: 200px !important;
    flex: none !important;
    height: 40px;
}

.list-filter-bar .ant-select-selector {

    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 6px !important;
}

.list-filter-bar .btn-search-action {
    background-color: var(--fpt-green);
    border-color: var(--fpt-green);
    height: 40px;
    padding: 0 24px;
    font-weight: 700;
    border-radius: 6px;
    flex: none;
}

.list-tabs-wrapper {
    display: flex;
    gap: 8px;
}

.list-tab-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Segoe UI", Arial, Tahoma, sans-serif;
}

.list-tab-btn:hover {
    background-color: #f8fafc;
    color: var(--fpt-green);
}

.list-tab-btn.active {
    background-color: var(--fpt-green);
    color: #ffffff;
    border-color: var(--fpt-green);
}

/* WRAPPER BAO QUANH Báº¢NG */
.standard-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-top: 16px;
}

/* THIáº¾T Láº¬P HEADER Báº¢NG */
.standard-table .ant-table-thead>tr>th {
    background: #ffffff;
    color: #3e59a0;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px;
    letter-spacing: 0.5px;
}

.standard-table .ant-table-thead>tr>th:hover {
    background: #f8fafc !important;
}

/* THIáº¾T Láº¬P CELL (DÃ’NG) Báº¢NG */
.standard-table .ant-table-tbody>tr>td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
    font-family: "Segoe UI", Arial, Tahoma, sans-serif;
}

.cell-info-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cell-main-text {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.cell-main-text:hover {
    color: var(--fpt-green);
    border-bottom-color: var(--fpt-green);
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
}

.cell-sub-text {
    color: #64748b;
    font-size: 12px;
}

/* PHÃ‚N TRANG */
.standard-table-wrapper .ant-table-pagination.ant-pagination {
    margin: 16px !important;
}

.standard-total-label {
    color: #6e82a5;
    font-size: 11px;
    font-weight: 700;
}

.btn-action-circle {
    color: #94a3b8;
    border-color: #e2e8f0;
}

.btn-action-circle:hover {
    color: #054826 !important;
    border-color: #054826 !important;
    background: #f1f5f9;
}

