﻿@charset "UTF-8";
/******* RESPONSIVE ********/
/****Màn hình máy tính thông thường****/
/****Màn hình desktop loại bé****/
/**** Màn hình ipad hiển thị theo chiều ngang (Landscape) ****/
/****Màn hình ipad loại bé hiển thị theo chiều ngang (Landscape)****/
/****Màn hình ipad hiển thị theo chiều dọc (Portrait)****/
/****Màn hình ipad loại bé hiển thị theo chiều dọc (Portrait)****/
/****Màn hình điện thoại hiển thị theo chiều ngang (Landscape)****/
/****Màn hình điện thoại Iphone Plus****/
/****Màn hình điện thoại Iphone****/
/****Màn hình điện thoại loại bé****/
@font-face {
  font-family: "Manrope";
  src: url("../../fonts/Manrope/Manrope-VariableFont_wght.ttf") format("truetype");
}
ul, li {
  list-style: none;
}

body {
  color: #0a2540;
  font-family: Manrope, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
}

p {
  margin: 0 auto;
}

a:hover {
  text-decoration: none;
}

body {
  color: #0a2540;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
}

#page-wrap {
  display: flex;
  min-height: 100vh;
  background: #f4f7fd;
  position: relative;
}
#page-wrap .bg-blue {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 260px;
  background: linear-gradient(rgba(28, 88, 220, 0.88), rgba(40, 93, 226, 0.88)), url("/assets/images/a.jpg");
  background-size: cover;
  background-size: cover;
  background-position: center;
}
#page-wrap .aside {
  position: relative;
  z-index: 9;
  width: 270px;
  margin: 18px;
  padding: 24px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex: 0 0 270px;
}
#page-wrap .aside:after {
  content: "";
  position: absolute;
  right: -90px;
  top: 0;
  width: 180px;
  height: 100%;
  background: #fff;
  border-radius: 50%;
}
#page-wrap .aside .logo {
  color: #036bd6;
  font-weight: 600;
  font-size: 20px;
}
#page-wrap .aside .logo,
#page-wrap .aside .mnu-content {
  position: relative;
  z-index: 2;
}
#page-wrap .aside .mnu-content {
  margin-top: 35px;
}
#page-wrap .aside .mnu-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#page-wrap .aside .mnu-content li {
  margin-bottom: 8px;
}
#page-wrap .aside .mnu-content a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  border-radius: 14px;
  color: #1c2f66;
  transition: 0.25s;
  font-size: 15px;
}
#page-wrap .aside .mnu-content a:hover {
  background: #edf2ff;
}
#page-wrap .aside .mnu-content .active a {
  background: linear-gradient(105deg, #c8daf2 20%, #fff 100%);
  border: 1px solid #e0e7ef;
  font-weight: 600;
}
#page-wrap main {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}
#page-wrap main .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
#page-wrap main .top-bar .search-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#page-wrap main .top-bar .search-box input {
  width: 26rem;
  height: 2.875rem;
  border: none;
  outline: none;
  border-radius: 4px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}
#page-wrap main .top-bar .search-box input::placeholder {
  color: #9aa4b2;
}
#page-wrap main .top-bar .search-box .btn-search {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 2.875rem;
  height: 2.875rem;
  border: none;
  border-radius: 4px;
  color: #1c2f66;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page-wrap main .top-bar .search-box .btn-search:hover {
  background: #3d5fe9;
}
#page-wrap main .top-bar .search-box .btn-search svg {
  font-size: 1rem;
}
#page-wrap main .top-bar .btn-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.875rem;
  padding: 0 1rem;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #495057;
  cursor: pointer;
  transition: 0.2s;
}
#page-wrap main .top-bar .btn-sort:hover {
  background: #eef3ff;
  color: #4f6ef7;
}
#page-wrap main .top-bar .btn-sort svg {
  font-size: 0.95rem;
}
#page-wrap main .top-bar .btn-sort span {
  font-weight: 500;
}
#page-wrap main .content {
  background: white;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 25px;
  flex: 1;
  min-height: 0;
  margin-bottom: 18px;
}
#page-wrap main .content .page {
  display: none;
}
#page-wrap main .content .page.active {
  display: block;
}
#page-wrap main .content h2 {
  margin-bottom: 1rem;
}
#page-wrap main .content p {
  color: #6c757d;
}
#page-wrap main .content .card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1.5rem;
}
#page-wrap main .content .card {
  flex: 1 1 450px;
  padding: 1.5rem;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
#page-wrap main .content .card .chart-card {
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 6px;
  padding: 18px;
  height: 100%;
}
#page-wrap main .content .card .chart-card .cc-title {
  font-size: 15px;
  font-weight: 500;
  color: #1a2332;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef4fc;
}
#page-wrap main .content .card .chart-card .donut-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
#page-wrap main .content .card .chart-card .donut-row .donut-wrap {
  position: relative;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
}
#page-wrap main .content .card .chart-card .donut-row .donut-wrap .donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
#page-wrap main .content .card .chart-card .donut-row .donut-wrap .donut-center .dc-big {
  font-size: 20px;
  font-weight: 900;
  color: #1a56c4;
  line-height: 1;
}
#page-wrap main .content .card .chart-card .donut-row .donut-wrap .donut-center .dc-lbl {
  font-size: 9.5px;
  color: #7a9ab8;
  line-height: 1.3;
}
#page-wrap main .content .card .chart-card .donut-row .legend {
  flex: 1;
}
#page-wrap main .content .card .chart-card .donut-row .legend .leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}
#page-wrap main .content .card .chart-card .donut-row .legend .leg-item .leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
#page-wrap main .content .card .chart-card .donut-row .legend .leg-item .leg-pct {
  margin-left: auto;
  font-weight: 700;
  color: #1a56c4;
}

/* ===================== ĐANG CẬP NHẬT ===================== */
.update-message {
  padding: 50px 20px;
  background-color: #f8f9fa;
  border: 1px dashed #ccc;
  border-radius: 8px;
  max-width: 600px;
  margin: 50px auto;
  color: #555;
}
.update-message .icon {
  font-size: 48px;
  color: #17a2b8;
  margin-bottom: 15px;
}

/* ===================== CARD ===================== */
.stat-card {
  padding: 30px 24px;
  border-right: 1px solid #e0e7ef;
  text-align: center;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #e0e7ef;
}
.stat-card .stat-num {
  font-size: 30px;
  font-weight: 600;
  color: #488cfa;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  text-align: start;
}
.stat-card .stat-num.accent {
  color: #d8312b;
}
.stat-card .stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #e8f0fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.stat-card .stat-icon svg {
  color: #488cfa;
  font-size: 24px;
}
.stat-card .stat-icon.accent-bg {
  background: #fbeaea;
}
.stat-card .stat-icon.accent-bg svg {
  color: #d8312b;
}
.stat-card .stat-label {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 5px;
}
