/* حمایت باز — Vazirmatn FD, RTL, minimal café */

@font-face {
  font-family: 'Vazirmatn FD';
  src: url('../assets/fonts/vazirmatn/misc/Farsi-Digits/fonts/webfonts/Vazirmatn-FD-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn FD';
  src: url('../assets/fonts/vazirmatn/misc/Farsi-Digits/fonts/webfonts/Vazirmatn-FD-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn FD';
  src: url('../assets/fonts/vazirmatn/misc/Farsi-Digits/fonts/webfonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn FD';
  src: url('../assets/fonts/vazirmatn/misc/Farsi-Digits/fonts/webfonts/Vazirmatn-FD-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Vazirmatn FD', sans-serif;
  direction: rtl;
  margin: 0;
  padding: 0;
  color: #2c2c2c;
  background: #faf9f7;
  line-height: 1.6;
}

/* —— Café (public) —— */
.cafe-page {
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
}
.cafe-wrap {
  max-width: 42rem;
  margin: 0 auto;
}
.cafe-header {
  text-align: center;
  margin-bottom: 1rem;
}
.cafe-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}
.tagline {
  margin: 0;
  color: #666;
  font-size: 1rem;
  font-weight: 400;
}
.coffee-tiers h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: #444;
}
.tiers-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}
.tiers-grid::-webkit-scrollbar {
  height: 6px;
}
.tiers-grid::-webkit-scrollbar-track {
  background: transparent;
}
.tiers-grid::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 999px;
}
.tier-card {
  background: #fff;
  border: 1px solid #e8e6e3;
  border-radius: 10px;
  padding: 1.1rem 1rem;
  text-align: center;
  flex: 0 0 auto;
  min-width: 11rem;
  scroll-snap-align: start;
  transition: border-color 0.2s, transform 0.15s;
}
.tier-card:hover {
  border-color: #d4cfc7;
  box-shadow: none;
  transform: translateY(-2px);
}
.tier-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.tier-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: #1a1a1a;
}
.tier-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem;
}
.tier-price {
  font-size: 1rem;
  font-weight: 600;
  color: #5c4a3a;
  margin: 0 0 1rem;
}
.btn-select {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: #5c4a3a;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-select:hover {
  background: #4a3c2f;
}
.no-tiers {
  text-align: center;
  color: #666;
  padding: 2rem;
}

/* —— Interactive Coffee Slider —— */
.coffee-slider-section {
  text-align: center;
  padding: 0.5rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coffee-cup-container {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  width: 100%;
}

.coffee-cup {
  position: relative;
  transition: transform 0.2s ease-out;
  transform-origin: bottom center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cup-body {
  width: 120px;
  height: 95px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 30%, #e0e0e0 70%, #d0d0d0 100%);
  border-radius: 10px 10px 55px 55px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset -8px 0 15px rgba(0,0,0,0.08),
    inset 8px 0 15px rgba(255,255,255,0.9),
    0 8px 25px rgba(0,0,0,0.15),
    0 4px 10px rgba(0,0,0,0.1);
}

.cup-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5px;
  right: 5px;
  height: 8px;
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  border-radius: 50%;
  z-index: 5;
}

.cup-handle {
  position: absolute;
  left: -28px;
  top: 20px;
  width: 35px;
  height: 55px;
  border: 10px solid #e8e8e8;
  border-right: none;
  border-radius: 25px 0 0 25px;
  box-shadow: 
    -3px 3px 8px rgba(0,0,0,0.1),
    inset 2px 0 5px rgba(255,255,255,0.8);
  z-index: -1;
}

.coffee-liquid {
  position: absolute;
  bottom: 5px;
  left: 6px;
  right: 6px;
  height: 5%;
  background: linear-gradient(180deg, #D2691E 0%, #8B4513 40%, #654321 100%);
  transition: height 0.15s ease-out;
  border-radius: 0 0 48px 48px;
  box-shadow: inset 0 -3px 10px rgba(0,0,0,0.2);
}

.coffee-liquid::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(180deg, #CD853F 0%, #D2691E 50%, #8B4513 100%);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(139,69,19,0.3);
}

.cup-shine {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 50px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  border-radius: 10px;
  pointer-events: none;
  z-index: 10;
}

.cup-saucer {
  width: 160px;
  height: 25px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 30%, #e0e0e0 100%);
  border-radius: 50%;
  margin-top: -8px;
  box-shadow: 
    0 5px 15px rgba(0,0,0,0.12),
    inset 0 2px 5px rgba(255,255,255,0.8);
  position: relative;
  z-index: -1;
}

.cup-saucer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.steam {
  position: absolute;
  width: 10px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(200,200,200,0.2) 50%, transparent 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(2px);
}

.steam-1 {
  left: 35px;
  top: -35px;
  animation: steam-rise 2.5s ease-in-out infinite;
}

.steam-2 {
  left: 60px;
  top: -40px;
  animation: steam-rise 2.5s ease-in-out infinite 0.7s;
}

.steam-3 {
  left: 85px;
  top: -30px;
  animation: steam-rise 2.5s ease-in-out infinite 1.4s;
}

@keyframes steam-rise {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-40px) scaleX(1.5);
    opacity: 0;
  }
}

