/* ========== Trang HỆ THỐNG – ST–AMS (phiên bản sáng tone AMS) ========== */
:root {
  --c-bg: #f9fafc;
  --c-card: #ffffff;
  --c-border: #e2e8f0;
  --c-text: #1e293b;
  --c-text-dim: #475569;
  --c-primary: #1a73e8;
  --c-primary-hover: #0f5ed8;
  --c-accent: #e8f2ff;
  --shadow: 0 2px 10px rgba(0,0,0,0.06);
  --radius-lg: 12px;
  --radius-md: 8px;
  --gap: 20px;
  --transition: 0.25s ease;
}

html, body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "Inter", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.6;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding-bottom: 64px;
}

/* --- Common Elements --- */
h1, h2, h3 { font-weight: 700; color: var(--c-text); }
h2 { font-size: 1.6rem; margin-bottom: 12px; }
p { color: var(--c-text-dim); }
ul.list { padding-left: 20px; margin: 10px 0; }
ul.list li { margin: 6px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-hover);
}
.btn-outline {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-text);
}
.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* --- HERO --- */
.hero--with-login .hero__content h1 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(90deg, #1a73e8 0%, #0058ff 50%, #7839ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero--with-login .subtitle {
  font-size: 1.05rem;
  color: #334155;
  max-width: 55ch;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
  padding: 56px 0;
}
.hero__content h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1rem;
  color: var(--c-text-dim);
  max-width: 60ch;
  margin-bottom: 20px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.badge {
  background: var(--c-accent);
  color: var(--c-primary);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}
.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.hero__visual {
  display: flex;
  justify-content: center;
}
.hero__visual img {
  max-width: 100%;
  border-radius: var(--radius-lg);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 36px 0; }
  .hero__visual { order: -1; }
}

/* --- BENEFITS --- */
.benefits h2 { margin-top: 16px; }
.grid {
  display: grid;
  gap: var(--gap);
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(218, 55, 55, 0.08);
}
.card__icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--c-primary);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

/* --- TOOLBAR --- */
.toolbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0;
  z-index: 10;
}
.toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.input {
  flex: 1 1 280px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--c-text);
}
.input::placeholder {
  color: #94a3b8;
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text-dim);
  cursor: pointer;
  transition: var(--transition);
}
.chip:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.chip.is-active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* --- ROLES --- */
.role-card .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-accent);
  color: var(--c-primary);
  font-size: 20px;
  margin-bottom: 8px;
}

/* --- ADMIN TABS --- */
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 14px;
  overflow-x: auto;
}
.tab {
  background: transparent;
  color: var(--c-text-dim);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 2px;
  margin-right: 12px;
  font-weight: 600;
  cursor: pointer;
}
.tab.is-active, .tab[aria-selected="true"] {
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* --- SYSTEM MAP --- */
.map-figure {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 20px;
}
.map-figure img {
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}
.map-figure figcaption {
  color: var(--c-text-dim);
  font-size: 14px;
}

/* --- CTA --- */
.cta__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: var(--c-accent);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 40px;
}
.cta__actions {
  display: flex;
  gap: 10px;
}

/* --- Misc --- */
.is-hidden { display: none !important; }
.noscript {
  background: #ffe7e0;
  color: #6b1811;
  padding: 10px 14px;
  text-align: center;
}
/* ===== ĐĂNG NHẬP: Bo tròn input & chỉnh lại layout đẹp ===== */

/* Card đăng nhập */
.login-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 32px 30px;
  width: 100%;
  max-width: 520px;
  min-width: 480px;
  height: fit-content;
  transition: 0.3s ease;
}

/* Hiệu ứng nhẹ khi hover card */
.login-card:hover {
  box-shadow: 0 10px 28px rgba(26,115,232,0.08);
  transform: translateY(-2px);
}

/* Nhãn và ô nhập */
.login-card label {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: inline-block;
}

