/* =========================================================================
   V4 preview — style dùng chung cho Trang login (node 14985:14356)
   và Trang chủ (node 14985:14147). Header, card đăng nhập, footer giống hệt
   nhau ở cả 2 frame nên tách ra đây thay vì lặp lại.

   Token lấy từ Figma design context:
     Light/Primary/Contrast   #FFFFFF     Light/Other/Outlined Border  #D9DEE2
     Light/Text/Secondary     #6E7376     Light/Action/Hover           #F0F5F8
     Blue title               #437FEC     ui-main-fsharestorage        #025AFC
     Body 2        Roboto 400 14/21       Button Medium  Roboto 600 14/21
     Button Large  Roboto 600 16/24
   ========================================================================= */
:root {
  --ui-main-fsharestorage: #025afc;
  --outlined-border: #d9dee2;
  --text-primary: #333;
  --text-placeholder: #7b7b7b;
  --text-secondary: #6e7376;
  --action-hover: #f0f5f8;
  --blue-title: #437fec;
  --footer-bg: #333;
  --accent-red: #cd1417;
  --btn-disabled-bg: #e9e9e9;
  --elev-3:
    0 1px 5px rgba(0, 0, 0, 0.05), 0 2px 3px rgba(0, 0, 0, 0.05),
    0 3px 3px -2px rgba(0, 0, 0, 0.05);
  --elev-btn:
    0 1px 5px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
  --shadow-file: 5px 5px 14px rgba(7, 83, 159, 0.26);
  --shadow-xanh: 16px 12px 48px rgba(7, 83, 159, 0.26);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    Roboto,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: #fff;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}

/* ---------- Thanh tab phụ dưới header (node 14992:14304) ----------
   Dùng cho Trang đối tác / Trang liên hệ. Nền #F1F1F1 cao 80px, tab canh giữa ngang, sát đáy (gạch chân tab active nằm trên mép dưới). */
.subnav {
  height: 80px;
  background: #f1f1f1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.subnav__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.subnav__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
}
.subnav__tab span {
  display: block;
  padding: 9px 16px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}
.subnav__tab.is-active span {
  font-weight: 600;
  color: var(--ui-main-fsharestorage);
}
.subnav__tab.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ui-main-fsharestorage);
}

/* Tiêu đề trang nội dung */
.page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--ui-main-fsharestorage);
}

/* Thân trang nội dung tĩnh (Đối tác / Liên hệ).
   HEADER/FOOTER tràn hết chiều ngang (không khoá), nhưng KHỐI NỘI DUNG thì có giới hạn:
   thiết kế đặt tường logo rộng 1008px trong khung 1366 (node 14992:14323, left 201).
   Nên nội dung gói trong 1056px (1008 + 2×24 lề) canh giữa — nếu để tràn hết thì logo
   giãn ra rất thưa, sai thiết kế. */
.pt-body {
  width: 100%;
  max-width: 1056px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.pt-wall {
  margin: 43px auto 0;
  width: 1008px;
  max-width: 100%;
}
.pt-wall img {
  width: 100%;
  height: auto;
}

/* Lưới logo đối tác — 6 cột như thiết kế, mỗi ô 112×46 giữ đúng kích thước bản cũ.
   Nguồn dữ liệu vẫn là DB (Posts::getPartnerList) theo NOTE "Giữ nguyên các logo đối tác". */
.p-grid {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 24px;
  align-items: center;
}
.p-grid__i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  text-decoration: none;
}
.p-grid__i img {
  max-width: 112px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .p-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 16px;
  }
}
@media (max-width: 640px) {
  .p-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1100px) {
  .pt-body {
    padding: 32px 24px 48px;
  }
}

/* ---------- Card đăng nhập 448px ---------- */
.card {
  width: 448px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--outlined-border);
  border-radius: 4px;
  padding: 24px;
  box-shadow: var(--elev-3);
}
.card__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.card__title {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: normal;
}
.socials {
  display: flex;
  align-items: center;
  gap: 24px;
}
.social {
  width: 32px;
  height: 32px;
  position: relative;
  display: block;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.social img {
  position: absolute;
  object-fit: cover;
}
.social--gg img {
  width: 29px;
  height: 30px;
  left: calc(50% - 0.5px);
  top: 50%;
  transform: translate(-50%, -50%);
}
.social--fb img {
  width: 31px;
  height: 31px;
  left: 0;
  top: 0;
}
.social--fpt {
  overflow: hidden;
}
.social--fpt .l1 {
  left: 3.12%;
  right: 1.78%;
  top: 6.03%;
  bottom: 0;
  width: auto;
  height: auto;
}
.social--fpt .l2 {
  left: 3.51%;
  right: 39.72%;
  top: 0;
  bottom: 73.98%;
  width: auto;
  height: auto;
}
.or {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--text-primary);
}
.fields {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.field {
  width: 400px;
  max-width: 100%;
  height: 42px;
  border: 1px solid var(--outlined-border);
  border-radius: 4px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}
.field input {
  flex: 1 0 0;
  min-width: 0;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-primary);
  background: none;
}
.field input::placeholder {
  color: var(--text-placeholder);
}
.field__eye {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.75;
}
.field__eye img {
  width: 24px;
  height: 24px;
}
.row {
  width: 400px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
}
.remember__box {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.remember__box img {
  width: 15px;
  height: 15px;
}
.remember__txt {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.17px;
  color: var(--text-primary);
}
.forgot {
  font-size: 14px;
  color: var(--ui-main-fsharestorage);
  text-decoration: none;
}
.forgot:hover {
  text-decoration: underline;
}

/* =========================================================================
   Khung QUẢN LÝ FILE (node 15001:139123) — thanh trên, menu trái, dropdown avatar
   Token bổ sung: Divider #E8EDF1 · Outlined Hover Background #E3F4FF
                  Text/Primary #3C4043 · Elevation 4 = 0 0 5px rgba(0,0,0,.3)
   ========================================================================= */
/* Nền khung ngoài #F2F3F7 (node 14996:76898). Ở đúng 1366px thì menu trái 238
   + vùng nội dung 1128 = kín màn nên không thấy; chỉ lộ ra khi màn rộng hơn. */
.fm {
  display: flex;
  min-height: 768px;
  background: #f2f3f7;
}

/* Menu trái 238px, nền #F5FAFE */
.fm__side {
  width: 238px;
  flex: 0 0 auto;
  background: #f5fafe;
  padding-top: 8px;
}
.fm__nav {
  display: flex;
  flex-direction: column;
}
.fm__item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  padding: 4px 0 4px 24px;
  border-radius: 0 4px 4px 0;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 21px;
}
.fm__item:hover {
  background: #e3f4ff;
}
.fm__item.is-active {
  background: #e3f4ff;
  font-weight: 700;
  color: var(--ui-main-fsharestorage);
}
.fm__ico {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Kích thước glyph = viewBox gốc, đúng inset thiết kế trong hộp 24×24 */
.ic-cloud24 {
  width: 24px;
  height: 16px;
}
.ic-fav {
  width: 20px;
  height: 18.35px;
}
.ic-recent {
  width: 20px;
  height: 20px;
}
.ic-people {
  width: 22px;
  height: 14px;
}
.ic-history {
  width: 21px;
  height: 18px;
}
.ic-trash {
  width: 14px;
  height: 18px;
}
.ic-notify {
  width: 16px;
  height: 19.5px;
}

/* Vùng nội dung + thanh trên 64px */
.fm__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.fm__top {
  height: 64px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 24px;
  background: #fff;
  box-shadow: 0 1px 0 var(--outlined-border);
  position: relative;
  z-index: 2;
}
.fm__search {
  width: 285px;
  height: 36px;
  border: 1px solid var(--outlined-border);
  border-radius: 4px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}
.fm__search img {
  width: 17.49px;
  height: 17.49px;
  flex: 0 0 auto;
}
.fm__search input {
  flex: 1 0 0;
  min-width: 0;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-primary);
  background: none;
}
.fm__search input::placeholder {
  color: var(--text-secondary);
}
.fm__body {
  flex: 1 1 auto;
  padding: 24px;
}

/* Dropdown avatar (node 15001:139230) — Elevation 4 */
.ava-wrap {
  position: relative;
}
.ava-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  width: 292px;
  background: #fff;
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.ava-menu[hidden] {
  display: none;
}
.ava-menu__i {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0 4px 4px 0;
}
.ava-menu__i:hover {
  background: #e3f4ff;
}
.ava-menu__hr {
  margin: 8px 0;
  border: 0;
  border-top: 1px solid #e8edf1;
}
.ava-menu__b {
  color: var(--ui-main-fsharestorage);
  font-weight: 700;
}
/* Dòng dung lượng + thanh tiến trình */
.ava-menu__cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px 8px;
  font-size: 14px;
  line-height: 21px;
  color: #3c4043;
  white-space: nowrap;
}
.ava-menu__bar {
  padding: 0 24px 8px;
}
.ava-menu__track {
  width: 244px;
  max-width: 100%;
  height: 7px;
  border-radius: 43px;
  background: #e8edf1;
  overflow: hidden;
}
.ava-menu__fill {
  height: 7px;
  border-radius: 43px;
  background: var(--ui-main-fsharestorage);
}

@media (max-width: 640px) {
  .field,
  .row,
  .btn-submit {
    width: 100%;
  }
}

/* =========================================================================
   Typography cho nội dung sẵn có khi chuyển sang layout V4.
   Layout v4.php chỉ nạp file này, KHÔNG nạp PageAsset của bản cũ (tránh xung đột
   CSS header/footer cũ). Nên nội dung cũ cần bộ style tối thiểu ở đây.
   ========================================================================= */
.v4-content {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 21px;
}
.v4-content h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--ui-main-fsharestorage);
}
.v4-content h3 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.v4-content h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.v4-content p {
  margin: 0 0 12px;
}
.v4-content ul,
.v4-content ol {
  margin: 0 0 12px;
  padding-left: 22px;
}
.v4-content li {
  margin: 0 0 6px;
}
.v4-content a {
  color: var(--ui-main-fsharestorage);
  text-decoration: none;
}
.v4-content a:hover {
  text-decoration: underline;
}
.v4-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 16px;
}
.v4-content th,
.v4-content td {
  border: 1px solid var(--outlined-border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.v4-content img {
  max-width: 100%;
  height: auto;
}

/* =========================================================================
   Trang đăng nhập — Figma node 14985:14356.
   Chỉ style lại markup SẴN CÓ (ActiveForm + AuthButtonWidget + captcha),
   không đụng logic. Card 448px, viền #D9DEE2, radius 4, bóng Elevation 3.
   ========================================================================= */
.v4-login {
  padding: 48px 24px 72px;
  display: flex;
  justify-content: center;
}
.v4-login .login_home {
  width: 448px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--outlined-border);
  border-radius: 4px;
  padding: 24px;
  box-shadow: var(--elev-3);
}
.v4-login .box-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  color: var(--text-primary);
  text-align: center;
}
.v4-login label {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-secondary);
}
.v4-login a {
  color: var(--ui-main-fsharestorage);
  text-decoration: none;
}
.v4-login a:hover {
  text-decoration: underline;
}
.v4-login .textcenter,
.v4-login [align="center"] {
  text-align: center;
}

/* --- Trang Quên mật khẩu V4 (node 15315:16158) --- */
/* Mo ta co 2 link mau xanh brand, con lai text den, khong can class rieng vi
   ".v4-login a" da style san mau/hover. Can trai (khong dung .textcenter). */
.v4-forgot-desc {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
}
/* Hang flex: o Ma xac nhan (292px, co lai khi man hep) + anh captcha 69x29, cach nhau 21px,
   can giua theo chieu doc. Template cua widget Captcha boc {input}{image} trong .v4-forgot-captcha
   nen thong bao loi (.help-block) van nam duoi ca hang. */
.v4-login .v4-forgot-captcha-field {
  margin-bottom: 24px;
}
.v4-forgot-captcha {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-bottom: 8px;
}
.v4-forgot-captcha .mdc-textfield--fullwidth {
  flex: 0 1 292px;
  min-width: 0;
}
.mdc-textfield--invalid > .v4-forgot-captcha .mdc-textfield--fullwidth {
  border-color: #d50000;
}
.v4-forgot-captcha + .mdc-textfield-helptext--validation-msg {
  min-height: 0;
}
.v4-forgot-captcha + .mdc-textfield-helptext--validation-msg:empty {
  display: none;
}
.v4-forgot-captcha img {
  display: block;
  flex: 0 0 69px;
  width: 69px;
  height: 29px;
  border-radius: 4px;
  cursor: pointer;
}

