/* FightTime — EasyDonate custom theme v1.0
   Install: EasyDonate → Shop settings → Custom CSS → Upload.
   Styled to evoke a compact, classic Minecraft donation shop.
   No external images, scripts, or fonts required.
*/
:root {
  --ft-bg: #0f151d;
  --ft-panel: #18222e;
  --ft-panel-hi: #202e3c;
  --ft-border: #2a3847;
  --ft-accent: #ffbd35;
  --ft-accent-hover: #ffd16d;
  --ft-text: #f4f6f8;
  --ft-muted: #a9b5c1;
  --ft-radius: 9px;
}
html, body { min-height: 100%; }
body {
  background: var(--ft-bg) !important;
  color: var(--ft-text) !important;
  font-family: Inter, 'Segoe UI', Arial, sans-serif !important;
  line-height: 1.5;
}
/* Distinctive flat, compact dark theme */
.navbar, header, .header, .site-header, .navbar-default, .navbar-dark, nav.navbar {
  background: #151f2a !important;
  border-bottom: 1px solid var(--ft-border) !important;
  box-shadow: none !important;
}
.navbar-brand, .navbar .brand, .site-title, .logo-text {
  color: var(--ft-text) !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}
.navbar a, header a, .nav-link { color: #e7edf3 !important; }
.navbar a:hover, header a:hover, .nav-link:hover { color: var(--ft-accent) !important; }
h1, h2, h3, h4, h5, h6, .card-title { color: var(--ft-text) !important; }
a { color: var(--ft-accent); }
a:hover { color: var(--ft-accent-hover); }
.text-muted, small, .small, .text-secondary { color: var(--ft-muted) !important; }
/* Product tiles (common EasyDonate/Bootstrap theme structures) */
.card, .product, .product-card, .item-card, .goods-item, .shop-item,
.product-item, .shop-product, .donate-item, .panel, .modal-content {
  background: var(--ft-panel) !important;
  color: var(--ft-text) !important;
  border: 1px solid var(--ft-border) !important;
  border-radius: var(--ft-radius) !important;
  box-shadow: none !important;
}
.card-header, .card-footer, .panel-heading, .modal-header, .modal-footer {
  background: transparent !important;
  border-color: var(--ft-border) !important;
}
.product-card, .product-item, .goods-item, .shop-item, .shop-product, .donate-item {
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.product-card:hover, .product-item:hover, .goods-item:hover,
.shop-item:hover, .shop-product:hover, .donate-item:hover,
.card:hover { border-color: #56677b !important; }
.product-card:hover, .product-item:hover, .goods-item:hover,
.shop-item:hover, .shop-product:hover, .donate-item:hover { transform: translateY(-2px); }
.card img, .product img, .product-card img, .product-item img { max-width: 100%; object-fit: contain; }
.price, .product-price, .item-price, .goods-price, .cost,
[class*='product-price'], [class*='item-price'] {
  color: var(--ft-accent) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
}
/* Buttons */
.btn-primary, .btn-success, button[type='submit'], input[type='submit'],
.buy-btn, .buy-button, .btn-buy, [class*='buy-button'] {
  background: var(--ft-accent) !important;
  border: 1px solid #e0a129 !important;
  border-radius: 7px !important;
  color: #18202a !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.btn-primary:hover, .btn-success:hover, button[type='submit']:hover,
input[type='submit']:hover, .buy-btn:hover, .buy-button:hover, .btn-buy:hover {
  background: var(--ft-accent-hover) !important;
  border-color: var(--ft-accent-hover) !important;
  color: #111922 !important;
}
.btn-secondary, .btn-outline-secondary, .btn-light {
  color: var(--ft-text) !important;
  background: var(--ft-panel-hi) !important;
  border-color: var(--ft-border) !important;
}
/* Form and checkout readability */
input:not([type='checkbox']):not([type='radio']):not([type='submit']),
select, textarea, .form-control, .form-select {
  background: #101922 !important;
  border: 1px solid #354456 !important;
  border-radius: 7px !important;
  color: var(--ft-text) !important;
  box-shadow: none !important;
}
input::placeholder, textarea::placeholder { color: #8293a5 !important; }
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
  border-color: var(--ft-accent) !important;
  outline: 2px solid rgba(255,189,53,.13) !important;
}
option { background: #101922; color: #fff; }
/* Tabs, category selection and pagination */
.nav-tabs { border-color: var(--ft-border) !important; }
.nav-tabs .nav-link, .list-group-item, .dropdown-menu, .dropdown-item,
.page-link, .accordion-item, .accordion-button {
  background: var(--ft-panel) !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}
.nav-tabs .nav-link.active, .list-group-item.active, .page-item.active .page-link,
.accordion-button:not(.collapsed) {
  background: var(--ft-panel-hi) !important;
  color: var(--ft-accent) !important;
  border-color: var(--ft-accent) !important;
}
.dropdown-item:hover, .list-group-item:hover { background: var(--ft-panel-hi) !important; }
hr, .border, .border-top, .border-bottom { border-color: var(--ft-border) !important; }
.table { color: var(--ft-text) !important; --bs-table-bg: transparent; --bs-table-color: var(--ft-text); }
.table td, .table th { border-color: var(--ft-border) !important; }
/* Footer */
footer, .footer, .site-footer {
  background: #101821 !important;
  color: var(--ft-muted) !important;
  border-top: 1px solid var(--ft-border) !important;
}
/* Fit mobile users */
@media (max-width: 768px) {
  h1 { font-size: 1.65rem !important; }
  h2 { font-size: 1.4rem !important; }
  .card, .product-card, .product-item, .shop-item, .donate-item { border-radius: 8px !important; }
  .btn, button[type='submit'], .buy-btn, .btn-buy { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-item, .goods-item, .shop-item,
  .shop-product, .donate-item { transition: none; transform: none !important; }
}
