:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: var(--border-radius);
}

nav ul li a:hover {
    background-color: var(--secondary-color);
}

/* Main Title */
.main-title {
    text-align: center;
    margin: 30px 0;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.add-to-cart {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    transition: var(--transition);
}

.add-to-cart:hover {
    background-color: #2980b9;
}

.add-to-cart i {
    margin-right: 8px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 18px;
}

/* Floating Cart Button */
.cart-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.cart-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
}

.cart-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* Carrito de Compras */
.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart i {
    font-size: 50px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.cart-form {
    background-color: #575757;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    margin-bottom: 10px;
    color: var(--white-color);
}

.cart-item-price {
    color: var(--white-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity label {
    margin-right: 10px;
    color: #fffefe;
}

.cart-item-quantity input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    text-align: center;
}

.cart-item-subtotal {
    text-align: right;
}

.cart-item-subtotal p {
    font-weight: bold;
    margin-bottom: 10px;
}

.remove-item {
    background-color: transparent;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.1);
}

.cart-summary {
    background-color: #6f6e6e;
    padding: 20px;
    border-radius: var(--border-radius);
}

.cart-total {
    text-align: right;
    margin-bottom: 20px;
}

.cart-total h3 {
    font-size: 24px;
}

.cart-total span {
    color: var(--white-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn i {
    margin-right: 8px;
}

.btn:hover {
    background-color: #6f6e6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-update {
    background-color: #04b2be;
}

.btn-update:hover {
    background-color: #95a5a6;
}

.btn-clear {
    background-color: #ff0000;
}

.btn-clear:hover {
    background-color: #95a5a6;
}

.btn-checkout {
    
    background-color: #2ecc71;
}

.btn-checkout:hover {
    background-color: #95a5a6;
}

.btn-back {
    background-color: #95a5a6;
}

.btn-back:hover {
    background-color: #7f8c8d;
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #eee;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: var(--transition);
}

.step p {
    color: #666;
    font-size: 14px;
}

.step.active span {
    background-color: var(--secondary-color);
    color: white;
}

.step.active p {
    color: var(--dark-color);
    font-weight: 500;
}

/* Checkout Form */
.checkout-form {
    background-color: #6f6e6e;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #000000;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Receipt */
.receipt-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.receipt-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.receipt-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.receipt-details {
    margin-bottom: 30px;
}

.receipt-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.receipt-label {
    font-weight: bold;
    color: var(--dark-color);
}

.receipt-value {
    color: #666;
}

.signature-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.verified {
    color: var(--success-color);
    font-weight: bold;
}

.not-verified {
    color: var(--error-color);
    font-weight: bold;
}

.receipt-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item-image {
        margin: 0 auto;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkout-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Estilos para el selector de moneda */
.currency-selector {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.currency-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark-color);
}

.currency-options {
    display: flex;
    gap: 15px;
}

.currency-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
    flex: 1;
}

.currency-options label:hover {
    border-color: var(--secondary-color);
}

.currency-options input[type="radio"] {
    margin-right: 10px;
}

.currency-option {
    display: flex;
    flex-direction: column;
}

.currency-option strong {
    font-size: 18px;
    color: var(--primary-color);
}

.currency-option small {
    font-size: 12px;
    color: #666;
}

.currency-options input[type="radio"]:checked + .currency-option {
    color: var(--secondary-color);
}

.currency-options input[type="radio"]:checked + .currency-option strong {
    color: var(--secondary-color);
}

.order-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.order-summary h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}



/* =========================================================
   TEMA DARK (estilo fondo negro + rojos contrastantes)
   Pegar al FINAL del style.css
========================================================= */
:root{
  --bg: #0b0b0f;
  --panel: #12121a;
  --panel2: #161623;
  --text: #f3f3f7;
  --muted: #b6b6c6;
  --border: rgba(255,255,255,.10);

  --brand: #e10600;
  --brand2: #ff2a2a;
  --accent: #ffe400;
}

html, body{
  background: var(--bg) !important;
  color: var(--text) !important;
}

a{ color: var(--text); }
a:hover{ color: var(--brand2); }

header{
  background: rgba(10,10,15,.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.header-container .logo i{ color: var(--brand); }
.header-container .logo span{ color: var(--text); font-weight: 800; }

nav ul li a{
  color: var(--text) !important;
  font-weight: 700;
}
nav ul li a:hover{ color: var(--brand2) !important; }

.main-title{ color: var(--text); }
.main-title::after{ background: var(--brand); }

.product-card{
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.product-card h3{ color: var(--text) !important; }
.product-description{ color: var(--muted) !important; }
.product-price{ color: var(--accent) !important; font-weight: 900; }

.product-image{ background: rgba(255,255,255,.02); }
.product-overlay{ background: rgba(0,0,0,.55); }

.add-to-cart,
.cart-button{
  background: var(--brand) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12);
}
.add-to-cart:hover,
.cart-button:hover{ background: var(--brand2) !important; }

.cart-floating .cart-count{
  background: var(--accent) !important;
  color: #000 !important;
  font-weight: 900;
}

footer{
  background: rgba(10,10,15,.95);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

input, select, textarea{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
}
input::placeholder, textarea::placeholder{
  color: rgba(243,243,247,.65);
}


/* --- Ajustes header (logo clickeable + contador en menú) --- */
.logo-link{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color: inherit;
}
.nav-cart a{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cart .cart-count{
  display:inline-grid;
  place-items:center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

/* Chips de categorías */
.category-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 12px 0 18px;
}
.category-chips .chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
}
.category-chips .chip:hover{
  border-color: rgba(225,6,0,.6);
  color: var(--brand2);
}
.product-link{ color: inherit; text-decoration:none; }
.product-link:hover{ color: var(--brand2); }

/* Detalle de producto */
.product-detail{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: start;
  margin: 18px 0 26px;
}
.detail-media{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.detail-media img{
  width: 100%;
  height: 420px;
  object-fit: contain;
}
.detail-info{
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.detail-title{
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
}
.detail-sku{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 800;
}
.detail-desc{
  color: var(--muted);
  line-height: 1.45;
}
.detail-prices{
  display:flex;
  gap: 12px;
  align-items: baseline;
  margin: 14px 0;
}
.detail-specs{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.detail-specs h3{
  margin: 0 0 10px;
  color: var(--text);
}
.detail-specs ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.detail-specs li{ margin: 6px 0; }
.detail-links{
  margin-top: 14px;
  color: var(--muted);
}
.detail-links a{ color: var(--text); font-weight: 800; text-decoration:none; }
.detail-links a:hover{ color: var(--brand2); }
.detail-links .sep{ margin: 0 8px; opacity: .6; }

.section-title{
  margin: 8px 0 14px;
  font-size: 18px;
  font-weight: 900;
}
@media (max-width: 980px){
  .product-detail{ grid-template-columns: 1fr; }
  .detail-media img{ height: 320px; }
}

/* Páginas de contenido */
.content-card{
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  color: var(--text);
}
.content-card p, .content-card li{ color: var(--muted); line-height: 1.55; }
.content-card h3{ margin-top: 16px; color: var(--text); }
.content-card a{ color: var(--text); font-weight: 900; text-decoration:none; }
.content-card a:hover{ color: var(--brand2); }

/* Formulario de contacto */
.contact-form{ max-width: 620px; }
.form-row{ display:flex; flex-direction:column; gap:8px; margin: 12px 0; }
.form-row label{ font-weight: 900; color: var(--text); }
.muted-note{ color: var(--muted); margin-top: 12px; font-size: 12px; }


/* ====== Componentes utilitarios para pantallas de pago ====== */
.dark-panel{}
.dark-card{
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
@media (max-width: 980px){
  .dark-panel{ grid-template-columns: 1fr !important; }
}

/* =========================================================
   ADMIN (Panel de control)
========================================================= */
.admin-shell{ min-height:100vh; background: var(--bg); color: var(--text); }
.admin-topbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 18px; border-bottom:1px solid var(--border); background: rgba(10,10,15,.9); backdrop-filter: blur(6px); position:sticky; top:0; z-index:10; }
.admin-brand{ display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.2px; }
.admin-brand i{ color: var(--brand); }
.admin-nav{ display:flex; gap:10px; flex-wrap:wrap; }
.admin-nav-link{ color: var(--text); text-decoration:none; padding:8px 10px; border-radius:10px; border:1px solid transparent; font-weight:800; }
.admin-nav-link:hover{ border-color: var(--border); color: var(--brand2); }
.admin-nav-link.active{ background: rgba(255,255,255,.04); border-color: var(--border); }

.admin-content{ width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 40px; }
.admin-header{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.admin-header h1{ margin:0; font-size: 26px; }
.admin-muted{ margin:6px 0 0; color: var(--muted); font-weight:600; }

.admin-filters{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.admin-filters input, .admin-filters select{ padding:10px 12px; border-radius:10px; border:1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text); min-width: 220px; }
.admin-filters select{ min-width: 180px; }

.admin-btn{ display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.12); background: var(--brand); color:#fff; font-weight:900; text-decoration:none; cursor:pointer; }
.admin-btn:hover{ background: var(--brand2); }
.admin-btn-ghost{ background: transparent; border-color: var(--border); }
.admin-btn-ghost:hover{ background: rgba(255,255,255,.05); color: var(--text); }

.admin-card{ background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%); border:1px solid var(--border); border-radius:14px; padding:14px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.admin-table-wrap{ overflow:auto; }
.admin-table{ width:100%; border-collapse: collapse; min-width: 900px; }
.admin-table th, .admin-table td{ padding: 12px 10px; border-bottom:1px solid rgba(255,255,255,.06); text-align:left; vertical-align:top; }
.admin-table th{ color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.admin-actions{ white-space: nowrap; }
.admin-link{ color: var(--accent); font-weight:900; text-decoration:none; }
.admin-link:hover{ color: var(--brand2); text-decoration: underline; }
.admin-empty{ padding: 18px 10px; color: var(--muted); }
.admin-footnote{ color: var(--muted); margin-top: 12px; }
.admin-mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12px; }

.admin-pill{ display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-weight:900; font-size:12px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); }
.admin-pill-small{ padding:4px 8px; font-size:11px; }
.admin-pill-paid{ background: rgba(0,255,120,.08); border-color: rgba(0,255,120,.20); }
.admin-pill-pending{ background: rgba(255,228,0,.10); border-color: rgba(255,228,0,.25); }
.admin-pill-expired{ background: rgba(255,120,0,.10); border-color: rgba(255,120,0,.25); }
.admin-pill-invalid{ background: rgba(255,0,70,.10); border-color: rgba(255,0,70,.25); }
.admin-pill-failed{ background: rgba(255,0,70,.10); border-color: rgba(255,0,70,.25); }

.admin-split{ display:grid; grid-template-columns: 1.4fr .9fr; gap: 16px; align-items:start; }
.admin-card-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 10px; }
.admin-kv{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.admin-kv > div{ background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:10px; }
.admin-kv span{ display:block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.admin-kv strong{ display:block; margin-top:6px; }

.admin-sep{ border:0; border-top:1px solid rgba(255,255,255,.08); margin: 14px 0; }
.admin-actions-form select{ width:100%; margin: 8px 0 10px; padding:10px 12px; border-radius:10px; border:1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text); }
.admin-label{ display:block; font-weight:900; }
.admin-alert{ background: rgba(255,228,0,.10); border:1px solid rgba(255,228,0,.25); padding: 12px; border-radius: 12px; color: var(--text); }

.admin-cb{ border:1px solid rgba(255,255,255,.10); border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.03); margin-top: 10px; }
.admin-cb summary{ cursor:pointer; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.admin-pre{ white-space: pre-wrap; word-break: break-word; margin: 10px 0 0; background: rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.08); padding: 10px; border-radius: 12px; color: #e9e9ef; }

.admin-breadcrumb{ margin-bottom: 10px; }

@media (max-width: 980px){
  .admin-split{ grid-template-columns: 1fr; }
  .admin-kv{ grid-template-columns: 1fr; }
  .admin-filters input{ min-width: 180px; }
}