/* --- Trang đăng nhập V4: 3 icon social + hàng ghi nhớ/quên mật khẩu (node 14985:14356) --- */
.v4-login .v4-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 24px;
}
.v4-login .v4-social {
  width: 32px;
  height: 32px;
  position: relative;
  display: block;
}
.v4-login .v4-social img {
  position: absolute;
  object-fit: cover;
}
.v4-login .v4-social--gg img {
  width: 29px;
  height: 30px;
  left: calc(50% - 0.5px);
  top: 50%;
  transform: translate(-50%, -50%);
}
.v4-login .v4-social--fb img {
  width: 31px;
  height: 31px;
  left: 0;
  top: 0;
}
.v4-login .v4-social--fpt {
  overflow: hidden;
}
.v4-login .v4-social--fpt .l1 {
  left: 3.12%;
  right: 1.78%;
  top: 6.03%;
  bottom: 0;
  width: auto;
  height: auto;
}
.v4-login .v4-social--fpt .l2 {
  left: 3.51%;
  right: 39.72%;
  top: 0;
  bottom: 73.98%;
  width: auto;
  height: auto;
}
.v4-login .v4-or {
  margin: 0 0 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-primary);
}
/* Ghi nhớ đăng nhập + Quên mật khẩu cùng một hàng */
.v4-login .field-margin {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.v4-login .v4-forgot {
  display: inline-block;
  float: right;
  margin: 0;
}
/* Trang /site/login: hang "Ghi nho dang nhap" / "Quen mat khau?" thut vao 8px moi ben
   (o trang chu hang nay boc trong .v4-row-remember, xem rule .v4-row-remember). */
.site-login.v4-login :not(.v4-row-remember) > .field-loginform-rememberme {
  padding-left: 8px;
}
.site-login.v4-login :not(.v4-row-remember) > .v4-forgot {
  padding-right: 8px;
}
.v4-login .v4-forgot i {
  display: none;
}
.v4-login .v4-forgot a {
  font-size: 14px;
  color: var(--ui-main-fsharestorage);
}
/* Hover "Quen mat khau?" -> #C7E8FF (trang /site/login va form dang nhap o trang chu). !important vi home.css
   dat mau do #cd1417 cho ".site-login .mdc-layout-grid p.lock a:hover" voi specificity cao hon. */
.v4-login .v4-forgot a:hover,
.v4-login--hero .v4-forgot a:hover {
  color: #c7e8ff !important;
}
.v4-login button[type="submit"] {
  width: 100%;
  clear: both;
}
/* Ẩn dòng chữ "Đăng nhập bằng Google/Facebook" của bản cũ. Chỉ scope trong
   .site-login (trang đăng nhập) — không được ăn sang các trang .v4-login khác
   (vd. .site-forgot) vì selector "+ *" bắt luôn phần tử liền sau .box-title. */
.site-login.v4-login .box-title + *:not(style) {
  font-size: 0;
}

/* --- Sửa 3 điểm lệch còn lại của trang đăng nhập so với node 14985:14356 --- */
/* 1. Icon mat (js/visibility-password.js chen .btn-toggle-pass): style trong rule chung o fullwidth (mdc-v4.css) */
/* 2. Nút submit: thiết kế vẽ trạng thái disabled (#E9E9E9 / chữ #7B7B7B),
      chuyển xanh khi nhập đủ 2 ô — xử lý bằng JS bên dưới */
.v4-login
  button[type="submit"].mdc-button--raised:not(.is-ready):not(:disabled) {
  background-color: var(--btn-disabled-bg);
  color: var(--text-placeholder);
  box-shadow: none;
  cursor: not-allowed;
}
/* 3. Khoảng cách gọn lại đúng thiết kế */
.v4-login .v4-socials {
  margin-bottom: 16px;
}
.v4-login .v4-or {
  margin-bottom: 16px;
}

/* --- Hero trang chủ (node 14985:14151/14152/14308/14316) --- */
/* Le phai 97 (khong phai 84): thiet ke dat the dang nhap o x=821..1269 */
.block__one .grid-container {
  max-width: 1366px;
  margin: 0 auto;
  padding: 50px 97px 88px 84px;
}
.block__one .mdc-layout-grid__inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  justify-content: space-between;
}
.v4-hero__left {
  flex: 1 1 auto;
  max-width: 681px;
  padding-top: 10px;
}
/* 681px la be rong khoi chu trong thiet ke - hep hon thi "toàn diện." bi xuong dong sai */
.v4-hero__title {
  margin: 0;
  max-width: 681px;
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  color: var(--text-primary);
}
.v4-hero__desc {
  margin: 24px 0 0;
  max-width: 664px;
  font-size: 20px;
  line-height: 30px;
  color: var(--text-primary);
}
/* thiet ke: nut o y=356, tuc cach doan mo ta 26px (khong phai 56) */
.v4-hero__badge {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  background: var(--footer-bg);
  color: #fff;
  border-radius: 4px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
}
.block__one .login-display {
  flex: 0 0 auto;
}
.v4-login--hero {
  padding: 0;
}
.v4-login--hero .login_home {
  width: 448px;
  max-width: 100%;
}
@media (max-width: 1100px) {
  .block__one .grid-container {
    padding: 40px 24px;
  }
  .block__one .mdc-layout-grid__inner {
    flex-direction: column;
    align-items: center;
  }
  .v4-hero__title {
    font-size: 30px;
    line-height: 38px;
  }
  .v4-hero__desc {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ============ Trang chu V4 - node 14985:14147 ============ */

/* Hero: thiet ke nen trang, khong dung anh nen cua ban V3 */
.block__one {
  background: #fff !important;
  background-image: none !important;
}
.block__one .upload-guest-display {
  display: block !important;
}

.sec-platform .wrap,
.sec-grow .wrap,
.sec-partner .wrap {
  width: 100%;
  max-width: 1198px;
  margin: 0 auto;
  box-sizing: border-box;
}
.sec-title,
.sec-grow__title {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 500;
  line-height: 38px;
  color: var(--text-primary);
  text-align: center;
}

/* --- Mot nen tang cho moi nhu cau luu tru: anh trai, 3 tinh nang phai --- */
.sec-platform {
  padding: 72px 84px;
  box-sizing: border-box;
}
.sec-platform .wrap {
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(0, 380px);
  gap: 64px;
  align-items: center;
  justify-content: center;
}
.sec-platform .sec-title {
  grid-column: 1/-1;
  margin-bottom: 24px;
}
.sec-platform .illus {
  min-width: 0;
}
.sec-platform .illus img {
  width: 100%;
  height: auto;
  display: block;
}
.feat-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.feat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.feat__ico {
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}
.feat__ico img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.feat__h {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--text-primary);
}
.feat__p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* --- FshareStorage dong hanh cung su phat trien: 3 the --- */
.sec-grow {
  background: var(--action-hover);
  padding: 72px 84px;
  box-sizing: border-box;
}
.sec-grow__sub {
  max-width: 900px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
  text-align: center;
}
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.gcard {
  background: #fff;
  border: 1px solid var(--outlined-border);
  border-radius: 8px;
  padding: 32px 24px;
  box-sizing: border-box;
  text-align: center;
}
.gcard__ico {
  display: block;
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
}
.gcard__ico img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.gcard__h {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--text-primary);
}
.gcard__p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* --- Cac doi tac tin tuong: 6 logo mot hang --- */
.sec-partner {
  padding: 72px 84px 88px;
  box-sizing: border-box;
}
.sec-partner .sec-grow__title {
  margin-bottom: 48px;
}
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.partners img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .sec-platform,
  .sec-grow,
  .sec-partner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .sec-platform .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .card-row {
    grid-template-columns: 1fr;
  }
  .partners {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .sec-title,
  .sec-grow__title {
    font-size: 24px;
    line-height: 32px;
  }
}

/* Hero: CSS cu ghim .grid-container 1160px -> con 992px long trong, khong du cho
   681 (cot trai) + 56 (gap) + 448 (the dang nhap). Noi ra 1366 theo thiet ke. */
.block__one .grid-container {
  max-width: 1366px !important;
  width: 100%;
}
.block__one .mdc-layout-grid__inner {
  flex-wrap: nowrap !important;
  gap: 56px;
}
.block__one .login-display {
  flex: 0 0 448px;
  max-width: 448px;
  padding: 0;
}
.v4-login--hero .login_home {
  width: 100% !important;
  max-width: none;
  box-sizing: border-box;
}
/* Ep ca chuoi bao ngoai the dang nhap ve dung 448px cua thiet ke */
.block__one .login-display,
.block__one .login-display > *,
.v4-login--hero,
.v4-login--hero > .login_home {
  width: 100% !important;
  max-width: 448px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
/* Thiet ke (14985:14316): the 448x418, padding 24, bo goc 4 - khong phai 32/8 */
.v4-login--hero > .login_home {
  padding: 24px !important;
  background: #fff;
  border-radius: 4px;
}

/* ===== Sua theo doi chieu anh chup vs Figma node 14985:14147 ===== */

/* 1. Anh nen hero nam o .parallax (home.scss), khong phai .block__one -> rule truoc truot */
/* home.css ghim .parallax cao 596px cho anh nen ban V3 -> thua 41px so voi thiet ke.
   Bo nen va tra chieu cao ve theo noi dung (thiet ke: hero 60..616). */
.block__one .parallax {
  background: #fff !important;
  background-image: none !important;
  min-height: 0;
  height: auto !important;
}
.block__one .parallax::before,
.block__one .parallax::after {
  display: none !important;
}

/* 2. 3 icon tron thay cho 3 nut dai */
.v4-soc-round {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 0 0 8px;
}
.v4-soc-round__i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  transition: box-shadow 0.15s;
}
.v4-soc-round__i:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24);
}
.v4-soc-round__i img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* 3. Nen 2 section bi DAO NGUOC: platform va partner mau #F0F5F8, grow mau trang */
.sec-platform {
  background: var(--action-hover);
}
.sec-grow {
  background: #fff !important;
}
.sec-partner {
  background: var(--action-hover);
}

/* 4. Section 1: anh o TREN (giua), 3 tinh nang 3 cot O DUOI - khong phai 2 cot trai/phai */
.sec-platform .wrap {
  display: block !important;
  max-width: 1198px;
}
.sec-platform .illus {
  margin: 0 auto 56px;
  max-width: 740px;
}
.feat-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  flex-direction: unset;
}
.feat__head {
  align-items: center;
}

/* 5. The "dong hanh" khong co khung vien trong thiet ke */
.gcard {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.sec-grow__title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .feat-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Dong bo trang that voi ban preview dung tu Figma (preview-home-v4.html) =====
   So bang script: lay computed style cua tung selector o ca 2 trang roi diff.
   23 diem lech - chinh trang that ve dung gia tri cua preview. */

/* CSS app dat font goc 14px, preview la 16px -> lech het chu trong 3 section */
.sec-platform,
.sec-grow,
.sec-partner {
  font-size: 16px;
  line-height: normal;
}

/* Tieu de + mo ta section "dong hanh" */
.sec-grow__title {
  font-size: 36px !important;
  line-height: 54px !important;
  max-width: 695px !important;
  margin: 0 auto !important;
}
.sec-grow__sub {
  color: var(--text-primary) !important;
  line-height: 27px !important;
  max-width: 702px !important;
  margin: 32px auto 0 !important;
}

/* Chu trong the: preview dung mau chu chinh, dam 600 */
.feat__p,
.gcard__p {
  color: var(--text-primary) !important;
  line-height: 23px;
}
.feat__h,
.gcard__h {
  font-weight: 600 !important;
  line-height: normal !important;
  margin: 0 !important;
  width: auto;
}

/* Khoang cach giua cac cot: preview 48px (feat/card) va 56px (logo doi tac) */
.feat-row {
  gap: 48px !important;
  grid-template-columns: repeat(3, 1fr) !important;
}
.card-row {
  display: flex !important;
  gap: 48px !important;
  justify-content: center;
}
.gcard {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  flex: 1 1 0;
  text-align: center;
}
.gcard__ico {
  margin: 0 auto;
}
.partners {
  display: flex !important;
  gap: 56px !important;
  justify-content: center;
  align-items: center;
}

/* Padding doc cua tung section theo preview */
.sec-platform {
  margin-top: 56px;
  padding: 42px 0 0 !important;
}
.sec-grow {
  padding: 66px 0 0 !important;
}
.sec-partner {
  padding: 38px 0 40px !important;
}
.sec-platform .wrap,
.sec-grow .wrap,
.sec-partner .wrap {
  padding: 0 90px;
  max-width: 1372px;
}
.feat-row,
.card-row,
.partners {
  padding: 0;
}
.sec-platform .illus {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .sec-platform .wrap,
  .sec-grow .wrap,
  .sec-partner .wrap {
    padding: 0 24px;
  }
  .card-row,
  .partners {
    flex-wrap: wrap;
  }
}

/* Sua theo vong diff thu 2: wrap cua preview la 1198px (khong phai 1372), padding trong
   90px -> long trong 1018 -> moi cot 307px. Logo doi tac de kich thuoc that. */
.sec-platform .wrap,
.sec-grow .wrap,
.sec-partner .wrap {
  max-width: 1198px !important;
}
.partners img {
  max-height: none !important;
}

/* Vong diff 3: trong preview, .wrap KHONG co padding - padding nam o chinh cac hang
   (.feat-row/.card-row/.partners), nen hang rong bang wrap (1198) con long trong 1018. */
.sec-platform .wrap,
.sec-grow .wrap,
.sec-partner .wrap {
  padding: 0 !important;
}
.feat-row {
  padding: 64px 90px 72px !important;
}
.card-row {
  padding: 64px 90px 76px !important;
}
.partners {
  padding: 34px 90px 0 !important;
  flex-wrap: nowrap;
}
.partners img {
  max-height: 56px !important;
  flex: 0 1 auto;
  min-width: 0;
}

/* .sec-title bi mot rule cua app ep height 536px (chi co 1 dong chu, line-height 38).
   Tra ve auto va dong bo co chu voi tieu de section kia (36/54 nhu preview). */
.sec-title {
  height: auto !important;
  min-height: 0 !important;
  font-size: 36px !important;
  line-height: 54px !important;
  margin: 0 auto 0 !important;
  max-width: 695px;
}

/* NGUYEN NHAN .sec-title cao 552px (da tim ra):
   CSS app dat .block__one{float:left} - ca khoi hero la mot float cao 596px. Cac section
   sau no nam trong cung dong chay, nen dong chu cua .sec-title bi DAY XUONG duoi het khoi
   float -> hop cao 552px du chi 1 dong chu.
   Bang chung: clear:left -> 54px, clear:both -> 54px, clear:right -> van 552px.
   Truoc do da tim nham huong (tuong grid keo gian) vi moi cach tao block formatting context
   deu "chua" duoc - nhung do chi la trieu chung chung cua float.
   Sua o cac section chu khong go float cua .block__one, de khong dung vao CSS dung chung. */
.sec-platform,
.sec-grow,
.sec-partner {
  clear: both;
}

/* Hero: "Ghi nho dang nhap" va "Quen mat khau?" dang de len nhau -> xep 1 hang, day 2 dau */
.v4-login--hero .field-loginform-rememberme {
  display: inline-flex !important;
  width: auto;
  margin: 0;
}
.v4-login--hero .v4-forgot {
  float: right;
  margin: 0;
  line-height: 40px;
}
.v4-login--hero .v4-forgot a {
  color: var(--ui-main-fsharestorage);
  text-decoration: none;
}
.v4-login--hero form > .field-loginform-rememberme + *::after,
.v4-login--hero button[type="submit"] {
  clear: both;
}

/* Hero — chinh theo anh doi chieu voi Figma */

/* 1. "Ghi nho dang nhap" de len "Quen mat khau?": hai the la anh em nhung giua chung co
   mot khoi .mdc-textfield-helptext rong lam ngat dong, nen float:right mot minh khong du.
   Cho CA HAI cung float roi don dep khoi rong o giua. */
.v4-login--hero .field-loginform-rememberme {
  float: left;
  margin: 0;
}
.v4-login--hero .v4-forgot {
  float: right;
  margin: 0;
  line-height: 40px;
}
.v4-login--hero .mdc-linear-progress,
.v4-login--hero button[type="submit"] {
  clear: both;
}

/* 2. Tieu de hero ngat dong som hon thiet ke ("...Kiem soat toan / dien" thay vi
   "...Kiem soat toan dien. / Van hanh..."). Cot trai chi 681px trong khi dong 1 can ~740px.
   Noi container hero ra 1440 de cot trai duoc 768px. */
.block__one .grid-container {
  max-width: 1440px !important;
}
.v4-hero__left {
  max-width: 768px !important;
}

/* Hang "Ghi nho dang nhap" / "Quen mat khau?": da boc chung trong .v4-row-remember o markup,
   gio chi can flex 2 dau. Bo cac rule float chap va o tren. */
.v4-row-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0 8px;
}
.v4-row-remember .field-loginform-rememberme {
  float: none !important;
  margin: 0 !important;
  flex: 0 0 auto;
}
.v4-row-remember .v4-forgot {
  float: none !important;
  margin: 0 !important;
  flex: 0 0 auto;
  line-height: normal;
  white-space: nowrap;
}
.v4-row-remember .mdc-textfield-helptext {
  display: none;
}

