/* =====================================================
   STYLE DÙNG CHUNG: HEADER + THANH MENU
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }

/* ===== HEADER ===== */
#header {
  background: linear-gradient(135deg, #0A192F 0%, #0F3460 100%);
  color: white;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
}
#header .logo-container {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}
#header .logo-container img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
#header .tieu-de-container {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#header h1 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  background: linear-gradient(45deg, #FFFFFF, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#header p {
  font-size: 12px;
  color: #FFD700;
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0.9;
}

/* ===== THANH MENU ===== */
.menu-chinh {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.menu-muc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.menu-muc:hover {
  background: rgba(0, 242, 254, 0.12);
  color: white;
}
.menu-muc.dang-chon {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.5);
  color: #00F2FE;
}
.menu-muc .nhan-ngan { display: none; }
.so-cho-duyet {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #E11D48;
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

/* ===== TÀI KHOẢN ĐĂNG NHẬP ===== */
#header .tai-khoan {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
#header .tai-khoan-email {
  font-size: 12px;
  color: #E2E8F0;
  opacity: 0.85;
}
.btn-tai-khoan {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(0,242,254,0.4);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-tai-khoan:hover {
  background: #00F2FE;
  color: #0A192F;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  #header .tieu-de-container p { display: none; }
  #header .tai-khoan-email { display: none; }
}
@media (max-width: 1100px) {
  #header .tieu-de-container { display: none; }
  .menu-chinh { margin-left: 0; }
  #header .tai-khoan { margin-left: auto; }
}
@media (max-width: 768px) {
  #header { height: 60px; padding: 0 12px; gap: 8px; }
  #header .logo-container { width: 38px; height: 38px; }
  .menu-chinh { gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .menu-chinh::-webkit-scrollbar { display: none; }
  .menu-muc { padding: 6px 8px; font-size: 12px; gap: 4px; }
  .menu-muc .nhan-dai { display: none; }
  .menu-muc .nhan-ngan { display: inline; }
  #header .tai-khoan { padding-left: 8px; }
  .btn-tai-khoan { padding: 5px 10px; font-size: 11px; }
}
@media (max-width: 480px) {
  .menu-muc .menu-icon { display: none; }
  .menu-muc { padding: 6px 7px; }
  #header .tai-khoan { padding-left: 6px; }
}
