body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at center, #1e2633 0%, #0d1117 100%);
  color: white;
  height: 100vh;
}

.page-content {
  padding-top: 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.2);
  align-items: center;
  height: 50px;
  box-sizing: border-box;
  /* position: fixed; */
  width: 100%;
}

.nav-right i {
  margin-left: 15px;
  cursor: pointer;
  font-size: 18px;
}

.badge {
  background: #d9534f;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
}

/* App Grid */
.app-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 100px); /* 6 cột */
  gap: 40px;
  justify-content: center;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.app-item:hover {
  transform: scale(1.1);
}

.app-item span {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

.icon {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
}

.orange {
  background: #f06050;
}
.purple {
  background: #714b67;
}
.teal {
  background: #00a09d;
}
.blue-green {
  background: #5a8080;
}
.pink {
  background: #e06996;
}
.cyan {
  background: #22c5de;
}
.red {
  background: #d9534f;
}
.yellow {
  background: #f4a460;
}
.blue {
  background: #4d8cf4;
}
.multi {
  background: linear-gradient(45deg, #00a09d, #875a7b);
}
.dark-purple {
  background: #4e4273;
}

/* Table Styles */
.content-container {
  padding: 20px;
}

.action-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: center;
}

.btn-new {
  background: #875a7b;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.search-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
}

.search-container input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  margin-left: 10px;
}

.employee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.employee-table th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #abb2bf;
}

.employee-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: bold;
}

/* Trang trí cho nút Google Sync */
.sync-section {
  margin-top: auto; /* Đẩy xuống cuối sidebar nếu cần */
  padding-top: 30px;
  border-top: 1px solid #333;
  margin-top: 40px;
}

.btn-google-sync {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  padding: 10px 15px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  text-decoration: none;
}

.btn-google-sync:hover {
  background-color: #f8f9fa;
  box-shadow:
    0 1px 3px rgba(60, 64, 67, 0.3),
    0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.btn-google-sync img {
  width: 18px;
  margin-right: 10px;
}

.sync-status {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.sync-status i {
  color: #4caf50;
  margin-right: 5px;
}

/* CSS cho Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #252538;
  margin: 10% auto;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  color: white;
  overflow: hidden;
}

.modal-header {
  padding: 15px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-modal {
  cursor: pointer;
  font-size: 20px;
  color: #888;
}

.modal-body {
  padding: 20px;
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
  color: #ccc;
}

.input-group input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  color: white;
  width: 100%;
  padding: 5px;
  outline: none;
}

.input-group input:focus {
  border-bottom-color: #f4a460;
}

.user-tag {
  background: #333;
  padding: 2px 10px;
  border-radius: 15px;
  font-size: 13px;
  color: #f4a460;
}

textarea {
  width: 100%;
  background: #1e1e2e;
  border: 1px solid #444;
  border-radius: 4px;
  color: white;
  padding: 10px;
  height: 60px;
  outline: none;
  resize: none;
}

.modal-footer {
  padding: 15px;
  text-align: right;
  gap: 10px;
  display: flex;
  justify-content: flex-end;
}

.btn-primary {
  background: #f4a460;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: black;
}

.btn-secondary {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 8px 20px;
}

/* Popup thông báo chung */
.notification-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2ecc71;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification-popup.visible {
  opacity: 1;
  transform: translateY(0);
}