/* Trong the 448px, form chi rong 271px vi cac o luoi MDC long nhau van giu ranh gioi rieng.
   Ep ca chuoi ben trong the ve het chieu rong (tru padding 32 cua the). */
.v4-login--hero .login_home > *,
.v4-login--hero .mdc-layout-grid__inner,
.v4-login--hero .mdc-layout-grid__cell,
.v4-login--hero form {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* The "dong hanh": icon 56px va khoang cach theo preview (dang 158px, preview 206px) */
.gcard__ico,
.gcard__ico img {
  width: 56px !important;
  height: 56px !important;
}
.gcard {
  padding: 0 8px !important;
}

/* Logo doi tac: preview de anh o co that (hang cao ~176px), dang bi gioi han 56px lam
   hang chi con 86px. Nang tran va cho phep co lai theo be ngang de khong tran. */
.partners img {
  max-height: 104px !important;
  max-width: 100%;
  flex: 0 1 auto;
  min-width: 0;
  object-fit: contain;
}
.partners {
  align-items: center;
}

/* ===== Section 1 & 2 trang chu: chinh xac theo METADATA Figma (get_metadata 14985:14147),
   khong uoc luong tu anh nua =====
   Anh minh hoa: hero-illus.png CHINH LA export @2x cua node 14985:14187 (export @1 la
   754x413, file dang dung 1507x826 - tung pixel gap doi). Anh khong sai; sai o khung:
   - Cot tinh nang Figma KHONG deu: 312 / 350 / 331 (tong 1139). Chia 3x1fr lam cot giua
     thieu cho -> "Tai len va tai xuong nhanh chong" gay xuong 2 dong.
   - Tieu de tinh nang 16px/23 dam 600 (Figma do 152x23), khong phai 20px.
   - Icon tinh nang 40x40 (instance Figma), khong phai 32.
   - Khoang cach doc: tieu de->anh 37, anh->tinh nang 66, day band 55. */
.sec-platform .sec-title {
  margin-bottom: 37px !important;
}
.sec-platform .illus {
  margin: 0 auto !important;
  width: 740px;
  max-width: 100%;
}
.sec-platform .illus img {
  width: 740px;
  max-width: 100%;
  height: auto;
  display: block;
}
.feat-row {
  max-width: 1139px;
  margin: 66px auto 0 !important;
  padding: 0 0 55px !important;
  grid-template-columns: 312px 350px 331px !important;
  justify-content: space-between;
  gap: 24px !important;
}
.feat__ico,
.feat__ico img {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px;
}
.feat__h {
  font-size: 16px !important;
  line-height: 23px !important;
  font-weight: 600 !important;
}
.feat__p {
  font-size: 14px !important;
  line-height: 23px !important;
  margin-top: 0;
}

/* Section 2: icon 80x80 (node 14985:14518/14168/14173), chu the 16px nhu section 1 */
.gcard__ico,
.gcard__ico img {
  width: 80px !important;
  height: 80px !important;
}
.gcard__h {
  font-size: 16px !important;
  line-height: 23px !important;
  font-weight: 600 !important;
}
.gcard__p {
  font-size: 14px !important;
  line-height: 23px !important;
}

@media (max-width: 1200px) {
  .feat-row {
    grid-template-columns: 1fr !important;
    max-width: 640px;
    justify-items: start;
  }
}

/* Anh minh hoa doi sang SVG trong suot (export PNG nao cua Figma cung dinh nen trang cua
   frame cha "Trang chu" 1366x2700 - thay trong chinh file SVG, da go 2 rect nen).
   Canvas SVG 754x413 = khung 740x361 + le do bong phai/duoi. */
.sec-platform .illus,
.sec-platform .illus img {
  width: 754px !important;
}

/* ===== Trang Lien he theo Figma 14992:14346 =====
   Cot noi dung 900px can giua; tieu de 20/30 semibold #025AFC; "Bao mat" 16/24 600;
   "Gop y"/"Lien he truc tiep" 14/21 bold (thiet ke de vay that); than 14/21 #333;
   link xanh khong gach chan; dai tab phu nen #f1f1f1 cao 80. */
.v4-contact {
  max-width: 948px !important;
}
.v4-contact .entry__content {
  color: #333;
  font-size: 14px;
  line-height: 21px;
}
.v4-contact .title {
  color: var(--ui-main-fsharestorage) !important;
  font-size: 20px !important;
  line-height: 30px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  margin: 0 0 22px !important;
}
.v4-contact h4 {
  font-size: 14px;
  line-height: 21px;
  font-weight: 700;
  color: #333;
  margin: 21px 0 0;
}
.v4-contact h4:first-of-type {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.v4-contact p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
}
.v4-contact .entry__content a {
  color: var(--ui-main-fsharestorage);
  text-decoration: none;
}
.subnav {
  background: #f1f1f1;
}

/* ================= Trang Quan ly du lieu (Figma node 15044:32199) =================
   Ap cho moi trang dung layout tree (file manager, yeu thich, lich su...) de dong bo shell.
   Token tu design context: nen sidebar #F5FAFE, muc active #E3F4FF + chu #025AFC dam,
   vien input #D9DEE2, ke bang #E8EDF1, chu 14/21 #333, placeholder #6E7376. */

/* --- Spinner loading (#loading-z) mau xanh chu dao thay do ---
   manager.css nhung anh PNG vong tron do (rgb 205,20,23) bang base64. Ban xanh la chinh anh do
   doi RGB sang #025AFC, giu nguyen kenh alpha (hieu ung mo dan). Kich thuoc/animation giu
   nguyen tu manager.css. Ap cho cac trang quan ly file nap v4-preview.css: quan ly du lieu,
   yeu thich, chia se, ... */
#loading-z {
  background-image: url("../images/loading-v4/spinner-blue.png");
}

/* --- Toolbar noi dung: Filter + MOI + view toggle --- */
.file-manager .header .toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 10px 8px 16px;
}
.file-manager #select_filter {
  -webkit-appearance: none;
  appearance: none;
  height: 36px;
  border: 1px solid #d9dee2;
  border-radius: 4px;
  background: #fff url(../images/login-v4/arrow-down.svg) right 12px center/20px
    no-repeat;
  padding: 0 40px 0 16px;
  font-size: 14px;
  color: #333;
  font-family: Roboto, sans-serif;
}
.file-manager .fm-action-group-uc-toggle {
  min-width: 162px !important;
  width: 162px;
  height: 36px;
  border-radius: 4px;
  background: #025afc !important;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  text-transform: uppercase;
  letter-spacing: normal;
}
.file-manager .fm-action-group-uc-toggle .material-icons {
  font-size: 20px !important;
}
.file-manager .view-option {
  font-size: 24px;
  color: #333;
  cursor: pointer;
  margin-left: 8px;
}
.file-manager .view-option.selected {
  color: #025afc;
}

/* --- Breadcrumb: hang 50px, icon home 24, ke duoi #E8EDF1 --- */
.file-manager .breadcrumbs {
  border-bottom: 1px solid #e8edf1;
}
.file-manager .breadcrumbs-bar {
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 48px;
  font-size: 14px;
  color: #333;
}
.file-manager .breadcrumbs-bar .material-icons {
  font-size: 24px;
  color: #333;
}

/* --- Bang: hang 36px, ke #E8EDF1, chu 14/21 #333 --- */
.file-manager .mdc-detail-row {
  min-height: 36px;
  height: 36px;
  border-bottom: 1px solid #e8edf1;
  padding: 0 32px;
  align-items: center;
}
.file-manager .mdc-detail-header {
  font-weight: 500;
}
.file-manager .mdc-detail-header .mdc-detail-cell {
  font-size: 14px;
  line-height: 21px;
  color: #333;
  font-weight: 500;
}
.file-manager .mdc-detail-cell {
  font-size: 14px;
  line-height: 21px;
  color: #333;
  padding: 6px 16px;
}
/* cot "luot tai" khong co trong thiet ke -> an (giu code) */
.file-manager .mdc-detail-cell.hide-in-dowload,
.file-manager .mdc-detail-header .mdc-detail-cell[ng-click*="downloadcount"] {
  display: none !important;
}
/* checkbox 20px vien tron 2px */
.file-manager .mdc-checkbox {
  width: 20px;
  height: 20px;
  padding: 2px;
}
.file-manager .mdc-checkbox__background {
  width: 20px;
  height: 20px;
  border-width: 2px;
  border-color: #6e7376;
  border-radius: 2px;
  left: 0;
  top: 0;
}
/* icon folder/file SVG 24px */
.file-manager .fi-svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
/* 3 loai tep co trong thiet ke -> icon Figma (ghep tu doc + badge) */
.file-manager .file-icon-flat.flaticon-zip-compressed-files-extension,
.file-manager .file-icon-flat.flaticon-pdf-file-format-symbol,
.file-manager .file-icon-flat.flaticon-psd-file-format-variant {
  font-size: 0 !important;
  width: 24px;
  height: 24px;
  display: inline-block;
  background: center/24px no-repeat;
}
.file-manager .file-icon-flat.flaticon-zip-compressed-files-extension {
  background-image: url(../images/fm-v4/ic-file-zip.svg);
}
.file-manager .file-icon-flat.flaticon-pdf-file-format-symbol {
  background-image: url(../images/fm-v4/ic-file-pdf.svg);
}
.file-manager .file-icon-flat.flaticon-psd-file-format-variant {
  background-image: url(../images/fm-v4/ic-file-psd.svg);
}
.file-manager .file-icon-flat.flaticon-zip-compressed-files-extension::before,
.file-manager .file-icon-flat.flaticon-pdf-file-format-symbol::before,
.file-manager .file-icon-flat.flaticon-psd-file-format-variant::before {
  content: "" !important;
}

/* ===== FM V4 - vong 2 sau anh doi chieu: cac rule truoc THUA tree.scss/main.scss
   (selector manh hon va nap sau). Da sua depends; tang do manh selector + !important. ===== */

/* Bang: bo van xam xen ke - thiet ke nen trang toan bo; giu mau rieng cua hang dang chon
   va hang "un-read" (tin hieu file moi - tinh nang, khong dong vao) */
.file-manager
  .mdc-detail-list
  .mdc-detail-row:not(.mdc-detail-header):not(.mdc-detail-row__selected):not(
    .un-read-highlight
  ) {
  background: #fff !important;
}
.file-manager .mdc-detail-list .mdc-detail-row:not(.mdc-detail-header):hover {
  background: #f0f5f8 !important;
}
.file-manager .mdc-detail-row {
  height: 36px !important;
  min-height: 36px !important;
}

