@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #121212; /* Dark charcoal background */
  color: #e0e0e0; /* Light grey text */
  display: flex;
  height: 100vh;
  overflow: hidden;
}
/* Login Container */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #121212; /* Dark charcoal background */
  color: #e0e0e0; /* Light grey text */
}
.login-container.hidden {
  display: none;
}
.login-container h2 {
  color: white;
  margin-bottom: 20px;
}
.login-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 300px;
  padding: 20px;
  background-color: #1e1e1e; /* Slightly lighter dark grey */
  border-radius: 12px;
}
.login-container input {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background-color: #2a2a2a; /* Darker input background */
  color: #e0e0e0; /* Light grey text */
  font-size: 14px;
}
.login-container button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background-color: #4a90e2; /* A shade of blue for buttons */
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.login-container button:hover {
  background-color: #3a7bd5; /* Darker blue on hover */
}
.login-container #login-error {
  color: #ff6b5b;
  text-align: center;
  margin-top: 10px;
}

/* Dashboard Container */
.dashboard-container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  flex-wrap: nowrap; /* Explicitly prevent wrapping */
}
.dashboard-container.hidden {
  display: none;
}

/* Sidebar */
.sidebar {
  width: 60px;
  background-color: #1e1e1e; /* Darker sidebar background */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  flex-shrink: 0; /* Prevent sidebar from shrinking */
}
.sidebar .logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4a90e2, #2a6bb2); /* Blue gradient for logo */
  border-radius: 8px;
  margin-bottom: 40px;
}
.sidebar button {
  background: none;
  border: none;
  margin: 15px 0;
  cursor: pointer;
  color: #a0a0a0; /* Lighter grey for inactive icons */
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.sidebar button:hover, .sidebar button.active {
  background-color: #4a90e2; /* Blue for active/hover */
  color: white;
}
/* Main content */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  overflow-y: auto;
  min-width: 0; /* Allow main content to shrink */
}

