/* ================== Pixels App Main Stylesheet ================== */
:root {
  /* Typography */
  --font-family: "Albert Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-size: 12px;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 800;

  /* Palette */
  --text-color: #252B2A;
  --dark-color: #1C1B1F;
  --dark-color-secondary: #333333;
  --light-color: #EAEAEA;
  --white-color: #ffffff;

  /* Cells */
  --cell-color-green: #BEE97E4D;
  --cell-color-blue:  #7EB8E94D;
  --cell-color-red:   #FF7BAC4D;
  --cell-border-color: #EAEAEA;

  /* Buttons */
  --button-default-hover: #252525;
  --button-default-disabled: #9E9E9E;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}

/* ----------------------------- Header ----------------------------- */
#header {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  z-index: 200;
  background: transparent;
  padding: 10px 20px;
}

.logo-holder {
  width: 217px;
  display: flex;
  align-items: center;
}

#logo {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px;
  width: 154px;
  height: 46px;
  margin: 0 0 0 6px;
  background: var(--white-color);
  border: 1px solid var(--light-color);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  border-radius: 50px;
}

.menu-toggle,
.money-bag {
  width: 45px;
  height: 78px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
}

.menu-toggle {
  background-image: url('../img/menu-toggle-bg.svg');
}

.money-bag {
  position: fixed;
  right: 0;
  top: 15%;
  background-image: url('../img/menu-toggle-bg-right.svg');
  z-index: 100;
}

.menu-toggle img {
  transition: transform 0.4s ease;
}

.menu-toggle:hover img {
  transform: rotate(180deg);
}

/* Search */
.search-holder {
  margin: 0 0 0 215px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 6px 0;
  gap: 16px;
  width: 574.16px;
  height: 46px;
  background: var(--white-color);
  border: 1px solid var(--light-color);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
  border-radius: 33px;
}

.search-holder .form-control {
  padding: 6px 24px 6px 58px;
  border: none;
  background: url('../img/search-icon.png') 24px center no-repeat;
  transition: background-position 0.3s ease;
}

.search-holder .form-control:focus {
  outline: none;
  box-shadow: none;
  background: url('../img/search-icon.png') 20px center no-repeat;
}

/* Options bar */
.options-bar {
  width: 464px;
  display: flex;
  float: right;
}

.options-bar ul,
.options-bar ul li {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.options-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.options-bar ul li {
  margin: 0 32px 0 0;
}

.options-bar ul li:last-child {
  margin: 0;
}

.options-bar ul li a {
  overflow: hidden;
  text-indent: -9999px;
  background-size: cover;
  display: inline-block;
}

.notifications a {
  width: 24px;
  height: 25px;
  background: url('../img/bell-icon.png') center center no-repeat;
}

.chat a {
  width: 34px;
  height: 27px;
  background: url('../img/chat-icon.png') center center no-repeat;
}

.cell-view a {
  width: 25px;
  height: 29px;
  background: url('../img/hexagon-icon.png') center center no-repeat;
}

.avatar a {
  width: 56px;
  height: 56px;
  border-radius: 100px;
  background: var(--white-color) url('../img/cupcake.png') center center no-repeat;
  background-size: 34px 42px !important;
  box-shadow: 0 2px 4px 1.5px rgba(0, 0, 0, 0.15), 0 0.5px 1.5px rgba(0, 0, 0, 0.3);
}

/* ----------------------------- Buttons ---------------------------- */
.btn-default,
.btn-default-outlined {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 129.8px;
  height: 46px;
  padding: 15px;
  border-radius: 50px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-default {
  background: var(--dark-color-secondary);
  border: none;
  color: var(--light-color);
  font-weight: var(--font-weight-medium);
}

.btn-default:hover {
  background: var(--button-default-hover);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
}

.btn-default:disabled {
  background: var(--button-default-disabled);
}

.btn-default-outlined {
  background: none;
  border: 1px solid var(--dark-color);
  color: var(--dark-color);
  font-weight: var(--font-weight-normal);
}

.btn-default-outlined:hover {
  border-width: 2px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  font-weight: var(--font-weight-medium);
}

.btn-default-outlined:disabled {
  border-color: var(--button-default-disabled);
  color: var(--button-default-disabled);
}

.btn-default.btn-large,
.btn-default-outlined.btn-large {
  width: 165px;
}

/* ----------------------------- Footer ----------------------------- */
#footer {
  position: fixed;
  left: 0;
  bottom: 20px;
  padding: 0 27px;
  width: 100%;
  z-index: 200;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-inner > .zoom-options {
  margin-right: auto;
}

.footer-inner > .category-toggle {
  margin: 0 auto;
}

.footer-inner > :last-child {
  margin-left: auto;
}

/* Zoom options */
.zoom-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 11px 9px;
  width: 168px;
  height: 47px;
  background: var(--white-color);
  border: 1px solid var(--light-color);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  border-radius: 50px;
}

.zoom-options ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zoom-options li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-options li:first-child {
  border-right: 1px solid var(--light-color);
  padding-right: 8px;
}

.zoom-options li:last-child {
  border-left: 1px solid var(--light-color);
  padding-left: 8px;
}

.zoom-options li:first-child span,
.zoom-options li:last-child span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.zoom-options li:first-child span:hover,
.zoom-options li:last-child span:hover {
  opacity: 0.7;
}

.zoom-options li:first-child span img,
.zoom-options li:last-child span img {
  object-fit: cover;
  pointer-events: none;
}

.zoom-percentage {
  flex: 1;
  text-align: center;
}

.zoom-percentage span {
  display: block;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  user-select: none;
}

/* Category toggle */
.category-toggle {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 11px 9px;
  width: 329px;
  height: 47px;
  background: var(--white-color);
  border: 1px solid var(--light-color);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
  border-radius: 50px;
}

.category-toggle ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-toggle li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-toggle li:first-child span,
.category-toggle li:last-child span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-toggle li:first-child span img,
.category-toggle li:last-child span img {
  object-fit: cover;
}

.category-toggle .zoom-percentage {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-toggle .zoom-percentage span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
}

.category-toggle .zoom-percentage img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Help button */
.help-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: var(--white-color);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.05);
}

/* Utility classes */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ----------------------------- Landing Page ---------------------------- */
.landing-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 20px;
}

.hero-section {
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero-section p {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 30px;
}

.stats-section {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
  margin-bottom: 8px;
}

.stat p {
  font-size: 14px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}