/* Select "Loai tep tin": mui ten bi CSS cu de mat -> ep lai */
.file-manager #select_filter {
  background: #fff url(../images/login-v4/arrow-down.svg) right 12px center/20px
    no-repeat !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Nut MOI dung 162px ke ca khi inline style dat min-width 170 */
.file-manager .fm-action-group-uc-toggle {
  width: 162px !important;
  min-width: 162px !important;
  padding: 0 16px !important;
  box-sizing: border-box;
}

/* ===== FM V4 - vong 3 theo anh doi chieu ===== */

/* Hang tieu de bang: dang xam (rule vong truoc chua .mdc-detail-header ra) -> trang + ke duoi */
.file-manager .mdc-detail-list .mdc-detail-header.mdc-detail-row {
  background: #fff !important;
  border-bottom: 1px solid #e8edf1 !important;
}

/* ===== FM V4 - vong 4: 3 vi tri nguoi dung khoanh ===== */

/* 2. Icon nha thang hang voi cot tick: ca hai cung moc 48px tu mep noi dung
   (hang = 32 le ngoai + 16 le o; breadcrumb = 32 khoi + 16 thanh). */
.file-manager .header .breadcrumbs {
  padding: 0 32px !important;
}
.file-manager .breadcrumbs-bar {
  padding-left: 16px !important;
}
.file-manager .mdc-detail-row {
  padding: 0 32px !important;
}

/* FM V4 - vong 5: cot "Ten" thang hang tick, mui ten sort thang hang icon.
   Luoi cot theo Figma: tick x=48 (32 le hang + 16 le o), icon x=80 (48+24+8).
   -> chu "Ten" dat tai 48 (padding o = 16), mui ten neo tuyet doi tai 48 trong o
   (48 + 32 le hang = 80 toan cuc, trung cot icon). */
.file-manager .mdc-detail-header .mdc-detail-cell:first-child {
  position: relative;
}
.file-manager .mdc-detail-header .mdc-detail-cell:first-child .material-icons {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.file-manager .mdc-detail-header .mdc-detail-cell .material-icons {
  font-size: 18px;
  color: #333;
  vertical-align: middle;
}

/* ===== FM V4 - vong 6: EP LUOI CUNG cot dau =====
   Do tung rule cu gay lech (manager.scss): .bread-bound padding-left 20; o dau cua HANG
   padding 0 (header lai 16) nen "Ten" lech tick; checkbox MDC chiem 45px vung ripple;
   .mdc-list-item__start-detail 18px + margin rieng; .detail-name width 410px.
   Trung hoa het, ep ve luoi Figma: tick x=48, icon x=80, ten x=112 (moc tu mep noi dung). */
.file-manager .header .breadcrumbs {
  padding: 0 !important;
  margin: 0;
}
.file-manager .breadcrumbs-bar {
  display: flex !important;
  align-items: center;
  height: 50px;
  padding: 0 0 0 48px !important;
}
.file-manager .breadcrumbs-bar .bread-bound {
  padding-left: 8px !important;
}
.file-manager .breadcrumbs-bar .material-icons {
  margin: 0 !important;
  font-size: 24px;
}

.file-manager .mdc-detail-row {
  padding: 0 32px !important;
}
.file-manager .mdc-detail-row .mdc-detail-cell:nth-child(1),
.file-manager .mdc-detail-header .mdc-detail-cell:first-child {
  padding: 6px 20px 6px 16px !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.file-manager .mdc-detail-row .mdc-detail-cell:nth-child(1) .mdc-checkbox {
  width: 24px !important;
  height: 24px !important;
  padding: 2px !important;
  margin: 0 !important;
  flex: 0 0 24px;
  box-sizing: border-box;
}
.file-manager
  .mdc-detail-row
  .mdc-detail-cell:nth-child(1)
  .mdc-list-item__start-detail {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important;
}
.file-manager
  .mdc-detail-row
  .mdc-detail-cell:nth-child(1)
  .mdc-list-item__start-detail
  img {
  width: 24px;
  height: 24px;
}
.file-manager .detail-name {
  margin: 0 !important;
  width: auto !important;
  max-width: 340px;
}

/* FM V4 - vong 7: nha van lech phai ~30px so voi "Ten". Thu pham cuoi:
   manager.scss .bread{min-width:50px;text-align:center} -> icon nam GIUA hop 50px
   (+13px), cong 8px .bread-bound cua vong 6. Xoa het -> nha cham dung moc 48. */
.file-manager .breadcrumbs-bar .bread-bound {
  padding-left: 0 !important;
}
.file-manager .breadcrumbs-bar .bread {
  min-width: 0 !important;
  text-align: left !important;
  padding: 0 !important;
}
.file-manager .breadcrumbs-bar .seperator {
  padding: 0 6px !important;
}

/* ===== 2 menu dropdown FM (Figma 15044:33432 / 15044:33540) =====
   Nen trang, bo goc 4, bong 0 0 2.5px rgba(0,0,0,.3), dem doc 8;
   muc cao 32, ngang 16, gap 8, chu 14/21 #3C4043, hover #F0F5F8, icon 20. */

/* Menu MOI (mdc-simple-menu san co) */
.file-manager .mdc-simple-menu {
  border-radius: 4px;
  box-shadow: 0 0 2.5px rgba(0, 0, 0, 0.3) !important;
  padding: 8px 0 !important;
  background: #fff;
}
.file-manager .mdc-simple-menu .mdc-list {
  padding: 0;
}
.file-manager .mdc-simple-menu .mdc-list-item {
  height: 32px !important;
  min-height: 32px;
  padding: 0 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px !important;
  line-height: 21px;
  color: #3c4043 !important;
  white-space: nowrap;
}
.file-manager .mdc-simple-menu .mdc-list-item:hover {
  background: #f0f5f8;
}
.file-manager .mdc-simple-menu .mdc-list-divider {
  display: none;
} /* thiet ke khong co vach */
/* Icon menu 20px (Figma): truoc day la <img> SVG 20x20, nay la <i class="material-icons fm-menu-ico">
   - font-size 20 tuong duong glyph 24px thu nho 0.833 nhu SVG xuat tu Figma; mau ke thua chu cua muc menu. */
.file-manager .fm-menu-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  font-size: 20px;
  line-height: 20px;
}

/* ===== Menu chuot phai #files-menu (web/templates/file-list.html, favorite/file-list.html) + #menu_recent (recent-file/recentFile.html) - Figma 15044:33137 =====
   Card 226, padding 8 tren/duoi, bo goc 4, bong 0 0 5px rgba(0,0,0,.3). Muc cao 32: le trai 24,
   icon 20 + 16 + chu 14/21 #333, hover #F0F5F8 bo goc phai 4. Muc chia 4 cum (.fm-menu-sec), giua
   cac cum la vach 1px #E8EDF1 cach 4 tren/duoi (khong chiem chieu cao); trong cum, cac khoi (.fm-menu-blk) cach nhau 4.
   Vach/khoang cach chi hien giua cac cum/khoi DANG CO muc hien thi (ng-show them .ng-hide vao
   <li>), nen khong bi vach thua khi ca cum bi an. */
:is(#files-menu, #menu_recent) {
  width: 226px !important;
  min-width: 0 !important;
  padding: 8px 0 !important;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) !important;
}
:is(#files-menu, #menu_recent) .mdc-simple-menu__items {
  padding: 0;
}
:is(#files-menu, #menu_recent) .mdc-list-item {
  height: 32px !important;
  min-height: 32px !important;
  padding: 4px 0 4px 24px !important;
  gap: 16px;
  border-radius: 0 4px 4px 0;
  font-size: 14px !important;
  line-height: 21px;
  color: #333 !important;
}
:is(#files-menu, #menu_recent) .mdc-list-item:hover {
  background: #f0f5f8;
}
:is(#files-menu, #menu_recent) .mdc-list-item .material-icons {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  font-size: 20px;
  line-height: 20px;
  color: #333;
}
:is(#files-menu, #menu_recent)
  .fm-menu-sec:has(
    > .mdc-list-item:not(.ng-hide),
    > .fm-menu-blk > .mdc-list-item:not(.ng-hide)
  )
  ~ .fm-menu-sec:has(
    > .mdc-list-item:not(.ng-hide),
    > .fm-menu-blk > .mdc-list-item:not(.ng-hide)
  ) {
  margin-top: 4px;
  padding-top: 4px;
  box-shadow: inset 0 1px 0 #e8edf1; /* vach 1px khong chiem chieu cao: 4 + 0 + 4 nhu Figma */
}
:is(#files-menu, #menu_recent)
  .fm-menu-blk:has(> .mdc-list-item:not(.ng-hide))
  ~ .fm-menu-blk:has(> .mdc-list-item:not(.ng-hide)) {
  margin-top: 4px;
}
/* Thu muc (Figma 15044:32353): 3 cum - (Mo, Tai ve, Doi ten, Di chuyen, Yeu thich) | (Lay lien ket,
   Thiet lap quyen truy cap) | (Xoa). Cac muc trong cum lien nhau: bo vach giua cum 1 (tai ve) va
   cum 2 (doi ten) cua menu file, va bo khoang 4px giua cac khoi. */
/* !important: de len rule chung ".fm-menu-sec:has(...) ~ .fm-menu-sec:has(...)" (do dac hieu cao hon) */
:is(#files-menu, #menu_recent).fm-menu--folder .fm-menu-sec:nth-child(2) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  box-shadow: none !important;
}
:is(#files-menu, #menu_recent).fm-menu--folder
  .fm-menu-blk:has(> .mdc-list-item:not(.ng-hide))
  ~ .fm-menu-blk:has(> .mdc-list-item:not(.ng-hide)) {
  margin-top: 0;
}

/* Bo loc "Loai tep tin" (views/file/manager.php): nut MDC outlined + mdc-simple-menu, Figma 15044:33432.
   Nut theo theme .mdc-button (button-v4.css) nhung chip thiet ke la vien xam #D9DEE2, chu den #333,
   khong in hoa. Muc menu dung chung style .mdc-simple-menu .mdc-list-item cua trang (Figma menu). */
.file-manager .mdc-button.fm-filter-toggle:not(:disabled) {
  min-width: 130px;
  justify-content: space-between;
  padding: 0 12px 0 16px;
  border-color: #d9dee2;
  color: #333;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  /* Figma 15044:33404 - Elevation 3 */
  box-shadow:
    0 1px 5px 0 rgba(0, 0, 0, 0.05),
    0 2px 3px 0 rgba(0, 0, 0, 0.05),
    0 3px 3px -2px rgba(0, 0, 0, 0.05);
}
/* Nut "Tai them" cuoi danh sach (file-list.html va cac ban sao favorite/share...): can giua bang danh sach
   (truoc day inline-flex nam sat trai). Giu margin 20px tren/duoi cua manager.scss. */
file-list .button-load {
  display: flex;
  margin: 20px auto;
}
/* MDC dat vi tri menu theo vi tri tinh trong luong; .toolbar-folder-action la flex nen ghim thang:
   ngay duoi nut, le trai trung le trai hang (nut loc la phan tu dau hang). */
.file-manager #fm_filter_menu {
  top: 44px !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform-origin: top left !important;
}

/* ===== Trang thai Tao moi folder / Doi ten (Figma Frame 1199 & 1201) ===== */

/* Cum hanh dong khi co muc duoc chon: chu + icon XANH #025AFC, khong nen, khong in hoa */
.file-manager .toolbar-file-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.file-manager .toolbar-file-action .mdc-button {
  height: 32px;
  padding: 0 8px;
  margin: 0;
  line-height: 36px;
  background: none;
  box-shadow: none;
  color: #025afc;
  text-transform: none;
  font-weight: 400;
}
.file-manager .toolbar-file-action .mdc-button .material-icons {
  margin: 0;
  color: #025afc;
  display: inline-flex;
  align-items: center;
}

/* Hang dang chon / dang sua ten: nen xanh nhat (de len rule "hang trang" vong 2 -
   rule do da :not(.mdc-detail-row__selected) nen khong choi nhau) */
.file-manager .mdc-detail-list .mdc-detail-row.mdc-detail-row__selected {
  background: #e3f4ff !important;
}

/* Checkbox khi tick: xanh #025AFC (mac dinh MDC theme do) */
.file-manager
  .mdc-checkbox__native-control:checked
  ~ .mdc-checkbox__background {
  background-color: #025afc !important;
  border-color: #025afc !important;
}

/* O nhap ten inline: 14px, vien duoi xanh, khong dung float label cua MDC */
.file-manager .mdc-detail-cell .mdc-textfield {
  height: 24px;
  margin: 0 !important;
  width: 430px;
  max-width: 56%;
}
.file-manager .mdc-detail-cell .mdc-textfield__input {
  font-size: 14px;
  line-height: 21px;
  color: #333;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid #025afc;
  background: transparent;
  width: 100%;
}
.file-manager .mdc-detail-cell .mdc-textfield .mdc-textfield__bottom-line {
  display: none;
}

/* Cum hanh dong: sua theo anh doi chieu - gap deu 24, bo margin/padding rieng cua
   li va mdc-button (nguon lam cac nut gian khong deu), icon dung giua truc chu */
.file-manager .toolbar-file-action {
  gap: 24px !important;
}
.file-manager .toolbar-file-action li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex;
}

/* Cum hanh dong - so do THAT tu Frame 607 (15044:32781): o cao 32, padding ngang 8,
   icon 20 + gap 8 + chu, GIUA CAC NUT 16px (vong truoc doan 24). Icon Di chuyen la
   Material Icons drive_file_move (mau/kich thuoc tu .toolbar-file-action .material-icons). */
.file-manager .toolbar-file-action {
  gap: 16px !important;
}

/* Hover hang (Frame 1200): checkbox vien xanh khi ro chuot; icon menu ngu canh 20px */
.file-manager .mdc-detail-row:hover .mdc-checkbox__background {
  border-color: #025afc !important;
}
/* (icon + gap cua #files-menu da chuyen vao block "Menu chuot phai #files-menu" phia tren) */

/* ===== Popup xac nhan upload (Figma Frame 1190, node 15044:33618) =====
   Style theo anh thiet ke + token he thong; so do tinh chinh sau neu can. */
.file-manager #upload_waiting_dialog .mdc-dialog__surface {
  border-radius: 8px;
  max-width: 935px;
  width: 64vw;
}
.file-manager .up-w-dialog-header {
  background: #eaf3fe;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px 8px 0 0;
}
.file-manager .up-w-dialog-header .upw-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #333;
  flex: 1 1 auto;
}
.file-manager .up-w-dialog-header .upw-title .material-icons {
  color: #025afc;
}
.file-manager .upw-action {
  display: flex;
  gap: 8px;
}
.file-manager .up-file-item {
  border-bottom: 1px solid #e8edf1;
}
.file-manager .u-w-file-icon {
  color: #333;
  font-size: 20px;
}
.file-manager .u-w-file-name {
  font-size: 14px;
  color: #333;
}
.file-manager .u-w-file-size {
  font-size: 14px;
  color: #333;
}
.file-manager .u-w-action-btn .material-icons {
  color: #6e7376;
  font-size: 20px;
}
.file-manager .up-w-footer {
  border-top: 1px solid #e8edf1;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.file-manager .up-w-footer .checkbox-label {
  font-size: 14px;
  color: #333;
}
.file-manager
  .up-w-footer
  .mdc-checkbox__native-control:checked
  ~ .mdc-checkbox__background {
  background-color: #025afc !important;
  border-color: #025afc !important;
}