.amount-display {
  margin-bottom: 2rem;
}

.amount-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #5c4a3a;
  display: inline-block;
  transition: all 0.2s ease;
}

.amount-currency {
  font-size: 1.2rem;
  color: #888;
  margin-right: 0.5rem;
}

.slider-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
}

.slider-track {
  position: relative;
  height: 12px;
  background: linear-gradient(90deg, #e8e6e3 0%, #d4cfc7 100%);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
  border-radius: 10px;
  width: 0%;
  transition: width 0.1s ease-out;
}

.slider-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #f0f0f0 100%);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.2),
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.slider-thumb:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 
    0 6px 18px rgba(0,0,0,0.25),
    0 3px 6px rgba(0,0,0,0.15),
    inset 0 1px 2px rgba(255,255,255,0.8);
}

.slider-thumb:active {
  transform: translate(-50%, -50%) scale(0.95);
  cursor: grabbing;
}

.thumb-icon {
  font-size: 1.4rem;
  user-select: none;
}

.slider-labels {
  display: none;
}

.slider-hint {
  color: #999;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.selected-amount {
  color: #5c4a3a;
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem;
  background: #f9f7f5;
  border-radius: 8px;
  border: 1px dashed #d4cfc7;
}

.selected-amount strong {
  color: #8B4513;
}

.btn-checkout:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-checkout {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #5c4a3a;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: background 0.2s, opacity 0.2s;
}

.btn-checkout:hover:not(:disabled) {
  background: #4a3c2f;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .coffee-cup-container {
    height: 180px;
  }
  
  .cup-body {
    width: 100px;
    height: 80px;
  }
  
  .cup-handle {
    left: -24px;
    top: 15px;
    width: 30px;
    height: 48px;
    border-width: 8px;
  }
  
  .cup-saucer {
    width: 135px;
    height: 20px;
  }
  
  .amount-value {
    font-size: 2rem;
  }
  
  .slider-container {
    padding: 0 0.5rem;
  }
  
  .steam-1 { left: 28px; }
  .steam-2 { left: 50px; }
  .steam-3 { left: 72px; }
}
/* Recent Donations */
.recent-donations {
  background: linear-gradient(135deg, #fff 0%, #faf8f6 100%);
  border: 1px solid #e8e6e3;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.donations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.recent-donations h3 {
  font-size: 0.95rem;
  color: #5c4a3a;
  margin: 0;
}

.view-all-link {
  font-size: 0.8rem;
  color: #5c4a3a;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  background: #f0ebe6;
  border-radius: 15px;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  background: #5c4a3a;
  color: #fff;
}

.view-all-link-small {
  font-size: 0.65rem;
  color: #5c4a3a;
  text-decoration: none;
  margin-right: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: #fff;
  border: 1px solid #d4cfc7;
  border-radius: 12px;
  vertical-align: middle;
  transition: all 0.2s ease;
  font-weight: 400;
}

.view-all-link-small:hover {
  background: #5c4a3a;
  color: #fff;
  border-color: #5c4a3a;
}

.donations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
  overflow: hidden;
}

.donation-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #e8e6e3;
  border-radius: 20px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  cursor: default;
  transition: all 0.2s ease;
}

.donation-item:hover {
  background: #f5f3f1;
  border-color: #d4cfc7;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.donation-icon {
  font-size: 1rem;
}

