/* === BASE STYLES === */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f8fc;
  color: #252733;
}

a {
  text-decoration: none;
}

/* ==== SIDEBAR ==== */

.sidebar {
  background: #363740;
}

.sidebar-header {
  padding: 0.75rem 1rem;
}

.sidebar-title {
  color: #a4a6b3;
  font-size: 1.2rem;
  font-weight: 700;
}

.navigation a {
  width: 100%;
  padding: 0.75rem 1rem;
  color: #a4a6b3;
  border-left: 3px solid transparent;
  border-radius: 0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-left-color 0.2s ease;
}

.navigation a i {
  width: 20px;
  transition: color 0.2s ease;
}

.navigation a:hover {
  background: #3f4049;
  color: #dde2ff;
  border-left-color: #3751ff;
}

.navigation a:hover i {
  color: #dde2ff;
}

.navigation hr {
  width: 100%;
  margin: 0.75rem 0;
  border: 0;
  border-top: 1px solid #4b4c57;
}

/* === OVERVIEW === */

.main-content {
  padding: 2rem;
}

.page-header h1,
.page-header p {
  margin-top: 0;
}

.page-header h1 {
  margin-bottom: 0;
  font-size: 2rem;
}

.page-header i,
.muted {
  color: #9fa2b4;
}

.user-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid #dfe0eb;
  border-radius: 50%;
}

/* === PANELS === */

.panel {
  background: #fff;
  border: 1px solid #dfe0eb;
  border-radius: 8px;
}

/* === CARDS === */

.panel-cards {
  text-align: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.panel-cards p:first-child {
  color: #9fa2b4;
  font-weight: 700;
  transition: color 0.2s ease;
}

.panel-cards p:last-child {
  margin-bottom: 0;
  font-size: 2.25rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.panel-cards:hover {
  border-color: #3751ff;
  box-shadow: 0 0 0 1px #3751ff;
}

.panel-cards:hover p:first-child,
.panel-cards:hover p:last-child {
  color: #3751ff;
}

/* === TODAY'S TRENDS === */

h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.trends-side {
  border-left: none;
}
.trends-side {
  border-left: 1px solid #dfe0eb;
}

.trend-stat {
  text-align: center;
  border-top: 1px solid #dfe0eb;
}

.trend-stat p:last-child {
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.trend-legend {
  align-items: center;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #9fa2b4;
}

.legend-item::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
}

.legend-today::before {
  background: #3751ff;
}

.legend-yesterday::before {
  background: #dfe0eb;
}

/* === TICKETS + TASKS === */

.list-panel a {
  color: #3751ff;
  font-size: 0.875rem;
  font-weight: 600;
}

.row-line {
  border-top: 1px solid #dfe0eb;
}

.add-task {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #f0f1f7;
  color: #9fa2b4;
}

input[type="radio"] {
  accent-color: #3751ff;
}

.bg-urgent {
  background: #fec400;
}

.bg-new {
  background: #29cc97;
}

.bg-default {
  background: #f0f1f7;
  color: #9fa2b4;
}

/* === BASE (mobile) === */

/* === TABLET === */
@media (min-width: 768px) {
}

/* === DESKTOP === */
@media (min-width: 992px) {
}

/* === LARGE DESKTOP === */
@media (min-width: 1200px) {
}

/* === EXTRA LARGE === */
@media (min-width: 1400px) {
}