/* Popup upload - vong 2: CSS cu dung selector co #id nen manh hon block truoc.
   De lai bang cung cap ID + !important. */
#upload_waiting_dialog .up-w-dialog-header {
  background: #eaf3fe !important;
  color: #333 !important;
}
#upload_waiting_dialog .upw-title,
#upload_waiting_dialog .upw-title * {
  color: #333 !important;
}
#upload_waiting_dialog .upw-title .material-icons {
  color: #025afc !important;
}
#upload_waiting_dialog .upw-action .mdc-button--outlined * {
  color: #025afc !important;
}
#upload_waiting_dialog .u-w-file-action-group {
  border-left: 0 !important;
}
#upload_waiting_dialog .u-w-file-size {
  border: 0 !important;
}
/* nut Huy tai len: xanh thay do, ca chu lan icon X */
#upload_waiting_dialog
  .up-w-footer
  button:not(.mdc-checkbox__native-control):not(.mdc-button) {
  color: #025afc !important;
}

/* Nut "+ THEM TAP TIN": CSS cu lam mat chu (chi con dau +) -> ep co chu 14px o cap ID */

/* Nut THEM TAP TIN - vong 3, co bang chung: manager.scss ~2829 dat
   "color: white !important" cho .mdc-button--outlined trong dialog voi chuoi selector
   long dai hon rule truoc. Chu la TEXT NODE chi ke thua mau tu button nen trang-tren-
   trang (icon la the con, bi rule * nham thang nen van xanh). De bang 2 ID. */
#upload_waiting_dialog #u-w-add-more-files {
  color: #025afc !important;
  background: transparent !important; /* nen trong suot de an mau header xanh nhat nhu Figma */
  border: 1px solid #025afc !important;
  font-size: 14px !important;
}
#upload_waiting_dialog #u-w-add-more-files * {
  color: #025afc !important;
}

/* Popup DANG TAI LEN (#n_upload_progress) theo Figma: header xanh nhat, chu toi,
   an "Toc do/Con lai" (thiet ke khong co - chi con thu nho + dong), progress xanh */
#n_upload_progress .up-progress-header {
  background: #eaf3fe !important;
  color: #333 !important;
}
#n_upload_progress .up-progress-header .header-item,
#n_upload_progress .up-progress-header .material-icons {
  color: #333 !important;
}
#n_upload_progress .up-speed,
#n_upload_progress .up-remain-time {
  display: none !important;
}
#n_upload_progress .mdc-linear-progress__bar-inner {
  background-color: #025afc !important;
}
#n_upload_progress .success-icon {
  color: #34a853 !important;
}

/* Popup dang tai - vong 2 theo 3 vong khoanh do:
   1) spinner nho lai (attr radius 18->10 trong markup);
   2) header phai phu HET be ngang + nut thu nho/dong nam phai, mau toi;
   3) icon hoan tat tung file mau XANH LA nhu thiet ke (class that: .u-w-action-btn.success-icon) */
#n_upload_progress .up-progress-header {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  max-width: none !important;
  padding: 10px 16px;
  box-sizing: border-box;
  border-radius: 8px 8px 0 0;
}
#n_upload_progress .up-title {
  flex: 1 1 auto;
}
#n_upload_progress .up-action {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
#n_upload_progress .up-action .material-icons {
  color: #333 !important;
  cursor: pointer;
}
#n_upload_progress .u-w-action-btn.success-icon .material-icons,
#n_upload_progress .success-icon .material-icons {
  color: #34a853 !important;
}

/* Spinner popup dang tai: thiet ke dung icon mui ten xoay (nhu popup xac nhan),
   khong phai vong cung progress-ring. Ring GIU trong DOM (JS van cap nhat %,
   khong dong logic) - chi an; icon rotate_right xanh xoay cham thay the. */
#n_upload_progress .icon-progress {
  display: none !important;
}
#n_upload_progress .up-spin-v4 {
  color: #025afc !important;
  font-size: 24px;
  animation: v4spin 1.6s linear infinite;
}
@keyframes v4spin {
  to {
    transform: rotate(360deg);
  }
}
/* icon xoay bi rule "#n_upload_progress .up-progress-header .material-icons{#333}" (3 lop)
   de len rule 2 lop truoc -> nang dac hieu cho thang */
#n_upload_progress .up-progress-header .material-icons.up-spin-v4 {
  color: #025afc !important;
}

/* ===== Popup upload thanh cong (Frame 1192) =====
   Header xanh nhat + check, danh sach file, va doi mau DO -> XANH cho cum lay lien ket. */
#upload_complete_dialog .up-c-dialog-header {
  background: #eaf3fe !important;
  color: #333 !important;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px 8px 0 0;
}
#upload_complete_dialog .upc-title,
#upload_complete_dialog .upc-title * {
  color: #333 !important;
  font-size: 15px;
  font-weight: 600;
}
#upload_complete_dialog .upc-title .material-icons {
  color: #333 !important;
  font-size: 20px;
}
#upload_complete_dialog .upc-action {
  margin-left: auto;
}
#upload_complete_dialog .upc-action .material-icons {
  color: #333 !important;
}
#upload_complete_dialog .up-file-item,
#upload_complete_dialog .mdc-dialog__body > div {
  border-bottom: 1px solid #e8edf1;
}
/* nut "Lay lien ket / Lay ma nhung" dang do -> xanh */
#upload_complete_dialog .u-c-action-btn {
  color: #025afc !important;
  border-color: #025afc !important;
}
#upload_complete_dialog .u-c-action-btn * {
  color: #025afc !important;
}
/* radio Link only / HTML - Code / BB - code: do -> xanh */
#upload_complete_dialog
  .mdc-radio__native-control:checked
  ~ .mdc-radio__background
  .mdc-radio__inner-circle,
#upload_complete_dialog
  .mdc-radio__native-control:checked
  ~ .mdc-radio__background
  .mdc-radio__outer-circle {
  border-color: #025afc !important;
  background-color: #025afc !important;
}
#upload_complete_dialog .mdc-radio__background .mdc-radio__outer-circle {
  border-color: #6e7376;
}

/* [HIDDEN-upc-notes-getlink] Thiet ke Frame 1192 don gian hoa: popup upload xong CHI
   bao file nao da xong. AN khoi "*Luu y" chinh sach va cum lay lien ket/ma nhung.
   Code giu nguyen - mo lai bang cach xoa khoi CSS nay. */
#upload_complete_dialog--note-content {
  display: none !important;
}
#upload_complete_dialog .mdc-dialog__body > .u-c-action-cnt,
#upload_complete_dialog .mdc-button--outlined,
#upload_complete_dialog .u-c-get-link-cnt,
#upload_complete_dialog [class*="get-link"] {
  display: none !important;
}


/* ===== Trang Du lieu da xoa (Frame 1160) va Lich su (Frame 1208) =====
   Hai trang dung chung bang .mdc-detail-list nen da an style V4 tu commit truoc;
   phan con lai la tieu de trang va nhom theo ngay. */
.file-manager .manager > .title,
.file-manager .name_title .title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #333 !important;
  padding: 16px 32px 12px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ----- Du lieu da xoa (Frame 1160): dung lai theo dung so do thiet ke -----
   Vung noi dung x=238..1366. Hang tieu de 42px tai y=80, bang bat dau y=130,
   moi hang 36px. 4 cot: Ten 388 | Duong dan co gian | Kich thuoc 174 | Thoi gian xoa co gian.
   Khac trang Xem gan day: KHONG co le ngoai 32px, cot Ten thut trai 48px de icon roi
   dung x=286 (thiet ke chua mot o chon 24px an + khoang cach 8px o vi tri do). */
.file-manager .manager.delete {
  background: #fff !important;
  padding: 16px 0 0 !important;
}
.file-manager .manager.delete > .title {
  font-size: 20px !important;
  line-height: 30px !important;
  font-weight: 600 !important;
  color: #333 !important;
  height: 42px;
  box-sizing: border-box;
  padding: 6px 16px !important;
  display: flex;
  align-items: center;
}
.file-manager .delete .mdc-detail-list {
  margin-top: 8px;
}
.file-manager .delete .mdc-detail-row {
  padding: 0 !important;
  height: 36px;
  min-height: 36px;
  border-bottom: 1px solid #e8edf1;
  align-items: center;
}
/* ke duoi hang tieu de nhat hon hang du lieu; rule chung o tren dat !important nen phai theo */
.file-manager .delete .mdc-detail-list .mdc-detail-header.mdc-detail-row {
  border-bottom: 1px solid #ecedf1 !important;
}
/* selector du manh de thang rule goc "file-list .mdc-detail-list fshare-file
   .mdc-detail-row .mdc-detail-cell:nth-child(1){flex:0 0 40%}" trong manager.css;
   phan padding phai co !important vi rule chung dong 832 dat "6px 20px 6px 16px !important" */
.file-manager .delete .mdc-detail-list .mdc-detail-row .mdc-detail-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  padding: 6px 16px !important;
  font-size: 14px;
  line-height: 21px;
  color: #333;
}
.file-manager
  .delete
  .mdc-detail-list
  .mdc-detail-row
  .mdc-detail-cell:nth-child(1) {
  flex: 0 0 388px;
  width: 388px;
  padding: 6px 16px 6px 48px !important;
}
.file-manager
  .delete
  .mdc-detail-list
  .mdc-detail-row
  .mdc-detail-cell:nth-child(3) {
  flex: 0 0 174px;
  width: 174px;
}
/* icon 24px + ten mot dong cat bang dau ... */
.file-manager .delete .mdc-list-item__start-detail {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  margin: 0;
  background: none;
}
.file-manager .delete .fi-svg {
  width: 24px;
  height: 24px;
}
.file-manager .delete .dl-name-cnt {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}
.file-manager .delete .dl-name-cnt .limit-text-oneline {
  display: block;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* phan trang cua LinkPager: canh giua, cach bang 16px */
.file-manager .delete .pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.file-manager .name_title .title .material-icons {
  display: none;
} /* thiet ke khong co icon canh tieu de */
/* Lich su: dong tieu de nhom ngay mau xanh dam nhu thiet ke */
.file-manager .history .date-group,
.file-manager .history .group-date,
.file-manager .history .title-date,
.file-manager .history .date_title {
  color: #025afc !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 32px 6px;
}
/* cot "Duong dan" / "Hanh dong" dung chung co chu voi cac cot khac */
.file-manager .delete .mdc-detail-cell,
.file-manager .history .mdc-detail-cell {
  font-size: 14px;
  line-height: 21px;
  color: #333;
}

/* ===== Lich su (/file/history) - Figma 15106:66905 =====
   Noi dung x=238..1366: hang tieu de 42px tai y=80 ("Lich su" 20/30 SemiBold #333, chu bat dau x=16), hang tieu de cot 36px
   tai y=130 (Ten 388 | Kich thuoc 187 | Cap nhat 223 | Hanh dong 330, chu 14/21 Medium), moi hang 36px ke duoi #E8EDF1.
   Dong nhom ngay: chu xanh #025AFC. Cot Ten thut trai 48 (icon 24 + gap 8). Khong checkbox, khong chu nghieng.
   Bo loc "Tep tin da tai xuong" (khong co trong khung thiet ke) giu o goc phai hang tieu de. */
#history-manager.manager {
  padding: 16px 0 0 !important;
  background: #fff;
}
/* Cuon trang: manager.css dat "main.file-manager {overflow: hidden !important}" (trang /file/manager cuon trong
   khung danh sach rieng) -> o trang Lich su danh sach bi cat, khong keo xuong duoc. */
