:root {
  font-family: Georgia, "Times New Roman", serif;
  color: #2f241b;
  background: #eee3cd;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    display: flex
}

.sidebar {
  width: 250px;
  min-height: 100vh;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;

  background: #3b2418;
  color: #f5eddb;
  border-right: 4px solid #b08a3c;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 10px 38px
}

.brand-mark {
    background: #e9efff;
    color: #315be9;
    border-radius: 12px;
    font-size: 25px;
    padding: 8px
}

.brand strong {
    display: block;
    font-size: 14px
}

.brand small,
.profile small {
    display: block;
    color: #8790a3;
    font-size: 11px;
    margin-top: 3px
}

nav {
    display: grid;
    gap: 7px
}

nav a {
  padding: 13px 12px;
  border-radius: 6px;
  color: #dcc9a3;
  text-decoration: none;
  font-size: 13px;
}

nav a span {
    margin-left: 9px
}

nav a.active,
nav a:hover {
  color: #3b2418;
  background: #b08a3c;
  font-weight: bold;
}

.profile {
    margin-top: auto;
    border-top: 1px solid #edf0f5;
    padding: 18px 5px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px
}

.profile>span {
    margin-left: auto;
    color: #9aa2b1
}

.avatar {
    background: #dbe5ff;
    color: #315be9;
    border-radius: 50%;
    padding: 10px;
    font-size: 11px;
    font-weight: 700
}

main {
    padding: 32px 42px;
    max-width: 1500px;
    width: calc(100% - 250px)
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
    color: #8993a8;
    margin: 0 0 7px
}

h1 {
  margin: 0 0 6px;
  color: #3b2418;
  font-size: 28px;
  letter-spacing: 0.5px;
}

h2 {
  margin: 0;
  color: #6b452d;
  font-size: 17px;
  letter-spacing: 0.3px;
}

.muted {
    color: #8a93a5;
    font-size: 12px;
    margin: 0
}

.bell {
    border: 0;
    background: white;
    border-radius: 9px;
    padding: 12px 17px;
    font-size: 19px;
    box-shadow: 0 2px 8px #18284c0b
}

.bell i {
    font-size: 10px;
    background: #e44d57;
    color: #fff;
    border-radius: 8px;
    padding: 2px 5px;
    font-style: normal
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px
}

.stats article,
.panel {
  background: #fffaf0;
  border: 1px solid #d1b98a;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(59, 36, 24, 0.12);
}

.stats article {
    padding: 19px;
    display: flex;
    gap: 14px
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 19px
}

.blue {
    background: #e9efff;
    color: #3562ed
}

.purple {
    background: #f0eaff;
    color: #8159d8
}

.green {
    background: #e4f8ef;
    color: #1caa6a
}

.orange {
    background: #fff0df;
    color: #ef9b37
}

.stats small {
    display: block;
    color: #8d96a8;
    font-size: 11px
}

.stats strong {
    display: block;
    font-size: 23px;
    margin: 5px 0
}

.stats em {
    font-style: normal;
    font-size: 10px;
    color: #39a775
}

.grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    margin-bottom: 20px
}

.panel {
    padding: 21px
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px
}

.panel-head a {
    color: #315be9;
    font-size: 11px;
    text-decoration: none
}

.outline {
  padding: 10px 16px;
  border: 1px solid #b08a3c;
  border-radius: 5px;

  background: #b08a3c;
  color: #3b2418;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  cursor: pointer;
}

.outline:hover {
  background: #8f6d2e;
  color: #fffaf0;
}

.hall-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.hall {
    border: 1px solid #edf0f5;
    border-radius: 9px;
    padding: 13px
}

.hall-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600
}

.badge {
    font-size: 9px;
    padding: 4px 7px;
    border-radius: 10px
}

.available {
    background: #e5f8ee;
    color: #15925a
}

.busy {
    background: #fff0df;
    color: #d77b13
}

.closed {
    background: #f0f1f4;
    color: #858c9a
}

.hall p {
    font-size: 10px;
    color: #9aa2b0;
    margin: 9px 0 0
}

.donut {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: conic-gradient(#35b979 0 89%, #edf0f4 89%);
    margin: 3px auto 16px;
    display: grid;
    place-content: center;
    text-align: center;
    position: relative
}

.donut:after {
    content: "";
    position: absolute;
    background: #fff;
    width: 91px;
    height: 91px;
    border-radius: 50%;
    inset: 17px
}

.donut strong,
.donut span {
    position: relative;
    z-index: 1
}

.donut strong {
    font-size: 24px
}

.donut span {
    font-size: 10px;
    color: #8993a5
}

.legend {
    display: grid;
    gap: 9px;
    font-size: 11px;
    color: #697386
}

.legend span {
    display: flex;
    align-items: center;
    gap: 7px
}

.legend strong {
    margin-left: auto;
    color: #263147
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.green-bg {
    background: #35b979
}

.orange-bg {
    background: #f0a345
}

.gray-bg {
    background: #bdc3ce
}

.schedule {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    white-space: nowrap
}

th {
    text-align: left;
    color: #9aa2b0;
    font-weight: 500;
    padding: 10px;
    border-bottom: 1px solid #edf0f5
}

td {
    padding: 14px 10px;
    border-bottom: 1px solid #f1f2f6
}

.status {
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 10px
}

.in-progress {
    background: #e7efff;
    color: #3562ed
}

.waiting {
    background: #fff0df;
    color: #d77b13
}

.done {
    background: #e5f8ee;
    color: #15925a
}

@media(max-width:950px) {
    .sidebar {
        width: 70px
    }

    .brand div,
    nav span,
    .profile div:not(.avatar),
    .profile>span {
        display: none
    }

    main {
        width: calc(100% - 70px);
        padding: 25px
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {

    .stats,
    .grid {
        grid-template-columns: 1fr
    }

    .hall-list {
        grid-template-columns: 1fr 1fr
    }

    main {
        padding: 20px 14px
    }

    h1 {
        margin: 0 0 6px;
        color: #3b2418;
        font-size: 28px;
        letter-spacing: 0.5px;
        }
}