* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fffafc;
  color: #302431;
  font:
    14px "DM Sans",
    sans-serif;
}
button,
select {
  font: inherit;
  cursor: pointer;
}
button {
  transition: 0.2s;
}
button:hover {
  filter: brightness(0.96);
}
aside {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid #f0e5eb;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  font:
    600 25px/1.05 Outfit,
    sans-serif;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #e91e63;
  color: white;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.brand small {
  display: block;
  font: 10px "DM Sans";
  letter-spacing: 2px;
  margin-top: 7px;
  color: #95818e;
}
.section-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #a2949e;
  margin: 42px 14px 15px;
}
nav button {
  width: 100%;
  background: none;
  border: 0;
  color: #857780;
  text-align: left;
  padding: 13px 14px;
  border-radius: 11px;
  margin-bottom: 6px;
  display: flex;
  gap: 13px;
  align-items: center;
}
nav button.active {
  background: #fff0f6;
  color: #d51b5b;
  font-weight: 700;
}
nav .count {
  margin-left: auto;
  font-size: 11px;
  background: #ffe0ec;
  padding: 2px 7px;
  border-radius: 6px;
}
.bottom {
  margin-top: auto;
  border-top: 1px solid #f0e5eb;
  padding-top: 20px;
  color: #857780;
  font-size: 12px;
}
.avatar {
  background: #fae3ec;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ae3860;
}
.user {
  display: flex;
  gap: 10px;
  align-items: center;
}
.user strong {
  display: block;
  color: #453640;
  font-size: 12px;
}
.user small {
  font-size: 10px;
}
main {
  margin-left: 238px;
  padding: 0 42px 32px;
  max-width: 1600px;
}
header {
  height: 89px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee3e9;
}
.crumb {
  color: #988793;
  font-size: 12px;
}
.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.preview {
  color: #a65877;
  background: #ffedf4;
  border: 1px solid #f8d9e5;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 1px;
}
.welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 35px 0 27px;
}
h1 {
  font: 500 32px Outfit;
  margin: 0 0 8px;
  letter-spacing: -0.8px;
}
.muted {
  color: #96848f;
  font-size: 12px;
}
.period {
  border: 1px solid #eadfe5;
  background: white;
  padding: 10px 15px;
  border-radius: 9px;
  color: #66505e;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.card {
  border: 1px solid #eee3e9;
  border-radius: 15px;
  background: white;
  padding: 23px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a7783;
  font-size: 12px;
}
.metric-icon {
  background: #fff1f7;
  color: #d94a7e;
  border-radius: 9px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.number {
  font: 500 33px Outfit;
  letter-spacing: -1px;
  margin: 12px 0 10px;
}
.trend {
  color: #38927d;
  font-size: 11px;
}
.trend span {
  color: #a1909b;
  margin-left: 6px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 21px;
  margin-top: 24px;
}
h2 {
  font: 500 19px Outfit;
  margin: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.text-button {
  border: 0;
  background: none;
  color: #df2464;
  font-size: 11px;
  padding: 0;
}
.attention {
  background: #fff4e8;
  border: 1px solid #f6e1c7;
  border-radius: 11px;
  padding: 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 21px;
  font-size: 12px;
  color: #805830;
}
.attention strong {
  display: block;
  margin-bottom: 4px;
}
.attention small {
  font-size: 11px;
  color: #a37e54;
}
.attention button {
  margin-left: auto;
  border: 0;
  background: #fff;
  color: #8c602d;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 11px;
}
.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #f0e6eb;
  margin-bottom: 3px;
}
.tabs button {
  background: none;
  border: 0;
  color: #96838f;
  padding: 0 0 13px;
  font-size: 12px;
}
.tabs button.selected {
  border-bottom: 2px solid #e91e63;
  color: #d92261;
  font-weight: 600;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  color: #a0909b;
  font-weight: 400;
  font-size: 10px;
  padding: 17px 0;
}
td {
  padding: 18px 0;
  border-top: 1px solid #f5eef2;
}
td:first-child {
  font-weight: 600;
}
td small {
  display: block;
  color: #a1909c;
  font-size: 10px;
  margin-top: 5px;
}
.badge {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 10px;
}
.new {
  background: #fff0d9;
  color: #a77827;
}
.preparing {
  background: #f1eafe;
  color: #9270be;
}
.ready {
  background: #e9f7f0;
  color: #398c68;
}
.row-end {
  text-align: right;
}
.chart {
  margin-top: 21px;
}
.legend {
  font-size: 10px;
  color: #9b8794;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e91e63;
  margin-right: 5px;
}
.bars {
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 1px solid #eee5ea;
  padding: 0 9px;
  gap: 20px;
}
.bar {
  background: #ffd8e7;
  width: 32px;
  border-radius: 5px 5px 0 0;
}
.bar:last-child {
  background: #e91e63;
}
.days {
  display: flex;
  justify-content: space-around;
  color: #ac9ba6;
  font-size: 10px;
  margin-top: 10px;
}
.side .card {
  margin-bottom: 20px;
}
.queue {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f4edf1;
  align-items: center;
}
.queue:last-child {
  border: 0;
  padding-bottom: 0;
}
.queue-icon {
  border-radius: 10px;
  background: #faf4f7;
  padding: 10px;
  font-size: 17px;
}
.queue strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.queue small {
  display: block;
  color: #a08c99;
  font-size: 10px;
  margin-top: 5px;
}
.queue b {
  margin-left: auto;
  color: #d32c66;
  font: 500 19px Outfit;
}
.loyalty {
  background: #fff0f6 !important;
  border-color: #f8dce7 !important;
  position: relative;
  overflow: hidden;
}
.loyalty h2 {
  font-size: 18px;
}
.loyalty p {
  font-size: 12px;
  color: #9a6b7d;
  line-height: 1.7;
  margin-bottom: 21px;
}
.loyalty .number {
  color: #bd2257;
  margin-bottom: 3px;
}
.quick {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #f2eaf0;
  color: #77606e;
  font-size: 12px;
  width: 100%;
  background: none;
  border-width: 0 0 1px;
  text-align: left;
}
.quick span:last-child {
  margin-left: auto;
  color: #b9a4b1;
}
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 10px;
  color: #b09ba8;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #3f2937;
  color: white;
  padding: 13px 22px;
  border-radius: 10px;
  display: none;
  box-shadow: 0 8px 30px #57304625;
  z-index: 5;
}
@media (max-width: 1100px) {
  main {
    padding: 0 24px 24px;
    margin-left: 200px;
  }
  aside {
    width: 200px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .metrics {
    gap: 10px;
  }
  .card {
    padding: 18px;
  }
  .side .card:last-child {
    display: none;
  }
}
@media (max-width: 720px) {
  aside {
    display: none;
  }
  main {
    margin-left: 0;
    padding: 0 16px 24px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .welcome {
    align-items: flex-start;
    gap: 15px;
  }
  h1 {
    font-size: 26px;
  }
  .side {
    display: block;
  }
  .header-right {
    gap: 10px;
  }
  td:nth-child(3),
  th:nth-child(3) {
    display: none;
  }
  .card {
    padding: 16px;
  }
  .preview {
    font-size: 9px;
  }
  footer {
    gap: 20px;
  }
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
h1,
h2,
.brand,
.number {
  font-family: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b83371;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary,
.secondary {
  border-radius: 9px;
  padding: 11px 17px;
  font-weight: 600;
}
.primary {
  background: #e91e63;
  color: white;
  border: 1px solid #e91e63;
}
.secondary {
  background: white;
  border: 1px solid #eadbe4;
  color: #715567;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  margin: 20px 0;
}
.field input,
.field select,
.field textarea,
input[type="search"],
select {
  border: 1px solid #e5d8e1;
  background: white;
  border-radius: 9px;
  padding: 12px;
  color: #372832;
  font: inherit;
  min-width: 0;
}
textarea {
  resize: vertical;
}
.message {
  padding: 13px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.6;
}
.error {
  background: #fff0ef;
  color: #a52230;
  border: 1px solid #ffd9db;
}
.info {
  background: #fff2f7;
  color: #8a4160;
  border: 1px solid #f4dce6;
}
.success {
  background: #eaf6f0;
  color: #297657;
}
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar input {
  flex: 1;
}
.orders-panel,
.order-detail {
  margin-top: 22px;
}
.table-scroll {
  overflow: auto;
}
.empty {
  padding: 50px 15px;
  text-align: center;
  color: #a58a99;
}
.items {
  padding-left: 20px;
  line-height: 2;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  max-width: 1180px;
  margin: auto;
  padding: 65px;
}
.login-story {
  color: #9b3660;
}
.login-story h2 {
  font-size: 48px;
  line-height: 1.16;
  white-space: pre-line;
  letter-spacing: -2px;
  color: #482739;
}
.login-story p {
  max-width: 310px;
  line-height: 1.8;
  color: #9f7185;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 35px;
}
.candy-art {
  font-size: 150px;
  color: #f1a6c1;
  margin-left: 55px;
  line-height: 1.4;
}
.login-card {
  padding: 42px;
  background: white;
  border: 1px solid #efdee7;
  border-radius: 24px;
  box-shadow: 0 20px 80px #a3446810;
}
.login-card .brand {
  margin-bottom: 38px;
  font-size: 22px;
}
.login-card h1 {
  font-size: 29px;
}
.login-card .primary {
  width: 100%;
  margin: 6px 0 15px;
}
.login-card p {
  line-height: 1.8;
}
.compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 25px;
}
.phone-preview {
  border-radius: 28px;
  background: linear-gradient(140deg, #fae2ed, #f6f1fa);
  padding: 35px 18px;
  min-height: 330px;
  text-align: center;
}
.push-preview {
  margin-top: 40px;
  background: #ffffffda;
  border: 1px solid white;
  padding: 17px;
  border-radius: 17px;
  text-align: left;
  overflow-wrap: anywhere;
}
.push-preview strong {
  display: block;
  margin: 10px 0 5px;
}
.push-preview p {
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.recipient {
  display: block;
  text-align: left;
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid #eddfe7;
  border-radius: 8px;
  margin-top: 8px;
}
.recipient.selected {
  border-color: #e91e63;
  background: #fff0f6;
}
.review-panel {
  border: 2px solid #ecc1d2;
  padding: 22px;
  border-radius: 12px;
  margin-top: 20px;
}
.history {
  margin-top: 25px;
}
.history-item {
  padding: 18px 0;
  border-top: 1px solid #f1e7ed;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.history-item p {
  font-size: 12px;
  color: #8a6f7e;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.bottom strong {
  overflow-wrap: anywhere;
}
.bottom .secondary {
  width: 100%;
}
@media (max-width: 900px) {
  .compose-layout {
    grid-template-columns: 1fr;
  }
  .login-page {
    padding: 25px;
    gap: 30px;
  }
  .login-story h2 {
    font-size: 32px;
  }
  .login-card {
    padding: 25px;
  }
  .phone-preview {
    min-height: 220px;
  }
}
@media (max-width: 720px) {
  aside {
    display: flex;
    position: static;
    width: 100%;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  aside .section-label,
  aside .bottom p,
  aside .brand small {
    display: none;
  }
  aside nav {
    display: flex;
    margin-top: 15px;
  }
  aside nav button {
    margin: 0;
  }
  aside .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 10px;
  }
  aside .bottom .secondary {
    width: auto;
  }
  main {
    margin: 0;
  }
  .login-page {
    display: block;
  }
  .login-story {
    display: none;
  }
  .login-card {
    max-width: 430px;
    margin: 35px auto;
  }
  th:nth-child(3),
  td:nth-child(3) {
    display: table-cell;
  }
  .compose-layout {
    display: block;
  }
  .phone-preview {
    margin-top: 20px;
  }
  .welcome {
    margin-top: 25px;
  }
}