main.file-manager:has(> #history-manager) {
  overflow-y: auto !important;
}
/* Ca dong la link toi trang tai (/file|folder/<linkcode>): keo vung bam cua a.title_namefile phu het dong
   (truoc day chi bam duoc tren chu ten tep). Dong nhom ngay (.hist-date-row) khong co link nen khong anh huong. */
#history-manager .mdc-detail-row:has(a.title_namefile) {
  position: relative;
  cursor: pointer;
}
#history-manager .mdc-detail-row a.title_namefile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
#history-manager .name_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  margin: 0;
  padding: 0 16px 0 0;
}
/* [HIDDEN-history-filter] Figma 15106:66905 khong co bo loc "Tep tin da tai xuong". An bang CSS, markup + JS giu nguyen.
   Mo lai: xoa rule nay. */
#history-manager #fillter_file_history {
  display: none !important;
}
#history-manager .name_title .title {
  height: 42px;
  box-sizing: border-box;
  padding: 6px 16px !important;
  font-size: 20px !important;
  line-height: 30px;
  font-weight: 600 !important;
  color: #333 !important;
}
#history-manager file-list {
  display: block;
  max-width: none;
  margin-top: 8px;
}
#history-manager .mdc-detail-list {
  padding: 0;
  background: #fff;
}
#history-manager .mdc-detail-list .mdc-detail-row {
  display: grid;
  /* ti le cot theo Figma: Ten 388 | Kich thuoc 187 | Cap nhat 223 | Hanh dong 330 (tong 1128). Khung rong 1128 -> dung tung px;
     khung hep hon -> co theo ti le, cot "Cap nhat" luon du cho "dd/mm/yyyy hh:mm:ss" (163 = ~131 chu + 32 padding). */
  grid-template-columns: minmax(0, 388fr) minmax(0, 187fr) minmax(163px, 223fr) minmax(0, 330fr);
  align-items: center;
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important; /* de len ".file-manager .mdc-detail-row { padding: 0 32px !important }" */
  border-bottom: 1px solid #e8edf1;
  background: #fff;
}
#history-manager .mdc-detail-list .mdc-detail-header.mdc-detail-row {
  border-bottom-color: #ecedf1;
}
#history-manager .mdc-detail-list .mdc-detail-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
  padding: 6px 16px;
  font-size: 14px;
  line-height: 21px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#history-manager .mdc-detail-list .mdc-detail-header .mdc-detail-cell {
  font-weight: 500;
}
#history-manager .mdc-detail-list .mdc-detail-cell:nth-child(1) {
  gap: 8px;
  padding: 6px 16px 6px 48px !important; /* de len rule o dau tien cua .file-manager (padding !important) */
}
#history-manager .mdc-detail-list .hist-date {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: #025afc;
}
#history-manager .mdc-detail-list .fi-svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
#history-manager .title_namefile {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #333;
  text-decoration: none;
}
#history-manager .title_namefile .limit-text-oneline {
  display: block;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Thong bao (/site/notify) - Figma 15210:45886 =====
   Noi dung x=238..1366: tieu de "Thong bao" 20/30 SemiBold #333 (hang 42px tai y=80, chu bat dau x=16), cach danh sach 8px.
   Moi thong bao la 1 hang: vien duoi #E8EDF1, padding 6x24, gap 16 - icon 32 | noi dung (14/21: tieu de dam, noi dung, "ngay | loai" voi loai dam)
   | nut dong 24. Khong nen hover, khong thanh tab (chi con tab "Thong bao tu he thong" nen an ca thanh tab).
   Chi ap dung cho trang (main > ...); chuong thong bao tren header dung chung cung template nhung khong bi doi. */
main > .title_notify {
  height: 42px;
  box-sizing: border-box;
  margin: 16px 0 8px;
  padding: 6px 16px;
  border: 0;
  background: #fff;
}
main > .title_notify .title {
  height: 30px;
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: #333;
}
main > .page-notify {
  background: #fff;
}
/* [HIDDEN-notify-tabbar] Figma khong co thanh tab (chi con loai "he thong"). An bang CSS - markup + JS chuyen tab giu nguyen. Mo lai: xoa rule nay. */
main > .page-notify .demo-tabs__scroller {
  display: none;
}
main > .page-notify .tabcontent {
  margin-right: 0;
}
main > .page-notify .mdc-list {
  padding: 0;
}
main > .page-notify li.n-item-li {
  display: flex;
  align-items: center;
  float: none;
  gap: 16px;
  width: 100%;
  min-height: 0;
  height: auto;
  box-sizing: border-box;
  padding: 6px 24px !important;
  border-bottom: 1px solid #e8edf1;
  background: #fff;
}
main > .page-notify li.n-item-li:hover {
  background: #fff;
}
main > .page-notify .n-item-c-div {
  flex: 1 1 auto;
  min-width: 0;
}
main > .page-notify .content-notify.item_notify {
  opacity: 1; /* thong bao da xem (.seen) khong mo di: thiet ke khong phan biet */
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: none;
  margin: 0;
  padding: 0;
}
main > .page-notify .n-icon-div {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  overflow: visible;
}
/* icon: glyph tron 32px, khong nen tron mau (server tra ve <i style="background:#...; color:#fff">) */
main > .page-notify .n-icon-div i {
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  background: transparent !important;
  color: #025afc !important;
  font-size: 32px !important;
  line-height: 32px;
  border-radius: 0;
}
main > .page-notify .n-icon-div img {
  width: 32px;
  height: 32px;
  max-width: none;
  border-radius: 0;
}
main > .page-notify .n-icon-div.n-ico-folder_shared i {
  color: #ffc007 !important;
}
main > .page-notify .box_content.n-content-div {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: #333;
}
main > .page-notify .box_content .text {
  font-size: 14px !important;
  font-weight: 700;
  line-height: 21px !important;
}
main > .page-notify .box_content .notice-detail {
  font-size: 14px;
  line-height: 21px;
}
main > .page-notify .box_content .notice-detail p {
  margin: 0 !important;
}
main > .page-notify .box_content .notice-detail a {
  color: #025afc;
}
main > .page-notify .box_content .date {
  margin: 0;
  font-size: 14px;
  font-style: normal;
  line-height: 21px;
}
main > .page-notify .box_content .date b {
  font-weight: 700;
}
main > .page-notify .n-action-remove {
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
}
main > .page-notify .n-icon-close {
  font-size: 24px;
  color: #333;
}

/* ===== Trang Xem gan day (Frame 1207) - template rieng recentFile.html =====
   Trang nay khong dung bang .mdc-detail-list nhu Quan ly du lieu, co markup rieng
   (templates/recent-file/recentFile.html) nen phai dung lai toan bo kich thuoc theo Figma:
   vung noi dung x=238..1366, hang tieu de 42px tai y=80, hang tieu de cot 36px tai y=130,
   moi hang du lieu 36px. Cot 1 rong 388px, 3 cot con lai chia deu phan con lai. */

/* Cuon trang: manager.css dat "main.file-manager {overflow: hidden !important}" va ".manager {height: 100%}",
   cat danh sach /file/recent-file va che nut "Tai them" o man hinh nho (giong #history-manager). */
main.file-manager:has(> .parent-recent) {
  overflow-y: auto !important;
}
/* nen trang trang lien mach - bo nen xam #F2F3F7 va khoang cach 24px cua mdc-layout-grid */
.manager.parent-recent {
  background: #fff !important;
  height: auto;
  min-height: 100%;
}
#recent.mdc-layout-grid {
  padding: 16px 0 32px !important;
  background: #fff;
}

/* --- Hang tieu de: "Xem gan day" 20/30 SemiBold #333 + 2 nut doi che do xem --- */
#recent .rc-title-row {
  display: flex;
  align-items: center;
  height: 42px;
  box-sizing: border-box;
}
#recent .rc-title-cell {
  width: 388px;
  flex: 0 0 388px;
  padding: 6px 16px;
  box-sizing: border-box;
}
#recent .rc-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #333;
}
#recent .rc-title-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
}
#recent .rc-view-option {
  font-size: 24px;
  line-height: 24px;
  width: 24px;
  height: 24px;
}
#recent .rc-view-grid {
  color: #b6bbbe;
} /* thiet ke ve mo: trang nay chua co che do luoi */
#recent .rc-view-list {
  color: #333;
}
/* [HIDDEN-recent-filters] Thiet ke Frame 1207 bo 2 bo loc "Chon File" / "Chon Thoi Gian"
   (ghi chu: chi con hien thi du lieu cua chinh chu). Markup + JS giu nguyen, chi an. */
#recent #filler_recent {
  display: none !important;
}

/* --- Hang tieu de cot + hang du lieu: cung mot luoi 4 cot --- */
#recent .rc-head,
#recent .rc-row {
  display: flex;
  align-items: center;
  height: 36px;
  min-height: 36px;
  padding: 0 32px;
  box-sizing: border-box;
  background: #fff;
}
/* thiet ke cach hang tieu de trang 8px (tieu de 80-122, tieu de cot bat dau 130) */
#recent .rc-head {
  margin-top: 8px;
  border-bottom: 1px solid #ecedf1;
  font-weight: 500;
}
#recent .rc-row {
  border-bottom: 1px solid #e8edf1;
  cursor: pointer;
}
#recent .rc-row:hover {
  background: #f0f5f8;
}
/* hang dang chon: css cu son xam #A9A8A8 bang ".parent-recent #recent #file_recent .active"
   (3 id) nen phai dung selector it nhat manh bang de doi sang xanh nhat theo thiet ke */
.parent-recent #recent #file_recent .rc-row.active {
  background: #e3f4ff;
}
#recent .rc-cell {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 21px;
  color: #333;
  min-width: 0;
}
#recent .rc-head .rc-cell {
  cursor: pointer;
  user-select: none;
}
#recent .rc-c-name {
  width: 388px;
  flex: 0 0 388px;
  gap: 8px;
}
#recent .rc-c-size,
#recent .rc-c-date {
  flex: 1 1 0;
  gap: 16px;
}
#recent .rc-c-opt {
  flex: 1 1 0;
  gap: 8px;
}
/* [HIDDEN-recent-owner-col] Thiet ke bo cot "Chu so huu" (chi con du lieu chinh chu).
   An cot bang CSS, du lieu + code giu nguyen. */
#recent .rc-c-owner {
  display: none !important;
}
/* mui ten sap xep 18px nhu thiet ke */
#recent .rc-sort {
  font-size: 18px;
  line-height: 18px;
  width: 18px;
  height: 18px;
  color: #333;
}
/* ten tep 1 dong, tran dai thi cat bang dau ... */
#recent .rc-c-name .text_name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}
#recent .rc-c-name .mdc-textfield {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
/* checkbox: o bao 24px, o vuong 20px vien 2px (thiet ke: bao 286-310, vuong 288-308)
   -> border-box de padding khong lam no ra 28px, day icon tep lech 4px */
#recent .mdc-checkbox {
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  flex: 0 0 24px;
  box-sizing: border-box;
}
#recent .mdc-checkbox__background {
  width: 20px;
  height: 20px;
  border-width: 2px;
  border-color: #6e7376;
  border-radius: 2px;
  left: 2px;
  top: 2px;
}
#recent .rc-icon {
  display: flex;
  align-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
#recent .fi-svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
/* co dau hieu ben phai (khoa / directlink / yeu thich...) 18px, cach nhau 8px */
#recent .rc-c-opt .icon-cus {
  display: flex;
  align-items: center;
  padding: 0;
}
#recent .rc-c-opt .icon-cus .material-icons {
  font-size: 18px;
  line-height: 18px;
  width: 18px;
  height: 18px;
  color: #333;
}

/* --- Menu chuot phai #menu_recent: dung chung rule :is(#files-menu, #menu_recent) o phan "Menu chuot phai" phia tren (Figma 15106:66066) --- */

/* --- Nut "Tai them": do -> vien xanh nhu he thong V4 --- */
#recent .loadmore {
  text-align: center;
  margin: 20px 0;
  background: none;
  border: 0;
}
#recent .loadmore span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #025afc;
  border: 1px solid #025afc;
  border-radius: 4px;
  height: 36px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
#recent .loadmore span:hover {
  background: #e3f4ff;
}

/* ===== Trang Chia se (/file/shared-with-me, /file/shared) - Figma 15317:82229 / 15317:82360 =====
   Khong co tieu de trang (da an trong view): thanh tab la MDC tab bar mac dinh (khong custom), nam tai y=80. */
.file-manager .sp-cus,
#sp_tab_menu_cmp {
  background: #fff !important;
}
.file-manager #sp_tab_menu_cmp {
  margin-top: 16px;
}
/* hang thao tac (Figma: cao 36, nut Doi ten/Di chuyen/Xoa cach nhau 16, cach nut luoi/danh sach 24 + 8) ngay duoi thanh tab */
.file-manager .manager.sp-cus > .header {
  padding-top: 0 !important; /* de len ".file-manager .manager > .header" (16px !important) */
}
.file-manager .sp-cus .toolbar-file-action {
  margin-right: 24px !important;
}
/* Hang thao tac luon cao 36 (ke ca khi chua chon muc nao) de bo cuc khong bi nhay khi chon dong / mo menu chuot phai
   (nut Doi ten/Di chuyen/Xoa hien ra khi co muc duoc chon). */