/* Horizontal Navigation for Verification Page */
.horizontal-nav {
  display: flex;
  gap: 5px; /* Reduced gap between items */
  margin-bottom: 20px;
  padding: 5px 0; /* Reduced vertical padding */
  border-bottom: 1px solid #2a2a2a; /* Subtle separator */
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.horizontal-nav .nav-item {
  background-color: #1e1e1e; /* Darker background for nav items */
  border: none;
  border-radius: 6px; /* Slightly smaller border-radius */
  padding: 6px 12px; /* Adjusted padding */
  color: #a0a0a0; /* Lighter grey for inactive items */
  font-size: 13px; /* Slightly smaller font size */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.2s; /* Added transform for subtle hover effect */
}

.horizontal-nav .nav-item:hover {
  background-color: #2a2a2a; /* Slightly lighter on hover */
  color: #e0e0e0; /* Lighter text on hover */
  transform: translateY(-2px); /* Subtle lift effect */
}

.horizontal-nav .nav-item.active {
  background-color: #4a90e2; /* Blue for active/hover */
  color: white;
  font-weight: 600; /* Bolder text for active item */
  transform: translateY(0); /* No lift for active item */
}

/* Content area for sub-pages within Verification */
#verification-sub-content {
  padding-top: 20px;
}
/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.search-box {
  background-color: #1e1e1e; /* Darker search box */
  border-radius: 12px;
  padding: 8px 15px;
  border: none;
  color: #e0e0e0; /* Light grey text */
  width: 300px;
  font-size: 14px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-select {
  background-color: #1e1e1e; /* Darker select box */
  border-radius: 12px;
  border: none;
  color: #e0e0e0; /* Light grey text */
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}
.icon-button {
  position: relative;
  background-color: #1e1e1e; /* Darker icon button */
  border-radius: 12px;
  border: none;
  width: 36px;
  height: 36px;
  color: #e0e0e0; /* Light grey icon color */
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-button .badge {
  position: absolute;
  top: 4px;
  right: 6px;
  background-color: #4a90e2; /* Blue for badge */
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 12px;
}
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e0e0e0; /* Light grey text */
  font-size: 14px;
  cursor: pointer;
}
.profile .avatar {
  width: 36px;
  height: 36px;
  background-color: #4a90e2; /* Blue for avatar fallback */
  border-radius: 8px;
  margin-bottom: 4px;
  object-fit: cover; /* Ensure image covers the area */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: white;
}
.profile .role {
  font-size: 11px;
  color: #a0a0a0; /* Lighter grey for role */
}
/* Dashboard header */
.dashboard-header {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffffff; /* White for headers */
}
/* Cards container */
.cards-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
/* Analytics Page Specific Styles */
.analytics-cards-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.analytics-cards-row .card {
  background-color: #1e1e1e; /* Darker card background */
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column; /* Changed to column for value/percentage layout */
  align-items: flex-start; /* Align text to start */
  gap: 5px; /* Smaller gap for text elements */
  color: #e0e0e0; /* Light grey text */
}

.analytics-cards-row .card .label {
  font-size: 14px;
  color: #a0a0a0;
}

.analytics-cards-row .card .value {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.analytics-cards-row .card .percentage {
  font-size: 12px;
  font-weight: 600;
}

.timeframe-selector {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeframe-selector label {
  font-size: 14px;
  color: #e0e0e0;
}

.timeframe-selector select {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 6px 10px;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
}

.analytics-charts-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.chart-card {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 45%; /* Adjust as needed for two columns */
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chart-card h3 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.chart-card svg {
  width: 100%;
  height: 250px; /* Standard height for charts */
}

.chart-card .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #e0e0e0;
}

.chart-card .legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-card .legend-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.analytics-table-card {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.analytics-table-card h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: white;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #2a2a2a;
  color: #e0e0e0;
  text-align: left;
}

.data-table th {
  text-transform: uppercase;
  font-size: 12px;
  color: #a0a0a0;
  font-weight: 600;
}

.data-table tbody tr:hover {
  background-color: #2a2a2a;
}

.data-table .status-approved {
  color: #28A745; /* Green */
  background-color: rgba(40, 167, 69, 0.2); /* Green with 20% opacity */
}
.data-table .status-pending {
  color: #FFC107; /* Yellow */
  background-color: rgba(255, 193, 7, 0.2); /* Yellow with 20% opacity */
}
.data-table .status-rejected {
  color: #DC3545; /* Red */
  background-color: rgba(220, 53, 69, 0.2); /* Red with 20% opacity */
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination button {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination button:hover:not(:disabled) {
  background-color: #2a2a2a;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination span {
  font-size: 14px;
  color: #e0e0e0;
}

/* Existing card styles (adjust if conflicts) */
.card {
  background-color: #1e1e1e; /* Darker card background */
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 200px;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #e0e0e0; /* Light grey text */
}
.card .icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}
.card.projects .icon {
  background-color: #4a90e2; /* Blue */
}
.card.side-projects .icon {
  background-color: #e2a04a; /* Orange */
}
.card.investment .icon {
  background-color: #e24a4a; /* Red */
}
.card.assets .icon {
  background-color: #4ae290; /* Green */
}
/* Visitors card */
.visitors-card {
  background: linear-gradient(135deg, #4a90e2, #2a6bb2); /* Blue gradient */
  border-radius: 12px;
  padding: 20px;
  color: white;
  flex: 1 1 300px;
  min-width: 300px;
}
.visitors-card h3 {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 18px;
}
.visitors-number {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.visitors-chart {
  width: 100%;
  height: 80px;
}
/* Stats bar */
.stats-bar {
  background-color: #1e1e1e; /* Darker stats bar */
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  color: #e0e0e0; /* Light grey text */
  font-size: 14px;
}
.stats-bar div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats-bar .value {
  font-weight: 700;
  font-size: 18px;
  color: white;
}
.stats-bar .growth {
  color: #4ae290; /* Green for growth */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stats-bar .growth svg {
  width: 12px;
  height: 12px;
}
.stats-bar .growth.down {
  color: #e24a4a; /* Red for negative growth */
}
.stats-bar .growth.neutral {
  color: #a0a0a0; /* Grey for neutral growth */
}
/* Monthly bar chart */
.monthly-bar-chart {
  background-color: #1e1e1e; /* Darker chart background */
  border-radius: 12px;
  padding: 20px;
  color: #e0e0e0; /* Light grey text */
  margin-bottom: 30px;
}
.monthly-bar-chart .months {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 10px;
  color: #a0a0a0; /* Lighter grey for months */
}
.bar-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100px;
  margin-top: 10px;
  gap: 8px;
}
.bar {
  background-color: #2a2a2a; /* Darker bar color */
  border-radius: 6px 6px 0 0;
  width: 20px;
  position: relative;
  cursor: pointer;
}
.bar.highlight {
  background-color: #4a90e2; /* Blue highlight */
}
.bar .circle {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-radius: 50%;
  background-color: #4a90e2; /* Blue circle */
}
/* Bottom section with profile and stats */
.bottom-section {
  display: flex;
  gap: 20px;
  margin-bottom: 30px; /* Added margin-bottom for spacing */
  flex-wrap: wrap;
}
.user-profile, .statistics, .weekly-impression {
  background-color: #1e1e1e; /* Darker section background */
  border-radius: 12px;
  padding: 20px;
  color: #e0e0e0; /* Light grey text */
  flex: 1 1 300px;
  min-width: 300px;
}
.user-profile h4, .statistics h4, .weekly-impression h4 {
  margin-top: 0;
  font-weight: 700;
  font-size: 18px;
  color: white;
}
/* Pie chart */
.pie-chart {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
}
.legend {
  display: flex;
  justify-content: space-around;
  font-size: 14px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.legend-male {
  background-color: #4a90e2; /* Blue */
}
.legend-female {
  background-color: #e2a04a; /* Orange */
}
.legend-other {
  background-color: #e24a4a; /* Red */
}
.legend-text {
  color: white;
  font-weight: 600;
}
.legend-percent {
  color: #c1c1d6;
  font-weight: 400;
}
/* Statistic line chart */
.statistic-chart {
  width: 100%;
  height: 150px;
}
.weekly-impression {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.weekly-impression .week-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.weekly-impression .week-stats div {
  font-weight: 700;
}
.weekly-impression .week-stats .this-week {
  color: #4a90e2; /* Blue */
}
.weekly-impression .week-stats .last-week {
  color: #e2a04a; /* Orange */
}
.impression-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100px;
  gap: 10px;
}
.impression-bar div {
  background-color: #2a2a2a; /* Darker bar color */
  width: 20px;
  border-radius: 6px 6px 0 0;
  position: relative;
}
.impression-bar div:nth-child(2) {
  height: 40%;
}
.impression-bar div:nth-child(1) {
  height: 70%;
}
.impression-bar div:nth-child(3) {
  height: 90%;
}
.impression-bar div:nth-child(4) {
  height: 60%;
}
.impression-label {
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  color: white;
}
.impression-subtext {
  font-size: 10px;
  color: #4ae290; /* Green */
}
/* User reviews */
.user-reviews {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* Chat Support Specific Styles */
.support-main-container {
  display: flex;
  flex-direction: column;
  flex: 1; /* Allow it to take available space */
  min-height: 0; /* Allow content to shrink if needed */
}

#support-dynamic-content {
  flex: 1; /* Allow it to take available space */
  display: flex;
  flex-direction: column;
  min-height: 0; /* Allow content to shrink if needed */
}

.chat-support-container {
  display: flex;
  gap: 20px;
  flex: 1; /* Allow it to take available space */
  min-height: 0; /* Allow content to shrink if needed */
}

.user-list-panel {
  flex: 0 0 350px; /* Increased width for the user list panel by 5% (approx) */
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}

.user-list-header h3 {
  margin-top: 0;
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
}

.user-search-bar {
  background-color: #2a2a2a;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  font-size: 14px;
  width: 100%;
  margin-bottom: 10px;
}

.user-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.user-filters select,
.user-filters button {
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 6px 10px;
  color: #e0e0e0;
  font-size: 13px;
  cursor: pointer;
}

.user-filters button {
  background-color: #4a90e2;
  border: none;
  color: white;
  font-weight: 600;
  transition: background-color 0.3s;
}

.user-filters button:hover {
  background-color: #3a7bd5;
}

.user-list-scrollable {
  flex: 1;
  overflow-y: auto;
}

.chat-window-panel {
  flex: 1;
  background-color: #1e1e1e;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #2a2a2a;
  gap: 10px;
}

.chat-header .user-avatar {
  width: 40px;
  height: 40px;
  background-color: #4a90e2;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.chat-header .user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-header .user-name {
  font-weight: 700;
  color: white;
  font-size: 16px;
}

.chat-header .user-status {
  font-size: 12px;
  color: #a0a0a0;
}

.chat-header .ticket-category {
  font-size: 11px;
  color: #4ae290; /* Green for category */
}

.chat-actions button {
  background: none;
  border: none;
  color: #a0a0a0;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.3s;
}

.chat-actions button:hover {
  color: white;
}

.chat-messages-display {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-input-area {
  display: flex;
  padding: 15px 20px;
  border-top: 1px solid #2a2a2a;
  gap: 10px;
}

.chat-input {
  flex: 1;
  background-color: #2a2a2a;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  color: #e0e0e0;
  font-size: 14px;
  resize: none;
  min-height: 40px;
}

.chat-send-button {
  background-color: #4a90e2;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-send-button:hover {
  background-color: #3a7bd5;
}

/* Support Log Specific Styles */
.support-log-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1; /* Allow it to take available space */
  min-height: 0; /* Allow content to shrink if needed */
}

.log-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 15px 20px;
  align-items: center;
}

.log-filter-bar input[type="search"] {
  flex: 1;
  min-width: 200px;
  background-color: #2a2a2a;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  font-size: 14px;
}

.log-filter-bar select,
.log-filter-bar button {
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 6px 10px;
  color: #e0e0e0;
  font-size: 13px;
  cursor: pointer;
}

.log-filter-bar button {
  background-color: #4a90e2;
  border: none;
  color: white;
  font-weight: 600;
  transition: background-color 0.3s;
}

.log-filter-bar button:hover {
  background-color: #3a7bd5;
}

.log-table-container {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto; /* Allow horizontal scrolling for wide tables */
}

.log-table {
  width: 100%;
  border-collapse: collapse;
}

.log-table th,
.log-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #2a2a2a;
  color: #e0e0e0;
  text-align: left;
}

.log-table th {
  text-transform: uppercase;
  font-size: 12px;
  color: #a0a0a0;
  font-weight: 600;
}

.log-table tbody tr:hover {
  background-color: #2a2a2a;
}

.log-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.log-pagination button {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.log-pagination button:hover:not(:disabled) {
  background-color: #2a2a2a;
}

.log-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.log-pagination span {
  font-size: 14px;
  color: #e0e0e0;
}
.review-card {
  background-color: #1e1e1e; /* Darker review card */
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  color: #e0e0e0; /* Light grey text */
  flex-shrink: 0;
}
.review-card h5 {
  margin: 0 0 10px 0;
  font-weight: 700;
  color: white;
}
.review-stars {
  color: #e2a04a; /* Orange */
  margin-bottom: 10px;
}
.review-text {
  font-size: 13px;
  color: #a0a0a0; /* Lighter grey */
}
/* Right sidebar */
.right-sidebar {
  width: 280px;
  background-color: #1e1e1e; /* Darker right sidebar */
  border-radius: 12px;
  padding: 20px;
  color: #e0e0e0; /* Light grey text */
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  flex-shrink: 0; /* Prevent right sidebar from shrinking */
}
.right-sidebar h4 {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 18px; /* Ensure consistent heading size */
  color: white;
}
/* Server status */
.server-status {
  font-size: 14px;
}
.server-chart {
  width: 100%;
  height: 80px;
  margin-bottom: 10px;
}
.server-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a0a0a0; /* Lighter grey */
}

/* Server Status for Mobile (initially hidden on desktop) */
.server-status-mobile {
    display: none; /* Hidden by default on desktop */
    padding: 20px;
    background-color: #1e1e1e; /* Match sidebar background */
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    margin-top: 20px;
    color: #e0e0e0;
    font-size: 14px;
}

.server-status-mobile h4 {
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.server-status-mobile .server-chart {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
}

.server-status-mobile .server-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #a0a0a0;
}

/* Contacts */
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact {
  width: 40px;
  height: 40px;
  background-color: #2a2a2a; /* Darker contact background */
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: white;
  cursor: default;
}
.contact-avatar {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.contact-name {
  font-size: 11px;
  margin-top: 4px;
  text-align: center;
  color: #e0e0e0; /* Light grey text */
}
.contacts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.view-all {
  font-size: 12px;
  color: #4a90e2; /* Blue */
  cursor: pointer;
  font-weight: 600;
  margin-left: auto;
}
/* Messages */
.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.message {
  display: flex;
  gap: 10px;
  align-items: center;
}
.message-avatar {
  width: 36px;
  height: 36px;
  background-color: #2a2a2a; /* Darker avatar background */
  border-radius: 8px;
  object-fit: cover;
}
.message-content {
  flex: 1;
}
.message-name {
  font-weight: 700;
  font-size: 14px;
  color: white;
}
.message-text {
  font-size: 12px;
  color: #a0a0a0; /* Lighter grey */
}
/* Recent activity */
.recent-activity {
  font-size: 14px;
}
.activity-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center; /* Align items vertically in the center */
}
.tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #e0e0e0; /* Light grey text */
  background-color: #2a2a2a; /* Darker tab background */
  user-select: none;
  height: 36px; /* Set a fixed height for alignment */
  display: flex; /* Use flex to center content vertically */
  justify-content: center;
  align-items: center;
}
.tab.active {
  background-color: #4a90e2; /* Blue for active tab */
  color: white;
}
.activity-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.activity-color {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
}
.activity-blue {
  background-color: #4a90e2; /* Blue */
}
.activity-white {
  background-color: #e0e0e0; /* Light grey */
}
.activity-yellow {
  background-color: #e2a04a; /* Orange */
}
.activity-red {
  background-color: #e24a4a; /* Red */
}
.activity-text {
  flex: 1;
}
.activity-title {
  font-weight: 700;
  color: white;
  font-size: 14px;
  margin: 0 0 4px 0;
}
.activity-desc {
  font-size: 12px;
  color: #a0a0a0; /* Lighter grey */
  margin: 0;
}
.activity-time {
  font-size: 11px;
  color: #a0a0a0; /* Lighter grey */
  white-space: nowrap;
}
/* Scrollbar for user reviews */
.user-reviews::-webkit-scrollbar {
  height: 6px;
}
.user-reviews::-webkit-scrollbar-thumb {
  background-color: #4a90e2; /* Blue scrollbar */
  border-radius: 3px;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1e1e1e; /* Darker background */
    margin: auto;
    padding: 20px;
    border: 1px solid #2a2a2a;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    color: #e0e0e0;
}

.close-button {
    color: #a0a0a0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-button:hover,
.close-button:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #e0e0e0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-size: 14px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
}

/* Button Styles */
.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: #4a90e2; /* Blue */
    color: white;
}

.btn-primary:hover {
    background-color: #3a7bd5; /* Darker blue */
}

.btn-secondary {
    background-color: #2a2a2a; /* Dark grey */
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
}

.btn-secondary:hover {
    background-color: #3a3a3a;
}

.btn-danger {
    background-color: #e24a4a; /* Red */
    color: white;
}

.btn-danger:hover {
    background-color: #d53a3a; /* Darker red */
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column; /* Stack items vertically */
    }

    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row; /* Horizontal scroll for navigation items */
        overflow-x: auto;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .sidebar .logo {
        display: none; /* Hide logo on mobile */
    }

    .sidebar button {
        margin: 0 5px; /* Adjust spacing for horizontal layout */
    }

    .main {
        padding: 10px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-box {
        width: 100%;
    }

    .topbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .cards-row {
        flex-direction: column;
    }

    .card, .visitors-card, .user-profile, .statistics, .weekly-impression {
        flex: 1 1 100%;
        min-width: unset;
    }

    .right-sidebar {
        display: none; /* Hide right sidebar on mobile */
    }

    .server-status-mobile {
        display: block; /* Show mobile server status */
    }
}