.donation-name {
  color: #444;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donation-amount {
  color: #5c4a3a;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Compact Donate Form */
.donate-form {
  background: #fff;
  border: 1px solid #e8e6e3;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.donate-form.compact {
  padding: 1.25rem;
}

.donate-form h2 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.selected-tier {
  color: #5c4a3a;
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.selected-amount {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.75rem;
  background: #f9f7f5;
  border-radius: 8px;
  border: 1px dashed #d4cfc7;
}

.selected-amount strong {
  color: #5c4a3a;
}

.donate-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.donate-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #666;
}

.donate-form input[type="text"] {
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  direction: rtl;
}

.donate-form input[type="text"]:focus {
  outline: none;
  border-color: #5c4a3a;
  box-shadow: 0 0 0 2px rgba(92, 74, 58, 0.1);
}

@media (max-width: 480px) {
  .donate-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .donations-list {
    gap: 0.4rem;
  }
  
  .donation-item {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .donations-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem;
    width: 100%;
  }
  
  .recent-donations {
    padding: 0.75rem;
  }
  
  .donation-name {
    max-width: 60px;
    font-size: 0.7rem;
  }
  
  .donation-amount {
    font-size: 0.7rem;
  }
}
.btn-checkout {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #5c4a3a;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.btn-checkout:hover {
  background: #4a3c2f;
}

/* Thank you */
.thank-you-page .cafe-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
.thank-you-box {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid #e8e6e3;
  max-width: 28rem;
}
.thank-you-box.success { border-color: #a8c99b; background: #f8fbf6; }
.thank-you-box.failed  { border-color: #e8b4b4; background: #fbf6f6; }
.thank-you-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.thank-you-box h1 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}
.thank-you-box p {
  margin: 0 0 1.5rem;
  color: #555;
}
.btn-back {
  display: inline-block;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5c4a3a;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #5c4a3a;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-back:hover {
  background: #5c4a3a;
  color: #fff;
}

/* —— Admin —— */
.admin-page {
  min-height: 100vh;
  background: #f5f5f5;
}
.admin-page.login-screen {
  background: radial-gradient(circle at top, #f3e7dd 0, #f5f5f5 45%, #f2f2f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.admin-header {
  background: #2c2c2c;
  color: #fff;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.admin-header a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.admin-header nav a {
  margin-right: 1rem;
  opacity: 0.9;
}
.admin-header nav a:hover { opacity: 1; }
.admin-main {
  padding: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
.admin-main h1 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: #1a1a1a;
}
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-cards .card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
  text-align: center;
}
.card-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
}
.card-label {
  font-size: 0.85rem;
  color: #666;
}
.admin-main .message { color: #2d7a3e; margin: 0 0 1rem; }
.admin-main .error   { color: #b53; margin: 0 0 1rem; }

/* Admin Settings */
.settings-container {
  max-width: 48rem;
}

.settings-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.settings-section h2 {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  color: #1a1a1a;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #444;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
  font-family: inherit;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5c4a3a;
  box-shadow: 0 0 0 3px rgba(92, 74, 58, 0.1);
}

.help-text {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.3rem;
}

.form-actions {
  margin-top: 1.5rem;
}

.btn-primary {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #5c4a3a;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #4a3c2f;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: #f0f9eb;
  border: 1px solid #a8c99b;
  color: #2d7a3e;
}

.alert-error {
  background: #fbe9e7;
  border: 1px solid #e8b4b4;
  color: #b53;
}

.login-box {
  max-width: 22rem;
  width: 100%;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.login-logo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #5c4a3a;
  color: #fff;
  font-size: 1.5rem;
}
.login-title-wrap h1 {
  font-size: 1.2rem;
  margin: 0;
}
.login-subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: #777;
}
.login-box label { display: block; font-size: 0.9rem; margin-bottom: 0.35rem; }
.login-box input {
  font-family: inherit;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.login-box button {
  font-family: inherit;
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  background: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.login-box button:hover {
  background: #1f1f1f;
}
.login-box .error {
  color: #b53;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  background: #fbe9e7;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}
.login-meta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #777;
}
.login-meta a {
  color: #5c4a3a;
  text-decoration: none;
}
.login-meta a:hover {
  text-decoration: underline;
}

.tier-form {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}
.tier-form h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.tier-form label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; }
.tier-form input[type="text"],
.tier-form input[type="number"] {
  font-family: inherit;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.tier-form label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.tier-form button {
  font-family: inherit;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  background: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 0.5rem;
}
.tier-form a { font-size: 0.9rem; color: #555; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.admin-table th,
.admin-table td {
  padding: 0.65rem 0.85rem;
  text-align: right;
  border-bottom: 1px solid #eee;
}
.admin-table th {
  background: #f8f8f8;
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table a {
  color: #2c2c2c;
  text-decoration: none;
  margin-left: 0.75rem;
  font-size: 0.9rem;
}
.admin-table a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .admin-table { font-size: 0.85rem; }
  .admin-table th, .admin-table td { padding: 0.5rem; }
}