/* cot option (Figma: icon 18px, cach nhau 8) */
.file-manager .sp-cus .mdc-detail-cell__option .option-info {
  gap: 8px;
}
.file-manager .sp-cus .mdc-detail-cell__option .option-info .option-info-item {
  width: 18px;
  padding: 0 !important;
}
/* bang: cot 1 rong 388px, 3 cot con lai chia deu - giong Xem gan day.
   Can !important vi rule chung o tren dat "flex" cho .mdc-detail-cell:nth-child(1). */
.file-manager .sp-cus .mdc-detail-list .mdc-detail-row .mdc-detail-cell {
  flex: 1 1 0 !important;
  min-width: 0;
}
.file-manager
  .sp-cus
  .mdc-detail-list
  .mdc-detail-row
  .mdc-detail-cell:nth-child(1) {
  flex: 0 0 388px !important;
  width: 388px;
}

/* [HIDDEN-floating-support] Cum nut noi goc duoi phai (gop y + 2 nut chat) khong co trong
   bat ky khung thiet ke V4 nao (Frame 1207 / 1160 / Quan ly du lieu...). An di.
   Cum nay do components/views/support.php in ra, la con truc tiep cua <body> nen khong loc
   duoc theo <main class="file-manager"> -> an tai day. Vi v4-preview.css chi duoc nap boi
   cac layout khu vuc luu tru (tree, favorite, share-private, shared-with-me-layout, v4)
   nen cac trang cong khai / tai ve van giu nguyen cum nut nay.
   Mo lai: xoa khoi rule ben duoi. */
.floating-icons-container {
  display: none !important;
}

/* ===== Trang chu - vong doi chieu TRUC TIEP voi Figma 14985:14147 =====
   Cac vong truoc do chinh theo ban preview-home-v4.html chu khong phai khung Figma,
   nen mot so gia tri lech (line-height tieu de, co icon, khoang cach cot).
   Duoi day lay so do tu chinh cac node thiet ke. */

/* Tieu de 3 section: Roboto Medium 36/48 (14985:14154) - truoc dat line-height 54 */
.sec-title,
.sec-grow__title {
  line-height: 48px !important;
}

/* Section "Mot nen tang": icon tinh nang 40px, cach chu 16px (14985:14157/14158) */
.feat__ico,
.feat__ico img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.feat__head {
  gap: 16px;
  margin-bottom: 0;
}
.feat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat__p {
  line-height: 23px !important;
  color: #333 !important;
}
/* Cot: 312 / 350 / 331, hang chay tu x=135 den x=1274 (14985:14157/14177/14182).
   .wrap rong 1198 bat dau x=84 -> le trai 51, le phai 8. Phai ep width+margin vi khong
   thi hang tu co lai bang tong 3 cot roi bi margin auto keo vao giua. */
.feat-row {
  grid-template-columns: 312px 350px 331px !important;
  justify-content: space-between;
  gap: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 16px 8px 55px 51px !important;
}

/* Section "dong hanh": icon 80px, chu 20 SemiBold, mo ta 16/23 (14985:14162) */
.gcard__ico,
.gcard__ico img {
  width: 80px;
  height: 80px;
}
.gcard__p {
  line-height: 23px !important;
}
.sec-grow {
  padding: 66px 0 0 !important;
}
.sec-grow__sub {
  margin: 26px auto 0 !important;
}
/* 3 cot 312px chay tu x=90 den x=1274 (14985:14162/14167/14172) -> le trai 6, le phai 8 */
.card-row {
  display: flex !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 66px 8px 95px 6px !important;
}
.gcard {
  flex: 0 0 312px !important;
  max-width: 312px;
}

/* Vong 2 (do lai sau khi sua): grid + justify-content khong chia deu duoc phan du,
   doi .feat-row sang flex nhu .card-row roi dat be rong tung cot theo thiet ke. */
.feat-row {
  display: flex !important;
  justify-content: space-between !important;
}
.feat-row > .feat:nth-child(1) {
  flex: 0 0 312px;
  max-width: 312px;
}
.feat-row > .feat:nth-child(2) {
  flex: 0 0 350px;
  max-width: 350px;
}
.feat-row > .feat:nth-child(3) {
  flex: 0 0 331px;
  max-width: 331px;
}
/* Section "dong hanh" ket thuc o y=1912 (Rectangle 426 bat dau o day) */
.card-row {
  padding-bottom: 103px !important;
}
/* Hang logo doi tac: moi logo mot kich thuoc rieng, hang chay tu x=97 den x=1274,
   cao 131 (logo Sendo cao nhat) - truoc do bi ep chung max-height 56 (14985:14247..14252) */
.partners {
  padding: 4px 8px 19px 13px !important;
  align-items: center;
}
.partners img {
  max-height: none !important;
  flex: 0 0 auto;
  object-fit: contain;
}
.partners img:nth-of-type(1) {
  width: 133px;
  height: 131px;
}
.partners img:nth-of-type(2) {
  width: 151px;
  height: 47px;
}
.partners img:nth-of-type(3) {
  width: 122px;
  height: 53px;
}
.partners img:nth-of-type(4) {
  width: 65px;
  height: 62px;
}
.partners img:nth-of-type(5) {
  width: 210px;
  height: 43px;
}
.partners img:nth-of-type(6) {
  width: 110px;
  height: 62px;
}

/* Vong 3: .feat-row khong an width:100% (hop border-box chi 1139) -> ghim thang 1198px
   la be rong cua .wrap; hang logo dang justify-content:center + gap 56 -> doi sang
   space-between de trai/phai dung x=97 va x=1274 nhu thiet ke. */
.feat-row {
  width: 1198px !important;
}
.partners {
  justify-content: space-between !important;
  gap: 0 !important;
}
/* Section doi tac ket thuc o y=2152 (Frame 629 - footer - bat dau o day) */
.sec-partner {
  padding-bottom: 0 !important;
}

/* Vong 4 - sua lai 2 diem vong truoc suy sai tu chieu cao hop chu:
   1) Vong truoc doc "hop tieu de tinh nang cao 23" roi ket luan chu 16px. Sai:
      get_design_context cua 14985:14160/14165 ghi ro text-[20px] SemiBold, va do lai
      be rong chuoi: "Lưu trữ tập trung" @20/600 = 151.5px = dung 152 cua Figma
      (@16/600 chi 121px). Mo ta la 16px/23 (14985:14161/14166), khong phai 14.
   2) .feat-row bi max-width:1139 + margin auto -> can giua trong .wrap. Thiet ke dat
      hang o 135..1274 (lech phai), khong can giua. */
.feat__h,
.gcard__h {
  font-size: 20px !important;
  line-height: normal !important;
}
.feat__p,
.gcard__p {
  font-size: 16px !important;
  line-height: 23px !important;
}
.feat-row {
  max-width: none !important;
}

/* Tieu de tinh nang khong xuong dong (Figma: whitespace-nowrap). Cot 2 rong dung 350
   = icon 40 + cach 16 + chu 294, thieu 1px la "Tai len va tai xuong nhanh chong" gay dong. */
.feat__h {
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .feat__h {
    white-space: normal;
  }
}

/* Vong 5 - 2 diem cuoi con lech khi do lai:
   1) 3 cot tinh nang trong Figma KHONG cach deu: 135 -> 508 -> 943, tuc khoang cach
      61 va 85. Dung space-between se ra 135/520/943 (lech cot giua 12px) -> dat thang
      khoang cach theo thiet ke.
   2) Cot "TAI UNG DUNG" (Frame 595) cao 159 va bat dau cao hon 3 cot kia 8px; cac muc
      trong no cach nhau 13px chu khong phai 8px. */
.feat-row {
  justify-content: flex-start !important;
}
.feat-row > .feat:nth-child(2) {
  margin-left: 61px;
}
.feat-row > .feat:nth-child(3) {
  margin-left: 85px;
}

/* CSS app dat letter-spacing:1px cho cac the tieu de. Thiet ke Figma dung 0 cho tat ca
   (chi rieng chu tren nut dang nhap la 0.4px - giu nguyen). Do lai de xac nhan:
   "Lưu trữ an toàn. Kiểm soát toàn diện." @40/500 ls0 = 661px, vet muc trong file
   thiet ke la 656; "Một nền tảng cho mọi nhu cầu lưu trữ" @36/500 ls0 = 603.1 = dung
   603 do duoc tren anh thiet ke. Voi ls 1px thi moi dong dai them ~1px/ky tu. */
.v4-hero__title,
.sec-title,
.sec-grow__title,
.feat__h,
.gcard__h,
.box-title {
  letter-spacing: 0 !important;
}

/* ===== The dang nhap tren hero: nhip doc theo dung Frame 1180 (14985:14317) =====
   Cot trong the cach deu 24px: tieu de(28) 24 icon(32) 24 "hoac"(16) 24 o nhap(42)
   16 o nhap(42) 24 hang ghi nho(32) 24 nut(42) = 370 = 418 - 2x24 padding.
   Thiet ke KHONG boc icon mang xa hoi trong vong tron trang - chi 3 anh 32px cach 24. */
