/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #0b1020, #05070d);
  color: #ffffff;
}

/* HEADER */
.app-header {
  padding: 24px 20px 16px;
}

.app-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.app-subtitle {
  margin-top: 4px;
  font-size: 14px;
  color: #9aa4bf;
}

/* PRICE LIST */
.price-list {
  padding: 16px;
  display: grid;
  gap: 14px;
}

/* CARD */
.item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);

  animation: slideUp 0.35s ease both;
}

.item b {
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}

.item .cost {
  font-size: 30px;
  font-weight: 700;
  color: #00e0ff;
}

.item small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9aa4bf;
}

/* LOADING */
.loading {
  text-align: center;
  margin-top: 60px;
  font-size: 15px;
  color: #9aa4bf;
}

/* ANIMATION */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status {
  text-align: center;
  font-size: 12px;
  color: #9aa4bf;
  margin-bottom: 12px;
}

.search {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;

  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;

  backdrop-filter: blur(8px);
}

.search::placeholder {
  color: #9aa4bf;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-around;
  align-items: center;

  height: 64px;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(14px);

  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}

.nav-btn {
  background: none;
  border: none;
  color: #9aa4bf;

  display: flex;
  flex-direction: column;
  align-items: center;

  font-size: 18px;
  cursor: pointer;
}

.nav-btn span {
  font-size: 11px;
  margin-top: 4px;
}

.nav-btn.active {
  color: #4ade80;
}

/* Prevent content hiding under nav */
.price-list {
  padding-bottom: 90px;
}


/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
}

.modal.hidden {
  display: none;
}

.modal-content {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #0b1020, #070b18);
  border-radius: 20px 20px 0 0;
  padding: 24px;
  animation: modalUp 0.35s ease;
}

.modal-content h3 {
  margin-bottom: 16px;
  text-align: center;
}

.modal-content input {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: none;
  background: #11182f;
  color: white;
  font-size: 16px;
}

.primary-btn {
  width: 100%;
  padding: 14px;
  background: #4ade80;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 8px;
  cursor: pointer;
}

.secondary-btn {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: transparent;
  border: none;
  color: #9aa4bf;
}

@keyframes modalUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}


/* Stats Screen */
.stats {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.stats.hidden {
  display: none;
}

.stats h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-card span {
  font-size: 14px;
  color: #9aa4bf;
}

.stat-card b {
  font-size: 20px;
  color: #4ade80;
}


/* More button */
.more-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #9aa4bf;
  font-size: 20px;
  cursor: pointer;
}

/* Danger button */
.danger-btn {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: #ef4444;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.right {
  text-align: right;
}

.edit-btn {
  margin-top: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.edit-btn:hover {
  background: rgba(255,255,255,0.18);
}
.category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  color: #9aa4bf;
  margin-top: 6px;
}
.category:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Scrollbar */
.price-list::-webkit-scrollbar {
  width: 8px;
}
.price-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.price-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}