/* Input & Select bo tròn đẹp */
.login-card input,
.login-card select {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px; /* Bo tròn nhiều hơn */
  padding: 12px 16px;
  font-size: 15.5px;
  transition: 0.2s;
  color: #0f172a;
  box-sizing: border-box;
}

.login-card input:focus,
.login-card select:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
  background: #fff;
}

/* Ô mật khẩu full chiều ngang */
.password-field {
  position: relative;
}
.password-field input {
  width: 100%;
  padding-right: 40px; /* chừa chỗ cho icon mắt */
}
.password-field .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #94a3b8;
  transition: 0.2s;
}
.password-field .toggle-password:hover {
  color: #1a73e8;
}

/* Footer trong form */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-top: 4px;
}
.form-footer .forgot {
  color: #1a73e8;
  text-decoration: none;
}
.form-footer .forgot:hover {
  text-decoration: underline;
}

/* Nút đăng nhập */
.btn.w-full {
  width: 100%;
  margin-top: 8px;
  border-radius: 999px;
  font-size: 16px;
}

/* Ghi chú */
.note {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 12px;
}
.note strong {
  color: #1a73e8;
}

/* Responsive: vừa mọi màn hình */
@media (max-width: 1024px) {
  .login-card {
    max-width: 440px;
    min-width: unset;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .login-card {
    max-width: 460px;
    margin-inline: auto;
  }
}
/* ==== Hiệu ứng gradient cam-xanh cho từ khóa nổi bật ==== */
.highlight-gradient {
  font-weight: 700;
  background: linear-gradient(90deg, #ff8c42 0%, #ffb347 35%, #1a73e8 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  transition: 0.3s ease;
}

.highlight-gradient:hover {
  background: linear-gradient(90deg, #ff6b00 0%, #ffb347 40%, #0058ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ==== Tiles with image on top ==== */
.tile {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover {
  transform: translateY(-6px);
  border-color: #1a73e8;
  box-shadow: 0 14px 28px rgba(26,115,232,.12);
}

/* Media: ảnh 16:9, phủ kín, bo tròn phần trên */
.tile__media {
  aspect-ratio: 16/9;
  background: #f1f5f9;
  position: relative;
}
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder (nếu chưa có ảnh) */
.tile__media.is-placeholder {
  background: linear-gradient(180deg, #e8f2ff, #f7fbff);
  display: grid;
  place-items: center;
  color: #1a73e8;
  font-weight: 700;
}
.tile__media.is-placeholder::after {
  content: attr(data-label);
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe3ff;
  box-shadow: 0 2px 8px rgba(26,115,232,.12);
}

/* Body */
.tile__body {
  padding: 16px 18px 20px;
}
.tile__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0 8px;
}
.tile__desc {
  color: #475569;
  font-size: .95rem;
  line-height: 1.6;
}

/* Giữ lưới 3 cột như cũ */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px){ .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .cards-3 { grid-template-columns: 1fr; } }
/* ===== Cải thiện màu chữ cho tile ===== */

/* Tiêu đề nổi bật, tông xanh thương hiệu AMS */
.tile__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.2px;

  /* Dùng kỹ thuật gradient cho chữ */
  background: linear-gradient(90deg, #7FFF00 0%, #00C9FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.tile:hover .tile__title {
  color: #0f5ed8;                /* xanh đậm hơn khi hover */
}

/* Mô tả rõ ràng, dễ đọc hơn */
.tile__desc {
  color: #334155;                /* xám đậm hơn, tương phản cao */
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 500;
}

/* Hiệu ứng nổi nhẹ khi hover toàn card */
.tile:hover .tile__desc {
  color: #1e293b;
}

/* Nếu muốn chữ có hiệu ứng gradient thương hiệu (tuỳ chọn) */
.tile__title.gradient {
  background: linear-gradient(90deg, #1a73e8 0%, #0058ff 50%, #7839ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ========================
   Timeline ngang cho phần Hệ sinh thái & Vai trò
   ======================== */
.timeline-flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 40px;
}

/* Đường nối giữa các vai trò */
.timeline-flow::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 10%;
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #4f9dff);
  border-radius: 4px;
  z-index: 0;
  opacity: 0.7;
}

/* Mỗi card */
.timeline-flow .card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  width: 32%;
  padding: 22px 20px;
  z-index: 1;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-flow .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(26,115,232,0.15);
  border-color: #1a73e8;
}

/* Icon nổi phía trên đường */
.timeline-flow .avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e8f2ff;
  color: #1a73e8;
  font-size: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 10px rgba(26,115,232,0.15);
  position: relative;
  z-index: 2;
}

/* Tiêu đề */
.timeline-flow h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  
  /* ---- 3 DÒNG ĐỂ TẠO CHỮ GRADIENT ---- */
  
  /* 1. Đặt gradient làm NỀN (background) */
  background: linear-gradient(90deg, #1a73e8 0%, #0058ff 50%, #7839ee 100%);
  
  /* 2. Cắt nền theo hình dạng của CHỮ */
  -webkit-background-clip: text; /* Dùng cho Chrome, Safari, Edge */
  background-clip: text;
  
  /* 3. Làm màu chữ trong suốt để thấy được nền bên dưới */
  color: transparent; 

  /* Lưu ý: Thêm dòng này để gradient vừa khít với độ dài của chữ,
    thay vì chạy hết 100% chiều rộng của dòng.
  */
  display: inline-block;
}

/* Danh sách */
.timeline-flow .list {
  text-align: left;
  padding-left: 18px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive: tự xuống dòng */
@media (max-width: 960px) {
  .timeline-flow {
    flex-direction: column;
    gap: 28px;
  }
  .timeline-flow::before {
    width: 4px;
    height: 88%;
    left: 40px;
    top: 0;
    background: linear-gradient(180deg, #1a73e8, #4f9dff);
  }
  .timeline-flow .card {
    width: 100%;
    text-align: left;
    padding-left: 70px;
  }
  .timeline-flow .avatar {
    position: absolute;
    left: 0;
    top: 20px;
    margin: 0;
  }
}
/* ===== Subnav pills (cuộn ngang) ===== */
.subnav {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  white-space: nowrap;
}
.pill:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}
.pill.is-active {
  background: #e8f2ff;
  border-color: #1a73e8;
  color: #1a73e8;
}

/* ===== Bố cục 4 cột dọc ===== */
/* ===== 4 cột có màu nhận diện ===== */
.admin-columns{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:24px;
}

/* Khối cột: dùng CSS variables để đổi màu theo modifier */
.admin-col{
  --accent:#1a73e8;            /* fallback */
  --accent-600:#0f5ed8;
  --accent-bg:#e8f2ff;
  --accent-soft: rgba(26,115,232,.08);
  background: linear-gradient(180deg, var(--accent-soft), transparent 45%),
              #fff;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:14px;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}
.admin-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem; /* <-- Sửa ở đây: Giảm từ 1.1rem xuống */
  font-weight: 800;
  margin: 6px 6px 12px;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 2px 10px var(--accent-soft);
}
.admin-col__title::before{
  content:"";width:10px;height:10px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 6px var(--accent-soft);
}

/* Card bên trong kế thừa màu accent cho viền/hover */
.admin-col .admin-feature{
  background:#fff;border:1px solid #e2e8f0;border-radius:12px;
  padding:18px 16px;margin:0 2px 12px;
  box-shadow:0 3px 8px rgba(0,0,0,.04);
  transition:.25s ease;
  position:relative;overflow:hidden;
}
.admin-col .admin-feature::after{
  content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:var(--accent);opacity:.85;
}
.admin-col .admin-feature:hover{
  transform:translateY(-4px);
  border-color:var(--accent);
  box-shadow:0 12px 22px var(--accent-soft);
}
.admin-col .admin-feature h4{
  font-weight:800;color:#0f172a;margin-bottom:6px;font-size:1.02rem;
}
.admin-col .admin-feature p{
  color:#475569;font-size:.95rem;line-height:1.6;
}

/* ===== Màu từng nhóm (đẹp – dễ phân biệt) ===== */
.admin-col--blue{
  --accent:#1a73e8; --accent-600:#0f5ed8;
  --accent-bg:#e8f2ff; --accent-soft:rgba(26,115,232,.12);
}
.admin-col--purple{
  --accent:#7839ee; --accent-600:#5c27c7;
  --accent-bg:#f1eaff; --accent-soft:rgba(120,57,238,.12);
}
.admin-col--orange{
  --accent:#ff8c42; --accent-600:#ff6b00;
  --accent-bg:#fff3ea; --accent-soft:rgba(255,140,66,.15);
}
.admin-col--green{
  --accent:#10b981; --accent-600:#059669;
  --accent-bg:#e9fbf5; --accent-soft:rgba(16,185,129,.14);
}

/* Responsive */
@media (max-width:1200px){ .admin-columns{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .admin-columns{grid-template-columns:1fr;} }
/* ===== Footer (tone sáng AMS) ===== */
.footer{
  background:#ffffff;
  border-top:1px solid #e2e8f0;
  margin-top:48px;
  color:#0f172a;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.3fr 1.3fr;
  gap:24px;
  padding:28px 0;
}
@media (max-width: 1024px){ .footer__inner{grid-template-columns:1fr 1fr; } }
@media (max-width: 640px){ .footer__inner{grid-template-columns:1fr; } }

.footer__brand .footer__logo img{height:40px;width:auto}
.footer__desc {
  font-weight: 500;
  margin: 10px 0 12px;
  max-width: 56ch;
  background: linear-gradient(90deg, #1a73e8 0%, #0058ff 60%, #7839ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.footer__contact{list-style:none;padding:0;margin:0;display:grid;gap:8px;color:#334155}
.footer__contact li span{margin-right:8px}

.footer__col h4{
  font-size:1rem;font-weight:800;margin:4px 0 10px;color:#1a73e8
}
.footer__links{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.footer__links a{
  color:#334155;text-decoration:none;border-bottom:1px dashed transparent;transition:.2s
}
.footer__links a:hover{color:#1a73e8;border-color:#cfe3ff}

.footer__quick{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:8px}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;border:1px solid #e2e8f0;
  text-decoration:none;color:#0f172a;background:#f8fafc;transition:.2s
}
.pill:hover{border-color:#1a73e8;color:#1a73e8;background:#eef6ff}

.footer__social{display:flex;gap:10px}
.footer__social .social{
  width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  border:1px solid #e2e8f0;background:#fff;color:#1a73e8;text-decoration:none;font-weight:800;
  transition:.2s
}
.footer__social .social:hover{border-color:#1a73e8;box-shadow:0 4px 12px rgba(26,115,232,.15)}

.footer__bar{
  border-top:1px solid #e2e8f0;background:#f8fafc
}
.footer__bar-inner{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 0;color:#334155;font-size:.95rem
}
.back-to-top{
  text-decoration:none;color:#1a73e8;border:1px solid #1a73e8;
  padding:6px 10px;border-radius:999px;transition:.2s
}
.back-to-top:hover{background:#1a73e8;color:#fff}
/* ===== Dòng "Lưu thông tin" + "Quên mật khẩu" ===== */
.remember-line {
  display: flex;
  align-items: center;
  justify-content: center;     /* căn giữa toàn hàng */
  gap: 24px;                   /* khoảng cách giữa 2 nhóm */
  margin: 10px 0 16px;
  font-size: 0.95rem;
}

/* nhóm bên trái: checkbox + text */
.remember-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  cursor: pointer;
}

/* checkbox */
.remember-left input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1a73e8; /* xanh AMS */
  cursor: pointer;
}

/* link bên phải */
.forgot-link {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.forgot-link:hover {
  color: #0f5ed8;
  text-decoration: underline;
}
/* --- RESET mọi overlay cũ để khỏi tràn --- */
.banner-top::before,
.banner-top::after{
  content: none !important;
  background: none !important;
}

/* --- Banner thu nhỏ toàn phần, căn giữa --- */
.banner-top{
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  text-align: center;
}

.banner-top img{
  display: inline-block;        /* để width % áp vào đúng khung và căn giữa */
  width: 85%;                   /* 👈 thu nhỏ cả ngang + cao (đổi 70–95% tuỳ ý) */
  height: auto;                 /* giữ tỉ lệ ảnh gốc */
  border-radius: 12px;
  filter: brightness(110%);     /* sáng hơn */
}

.banner-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 85%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
  text-align: center;
  color: #0c2461; /* xanh đậm, tương phản hơn */
  text-shadow:
    0 2px 8px rgba(255, 255, 255, 0.8),
    0 0 4px rgba(0, 0, 0, 0.3); /* thêm sáng nhẹ để rõ hơn */
  padding: 0 1rem;
}

.banner-text h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #002b80; /* xanh AMS đậm */
}

.banner-text p {
  font-size: 1rem;
  font-weight: 600;
  color: #003c99; /* xanh sáng hơn tiêu đề */
}

/* Mobile */
@media (max-width: 768px) {
  .banner-text { width: 100%; }
}

/* === FIX: chữ bám đúng ảnh, không lệch trái === */
.banner-top{
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  text-align: center;             /* ảnh/khung ở giữa */
}

:root{ --bannerW: 85%; }          /* chỉnh 70–95% nếu muốn nhỏ/lớn hơn */

/* Ảnh thu nhỏ toàn phần + sáng hơn */
.banner-top img{
  display: inline-block;
  width: var(--bannerW) !important;
  height: auto;
  border-radius: 12px;
  filter: brightness(110%);
}

/* Chặn mọi overlay cũ gây trôi */
.banner-top::before,
.banner-top::after{
  content: none !important;
  background: none !important;
}

/* Lớp chữ: phủ CHÍNH XÁC khung ảnh thu nhỏ */
.banner-text{
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: var(--bannerW) !important;    /* = width ảnh */
  transform: translateX(-50%) !important; /* căn giữa theo ảnh */
  display: grid !important;
  place-items: center !important;
  pointer-events: none;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
  padding: 0 1rem;
}

.banner-text h1{ font-size: 1.8rem; font-weight: 800; margin-bottom: .5rem; }
.banner-text p  { font-size: 1rem;  opacity: .95; }

/* Mobile: cho full chiều ngang container để dễ đọc */
@media (max-width: 768px){
  :root{ --bannerW: 100%; }
}
/* Căn giữa tuyệt đối và đồng bộ kích thước ảnh + chữ */
:root { --bannerW: 85%; }          /* đổi 70–95% nếu muốn nhỏ/lớn hơn */

.banner-top{
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  overflow: visible;
}

/* Ảnh: bám tâm container, không lệch vì padding hay text-align */
.banner-top img{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--bannerW);
  height: auto;
  display: block;
  margin: 0;                       /* xoá mọi margin có thể gây lệch */
  border-radius: 12px;
  filter: brightness(110%);
}

/* Tắt mọi overlay cũ có thể làm lệch */
.banner-top::before, .banner-top::after{
  content: none !important;
  background: none !important;
}

.banner-text{
  position: absolute !important;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%) !important;
  width: var(--bannerW) !important;
  display: grid; place-items: center;
  pointer-events: none;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  
  /* 👇 thêm hiệu ứng chữ nổi */
  text-shadow:
    0 2px 6px rgba(0,0,0,0.4),
    0 0 12px rgba(0,0,0,0.25),
    0 0 20px rgba(0,0,0,0.15);
}
.banner-text h1 {
  font-size: 2rem;
  font-weight: 900;
  color: #1b2a70; /* xanh navy đậm – nổi bật, chuyên nghiệp */
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.7), /* bóng sáng nhẹ giúp rõ trên nền nhạt */
    0 4px 8px rgba(0, 0, 0, 0.15);      /* độ sâu */
  margin-bottom: 0.6rem;
}

.banner-text p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2e3d87; /* xanh tím đậm hơn – đọc tốt trên vùng sáng */
  text-shadow:
    0 1px 3px rgba(255, 255, 255, 0.8),
    0 0 4px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}


/* Mobile: cho full bề rộng container */
@media (max-width: 768px){
  :root{ --bannerW: 100%; }
}
/* --- Tiêu đề trong khối đăng nhập --- */
.login-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0066ff; /* xanh AMS tươi, nổi bật */
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.3px;
}

/* --- Dòng phụ mô tả bên dưới --- */
.login-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2f3ce6; /* xanh tím nhẹ hơn, hài hòa */
  text-align: center;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

/* Canh giữa toàn bộ nội dung tile */
.benefits .tile__body {
  text-align: center;              /* canh giữa chữ */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Tiêu đề nổi bật hơn và canh giữa */
.benefits .tile__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0046ff;                  /* xanh AMS hoặc bạn đổi màu khác nếu muốn */
  margin-bottom: 0.5rem;
}

/* Mô tả bên dưới, canh giữa gọn đẹp */
.benefits .tile__desc {
  font-size: 1rem;
  color: #333;
  text-align: center;
  line-height: 1.5;
  max-width: 90%;
}

/* Căn giữa hình và chữ trong toàn bộ tile */
.benefits .tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* ==== FORCE TEXT VISIBLE ON BANNER ==== */
/* Reset mọi hiệu ứng cũ có thể làm chữ mờ/ẩn (gradient, fill transparent, v.v.) */
.banner-top .banner-text h1,
.banner-top .banner-text p{
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
}

/* Màu chữ đậm, tương phản cao */
.banner-top .banner-text{
  color: #0c2461 !important;                 /* màu mặc định nếu thẻ con không set */
}

.banner-top .banner-text h1{
  color: #002b80 !important;                 /* xanh navy đậm */
  font-weight: 900 !important;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem) !important;
  line-height: 1.25 !important;
  /* viền sáng nhẹ để đọc tốt trên nền sáng */
  text-shadow:
    0 2px 8px rgba(255,255,255,.85),
    0 1px 3px rgba(0,0,0,.18) !important;
}

.banner-top .banner-text p{
  color: #193a9b !important;                 /* xanh đậm hơn, dễ đọc */
  font-weight: 600 !important;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem) !important;
  text-shadow:
    0 1px 4px rgba(255,255,255,.85),
    0 0 3px rgba(0,0,0,.12) !important;
}
/* Nền mờ tinh tế ngay sau text */
.banner-top .banner-text > div{
  background: rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: .25rem .75rem;
  display: inline-block;
  backdrop-filter: blur(2px);
}
/* --- Hiệu ứng chữ gradient nổi bật, tone sáng hiện đại --- */
.banner-text h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  background: linear-gradient(90deg, #009ffd, #2a2a72, #8a3ffc); /* xanh sáng → tím lam */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* đổ bóng nhẹ giúp nổi hơn */
  margin-bottom: 0.5rem;
}

.banner-text p {
  font-size: 1.05rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Responsive mobile */
@media (max-width: 768px) {
  .banner-text h1 { font-size: 1.5rem; }
  .banner-text p { font-size: 0.9rem; }
}
.body-custumers {
    font-family: Poppins !important;
}

.remove-padding{
    padding-bottom: 0px;
}