* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

h1 {
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.card {
  background: #f6f7fc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  border: 1px solid #e0e0e0;
  display: flex;
}

.card h2 {
  margin: 10px 0 0;
}

/* .success { border-left: 5px solid #2ecc71; }
.warning { border-left: 5px solid #f39c12; }
.info { border-left: 5px solid #4a6cf7;} */

.cards .card .icon {
  width: 60px;
  height: 60px;
  /* border: 1px solid #ccc; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards .card .all-meetings {
  background: #617ff5;
}

.cards .card .approved {
  background: #5cc989;
}

.cards .card .warning {
  background: #dbad63;
}

.cards .card .chat {
  background: #fab1a0;
}

.cards .card-content {
  margin-left: 10px;
}

.recent {
  background: #f6f7fc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.recent-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.tabs button,
.filters button {
  font-size: 14px;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  background: #eee;
}

.tabs .invoice-btn {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border: 1px solid #e0e0e0;
}

.tabs {
  display: flex;
  /* align-items: center; */
}

.filters button {
  margin-left: -3px;
}

.tabs .quotation-btn {
   border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border: 1px solid #e0e0e0;
}

/* Date Picker Filters */
.filters {
  display: flex;
  align-items: center;
  /* background: #fff; */
  /* border: 1px solid #e0e0e0; */
  /* border-radius: 6px; */
  padding: 0;
}

.today-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  color: #333;
}

.date-range-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  color: #333;
}

.filter-reset {
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  color: #666;
  margin-left: 5px;
  border-radius: 5px;
}

.filter-reset:hover {
  background: #f0f0f0;
  color: #333;
}

.filter-toggle.active {
  background: #fff;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 2px;
}

.date-range-container {
  position: relative;
  display: inline-block;
}

/* Modal / Popup */
.date-range-popup {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  z-index: 1000;
  min-width: 280px;
}

.date-range-popup.hidden {
  display: none;
}

.popup-dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.popup-dates input[type="date"] {
  border: none;
  font-size: 14px;
  color: #333;
  font-family: inherit;
  background: transparent;
}

.popup-dates .arrow {
  font-size: 10px;
  color: #999;
  margin: 0 8px;
}

.popup-actions {
  display: flex;
  align-items: center;
  justify-content: end;
}

.preset-date {
  color: #4a6cf7;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.popup-actions .btn-apply {
  background: #617ff5;
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.btn-apply:hover {
  background: #4a6cf7;
}

.tabs {
  display: flex;
  align-items: center;
}

.tabs h3 {
  margin-bottom: 0px;
  margin-right: 5px;
}

.tabs .active {
  background: #509ce6;
  color: #fff;
}

/* .filters input,
.filters button {
  padding: 6px 10px;
  margin-left: 5px;
} */

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #f3f3f3;
}

th,
td {
  padding: 8px;
  text-align: left;
}

tbody tr.dashboard-row {
  border-bottom: 1px solid #eee;
}

.view-btn {
  padding: 6px 12px;
  background: #92ebb8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  gap: 8px;
}

.pagination button {
  padding: 6px 12px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 6px;
}

.pagination button.active {
  background: #4a6cf7;
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}