.v4-login--hero .textcenter {
  margin: 0 0 24px !important;
}
.v4-login--hero .v4-soc-round {
  margin: 0 0 24px !important;
  height: 32px;
  gap: 24px !important;
}
.v4-login--hero .v4-soc-round__i {
  width: 32px !important;
  height: 32px !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.v4-login--hero .v4-soc-round__i img {
  width: 32px !important;
  height: 32px !important;
}
.v4-login--hero .v4-or {
  margin: 0 0 24px !important;
}
.v4-login--hero .v4-row-remember {
  height: 32px !important;
  margin: 0 0 24px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nut dang nhap hero: xoa margin rieng cua nut (khoang cach o nhap -> nut do rule chung o fullwidth va hang ghi nho). */
.v4-login--hero button[type="submit"] {
  margin: 0 !important;
}

/* Giua 2 o nhap co the <p class="mdc-textfield-helptext"> rong + <div> rong nen selector
   anh em ke "+" khong bat duoc o thu 2. Dat thang margin-top cho hang "ghi nho" (margin
   lien ke tu gop lai) va xoa margin cua cac the p rong o cuoi form. */
.v4-login--hero form > p:empty {
  margin: 0 !important;
}
.v4-login--hero .v4-row-remember {
  margin-top: 24px !important;
}

/* Hang logo doi tac cung khong cach deu trong thiet ke (69/70/83/83/81) - dat thang
   khoang cach nhu voi 3 cot tinh nang, thay vi space-between (lech toi 15px o giua). */
.partners {
  justify-content: flex-start !important;
}
.partners img:nth-of-type(2) {
  margin-left: 69px;
}
.partners img:nth-of-type(3) {
  margin-left: 70px;
}
.partners img:nth-of-type(4) {
  margin-left: 83px;
}
.partners img:nth-of-type(5) {
  margin-left: 83px;
}
.partners img:nth-of-type(6) {
  margin-left: 81px;
}

/* ===== Quan ly du lieu (Figma 15044:32199 "Frame 1203") - vong doi chieu truc tiep =====
   So do thiet ke (khung 1366, vung noi dung 238..1366):
     hang cong cu  y=80..116 (cao 36)
     breadcrumb    y=116..166 (cao 50, icon home x=286)
     hang tieu de  y=166..202, cac hang du lieu 36px tu y=202
   Cac nut trong hang cong cu cach nhau dung 8px, nut cuoi cach mep phai 10px:
     Filter 130x36 | MOI 162x36 | luoi 24 | danh sach 24 (het o 1356 = 1366-10).
   Thuc te dang: .header padding 10 va .toolbar padding 8 -> hang cong cu cao 53 bat dau
   o y=74, keo ca breadcrumb va bang xuong 22px. */
.file-manager .manager > .header {
  padding: 16px 0 0 !important;
}
.file-manager .header .toolbar {
  height: 36px;
  min-height: 36px;
  padding: 0 10px 0 16px !important;
}
.file-manager .header .toolbar > .toolbar-folder-action {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* margin rieng cua tung nut lam khoang cach thanh 9/16/11 thay vi 8 dong deu */
.file-manager .fm-action-group-uc-toggle {
  margin: 0 !important;
}
.file-manager .view-option {
  margin: 0 !important;
}
/* Hang breadcrumb cao dung 50 (dang 50 + 1 vien = 51 -> day ca bang xuong 1px) */
.file-manager .breadcrumbs {
  box-sizing: border-box;
  height: 50px;
}
.file-manager .breadcrumbs-bar {
  height: 100%;
  box-sizing: border-box;
}
/* Nen vung noi dung: thiet ke la trang, dang la #F2F3F7 (thay ro o hang cong cu +
   breadcrumb, vi bang phia duoi da co nen trang rieng) */
.file-manager .manager {
  background: #fff !important;
}
/* Ke duoi hang tieu de bang nhat hon ke giua cac hang: #ECEDF1 vs #E8EDF1 */
.file-manager .mdc-detail-list .mdc-detail-header.mdc-detail-row {
  border-bottom-color: #ecedf1 !important;
}
/* Menu cua nut "MOI" xo len TREN va lech sang TRAI sau khi doi .toolbar-folder-action
   sang display:flex o tren: MDC tinh vi tri menu theo VI TRI TINH cua no trong luong,
   ma trong flex container vi tri do khong con nam duoi nut nua (do duoc top:-44px,
   left:1188px -> menu ra goc tren trai vung noi dung).
   Ghim thang vi tri: ngay duoi nut, le trai trung nut (nut rong 162 va cach mep phai
   cua hang 64 -> mep trai nut = 100% - 226; cong 6px cua margin-left goc). */
.file-manager .header .toolbar > .toolbar-folder-action {
  position: relative;
}
.file-manager #fm_action_group_uc_cus,
.file-manager #fm_action_group_uc_cus_mobile {
  top: 44px !important;
  left: calc(100% - 220px) !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform-origin: top left !important;
}

/* ===== Hover hang file/folder (Figma "Hover file/folder" - Frame 1200) =====
   Hover khong bao gio hien vi hai rule doi nhau, ca hai deu !important nen so do manh:
     nen trang: .file-manager .mdc-detail-list .mdc-detail-row:not(.mdc-detail-header)
                :not(.mdc-detail-row__selected):not(.un-read-highlight)   -> 6 lop
     hover    : .file-manager .mdc-detail-list .mdc-detail-row:not(.mdc-detail-header):hover
                                                                          -> 5 lop
   => rule nen trang thang, hover bi nuot. Viet lai hover voi du 3 :not() de manh hon.
   Anh huong tat ca trang dung bang nay: Quan ly du lieu, Yeu thich, Chia se, Lich su,
   Du lieu da xoa. */
.file-manager
  .mdc-detail-list
  .mdc-detail-row:not(.mdc-detail-header):not(.mdc-detail-row__selected):not(
    .un-read-highlight
  ):hover {
  background: #f0f5f8 !important;
}
/* Thiet ke: o chon cua hang dang hover co vong tron xanh nhat phia sau */
.file-manager .mdc-detail-row:hover .mdc-checkbox {
  position: relative;
}
.file-manager .mdc-detail-row:hover .mdc-checkbox::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  background: #e3f4ff;
  z-index: 0;
}
.file-manager .mdc-detail-row .mdc-checkbox__background {
  position: relative;
  z-index: 1;
}

/* =========================================================================
   Popup upload V4 - lam lai theo Figma (de len cac vong cu o tren):
   A. Chuan bi tai len #upload_waiting_dialog - 15044:33726: khung 786, header 84 nen #E3F4FF,
      hang tep 52 (ten | dung luong 175 vach trai | huy 24), toi da 8 hang roi cuon, chan 84.
   B. Dang tai len #n_upload_progress - 15044:33900: khung 540, header 47 nen #E3F4FF,
      hang tep 36 (ten | dung luong 89 vach trai | nut 100), thanh tien trinh 3px xanh o day hang.
   Selector theo #id (dung chung manager / share-private / shared-with-me / favorite-view).
   ========================================================================= */

/* ---- A. #upload_waiting_dialog ---- */
#upload_waiting_dialog .mdc-dialog__container {
  width: 786px !important;
  max-width: calc(100vw - 32px) !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 4px !important;
  background: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-dialog-header,
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-warning-dialog-header {
  display: flex !important;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  min-height: 84px;
  margin: 0 !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #d9dee2;
  border-radius: 4px 4px 0 0 !important;
  background: #e3f4ff !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-dialog-header .upw-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.4px;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-dialog-header .upw-title .material-icons {
  margin: 0 !important;
  font-size: 24px;
  color: #025afc !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .upw-action {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  margin: 0;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .upw-action .mdc-button {
  margin: 0 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface #u-w-add-more-files {
  background: transparent !important;
}
/* danh sach tep: toi da 8 hang 52 roi cuon, vach duoi #D9DEE2 */
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface #upload_waiting_dialog--content {
  max-height: 416px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  border-bottom: 1px solid #d9dee2;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item {
  border-bottom: 1px solid #e8edf1 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .mdc-layout-grid {
  padding: 0 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .mdc-layout-grid__inner {
  display: flex !important;
  align-items: center;
  height: 51px;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-file-info-group {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding-left: 24px;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-file-icon {
  flex: 0 0 24px;
  margin: 0 !important;
  font-size: 24px !important;
  color: #333 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-file-name {
  overflow: hidden;
  font-size: 14px !important;
  line-height: 21px !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-file-action-group {
  display: flex !important;
  flex: 0 0 294px;
  align-items: center;
  box-sizing: border-box;
  height: 51px;
  padding: 0 22px 0 16px;
  border-left: 1px solid #e8edf1 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-file-size {
  flex: 1 1 auto;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 21px !important;
  color: #333 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-action-btn {
  display: flex;
  margin: 0 !important;
  cursor: pointer;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-file-item .u-w-action-btn .material-icons {
  font-size: 24px !important;
  color: #333 !important;
}
/* chan: checkbox dong y (trai) + HUY TAI LEN dang nut chu (phai), cao 84 */
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 84px;
  margin: 0 !important;
  padding: 0 24px !important;
  border-top: 0 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .checkbox-group-cus,
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .mdc-form-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .checkbox-group-cus {
  flex-direction: row !important;
  justify-content: flex-start !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .checkbox-label {
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 21px;
  color: #333 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .checkbox-label a {
  color: inherit !important;
  text-decoration: none;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .up-w-footer-action {
  align-self: center !important;
  margin: 0 !important;
}
#upload_waiting_dialog .mdc-dialog__container .mdc-dialog__surface .up-w-footer .up-w-footer-action .mdc-button {
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #025afc !important;
}

/* ---- B. #n_upload_progress ---- */
#n_upload_progress {
  width: 540px !important;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border: 0 !important;
  border-radius: 4px !important;
  background: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) !important;
}
#n_upload_progress .up-progress-header {
  display: flex !important;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  height: 47px;
  min-width: 0 !important;
  padding: 0 20px !important;
  border-radius: 4px 4px 0 0 !important;
  background: #e3f4ff !important;
}
#n_upload_progress .up-progress-header .header-item {
  padding: 0 !important;
  line-height: 24px !important;
}
#n_upload_progress .up-progress-header .up-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
}
#n_upload_progress .up-progress-header .up-title .material-icons {
  margin: 0 !important;
  font-size: 24px !important;
}
/* da tai xong (Figma 15044:34076): check_circle xanh chinh #025AFC */
#n_upload_progress .up-progress-header .up-title .success-icon {
  color: #025afc !important;
}
#n_upload_progress .up-progress-header .up-action {
  display: flex !important;
  flex: 0 0 auto;
  gap: 8px;
}
/* ng-show/ng-hide cua cum nut (an khi da tai xong) phai thang rule display:flex !important o tren */
#n_upload_progress .up-progress-header .up-action.ng-hide,
#n_upload_progress .up-progress-header .up-action .u-p-action-btn.ng-hide {
  display: none !important;
}
#n_upload_progress .up-progress-header .up-action .u-p-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
#n_upload_progress .up-progress-header .up-action .material-icons {
  font-size: 20px !important;
  line-height: 20px !important;
  color: #333 !important;
}
/* than: toi da 5 hang (5 x 37) roi cuon */
#n_upload_progress .up-progress-body {
  height: auto !important;
  max-height: 185px;
  overflow-y: auto !important;
}
#n_upload_progress .up-file-item {
  position: relative;
  border-bottom: 1px solid #e8edf1 !important;
  background: #fff !important;
}
#n_upload_progress .up-file-item .mdc-layout-grid {
  padding: 0 !important;
}
#n_upload_progress .up-file-item .mdc-layout-grid__inner {
  display: flex !important;
  align-items: center;
  height: 36px;
}
#n_upload_progress .up-file-item .u-w-file-info-group {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 20px;
}
#n_upload_progress .up-file-item .u-w-file-icon {
  flex: 0 0 24px;
  margin: 0 !important;
  font-size: 24px !important;
  color: #333 !important;
}
#n_upload_progress .up-file-item .u-w-file-name {
  overflow: hidden;
  font-size: 14px !important;
  line-height: 20px !important;
  letter-spacing: 0.17px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333 !important;
}
#n_upload_progress .up-file-item .u-w-file-action-group {
  display: flex !important;
  flex: 0 0 189px;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  height: 36px;
  padding: 0 22px 0 16px;
  border-left: 1px solid #e8edf1 !important;
}
#n_upload_progress .up-file-item .u-w-file-size {
  flex: 1 1 auto;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  letter-spacing: 0.17px;
  color: #333 !important;
}
#n_upload_progress .up-file-item .u-w-action-btn {
  display: flex;
  margin: 0 !important;
}
#n_upload_progress .up-file-item .u-w-action-btn .material-icons {
  font-size: 20px !important;
  color: #333 !important;
}
#n_upload_progress .up-file-item .u-w-action-btn.success-icon .material-icons {
  font-size: 19px !important;
  color: #58ca00 !important;
}
/* thanh tien trinh 3px xanh nam o day hang (Figma), khong chiem chieu cao */
#n_upload_progress .up-file-item .progress-bar-cus {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  padding: 0 !important;
}
#n_upload_progress .up-file-item .mdc-linear-progress {
  height: 3px !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#n_upload_progress .up-progress-body .up-file-item .mdc-layout-grid .mdc-layout-grid__inner .progress-bar-cus .mdc-linear-progress .mdc-linear-progress__buffer,
#n_upload_progress .up-progress-body .up-file-item .mdc-layout-grid .mdc-layout-grid__inner .progress-bar-cus .mdc-linear-progress .mdc-linear-progress__buffering-dots {
  display: none !important;
}
#n_upload_progress .up-file-item .mdc-linear-progress__bar-inner {
  background-color: #025afc !important;
}

/* ---- C. Popup tai len hoan tat #upload_complete_dialog - Figma 15044:34243 ----
   Khung 786, header 60 nen #E3F4FF (check + "Da tai len hoan tat N tap tin" 16/24 Medium, dong 24 o phai),
   danh sach hang 52 (ten | dung luong 175 vach trai), toi da 6 hang (312) roi cuon. Ghi chu / lay lien ket
   da an trong markup ([BEGIN-HIDDEN-upload-complete-v3], views/file/manager.php). */
#upload_complete_dialog .mdc-dialog__container {
  width: 786px !important;
  max-width: calc(100vw - 32px) !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 4px !important;
  background: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .up-c-dialog-header {
  display: flex !important;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  height: 60px;
  margin: 0 !important;
  padding: 0 24px !important;
  border-bottom: 1px solid #d9dee2;
  border-radius: 4px 4px 0 0 !important;
  background: #e3f4ff !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .upc-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: #333 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .upc-title .material-icons,
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .upc-action .material-icons {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 24px !important;
  color: #333 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .upc-action {
  display: flex;
  flex: 0 0 auto;
  margin: 0 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .upc-action .u-p-action-btn {
  display: flex;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  cursor: pointer;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface #upload_complete_dialog--content {
  max-height: 312px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .completed-file-item {
  background: #fff !important;
  border-top: 0 !important;
  border-bottom: 1px solid #e8edf1 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .completed-file-item:last-child {
  border-bottom: 0 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .completed-file-item .mdc-layout-grid {
  padding: 0 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .completed-file-item .mdc-layout-grid__inner {
  display: flex !important;
  align-items: center;
  height: 51px;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .u-c-file-info-group {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding-left: 24px;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .u-c-file-icon {
  flex: 0 0 24px;
  margin: 0 !important;
  font-size: 24px !important;
  color: #333 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .u-c-file-name {
  overflow: hidden;
  font-size: 14px !important;
  line-height: 21px !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .u-c-file-action-group {
  display: flex !important;
  flex: 0 0 293px;
  align-items: center;
  box-sizing: border-box;
  height: 51px;
  padding: 0 16px;
  border-left: 1px solid #e8edf1 !important;
}
#upload_complete_dialog .mdc-dialog__container .mdc-dialog__surface .u-c-file-size {
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 21px !important;
  color: #333 !important;
}

/* Trang chu: section "Cac doi tac tin tuong" da an (views/site/index.php, HIDDEN-home-partners) nen sec-grow la section cuoi,
   truoc do padding-bottom = 0 vi co sec-partner noi tiep. Chua lai khoang trong bang voi padding-top (66) truoc footer. */
.sec-grow--last {
  padding-bottom: 66px !important;
}

/* Ten tep qua dai lam hang upload vo layout: luoi MDC 0.x la "flex-flow: row wrap", ma ten tep dai lam flex-basis (auto) cua cot
   ten + 189/293px cua cot kich thuoc/nut vuot chieu rong hang -> cot kich thuoc/nut bi day xuong dong duoi, tran ra ngoai khung.
   Khong cho xuong dong: cot ten co min-width:0 + ellipsis nen tu co lai, cot kich thuoc/nut (flex 0 0 N) luon giu nguyen cho.
   Ap dung cho 3 noi cung cau truc: panel tien do (#n_upload_progress), dialog dang cho upload, dialog upload xong. */
#n_upload_progress .up-file-item .mdc-layout-grid__inner,
#upload_waiting_dialog .up-file-item .mdc-layout-grid__inner,
#upload_complete_dialog .completed-file-item .mdc-layout-grid__inner {
  flex-wrap: nowrap !important;
}
#n_upload_progress .up-file-item .u-w-file-name,
#upload_waiting_dialog .up-file-item .u-w-file-name,
#upload_complete_dialog .completed-file-item .u-c-file-name {
  flex: 0 1 auto;
  min-width: 0;
}

/* Form dang nhap: khi bat captcha phep tinh (login.php, .m-verify-code), anh phep tinh dinh sat (thuc te de len 4px vi
   main.css dat margin-bottom:-4px cho img) o nhap "Ket qua phep tinh" -> bo margin am, cach nhau 12px.
   Anh nam trong .text-center, o nhap trong .mdc-textfield cung cap voi no. */
.v4-login .m-verify-code .text-center {
  margin-bottom: 12px;
}
.v4-login .m-verify-code .text-center img {
  margin-bottom: 0;
}
