/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 05 2026 | 14:31:26 */
/* Festival de Fútbol San Pedro Norte 2027 — estilos del modal de Reglamento */

#reglamento {
cursor: pointer;
}


.rgl-overlay {
  --rgl-accent: #15803d;
  --rgl-accent-dark: #14532d;
  --rgl-bg: #ffffff;
  --rgl-surface: #f4f7f5;
  --rgl-text: #1f2937;
  --rgl-muted: #5b6770;
  --rgl-border: #e1e7e3;
  --rgl-warn: #b91c1c;
  --rgl-warn-bg: #fef2f2;
  --rgl-gold: #b45309;
  --rgl-gold-bg: #fffbeb;
  --rgl-silver: #475569;
  --rgl-silver-bg: #f1f5f9;

  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 20, 15, 0.65);
  backdrop-filter: blur(3px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.rgl-overlay.rgl-open { display: flex; animation: rgl-fade .2s ease; }

@media (prefers-color-scheme: dark) {
  .rgl-overlay {
    --rgl-accent: #22c55e;
    --rgl-bg: #14201a;
    --rgl-surface: #1c2b23;
    --rgl-text: #e8efea;
    --rgl-muted: #a3b2a9;
    --rgl-border: #2a3d32;
    --rgl-warn: #fca5a5;
    --rgl-warn-bg: #3a1a1a;
    --rgl-gold: #fbbf24;
    --rgl-gold-bg: #3a2e12;
    --rgl-silver: #cbd5e1;
    --rgl-silver-bg: #25303a;
  }
}

.rgl-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: var(--rgl-bg);
  color: var(--rgl-text);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  animation: rgl-pop .25s ease;
}

.rgl-header {
  position: relative;
  padding: 28px 28px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--rgl-accent-dark), #16a34a);
}
.rgl-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}
.rgl-close:hover { background: rgba(255, 255, 255, .32); }
.rgl-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.rgl-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.rgl-title { margin: 0; font-size: 30px; line-height: 1.1; }
.rgl-subhead { margin: 6px 0 0; font-size: 15px; opacity: .9; }

.rgl-body {
  padding: 22px 28px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rgl-section { margin-bottom: 22px; }
.rgl-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--rgl-accent);
}
.rgl-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rgl-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
@media (prefers-color-scheme: dark) { .rgl-num { color: #06240f; } }

.rgl-list { margin: 0; padding: 0; list-style: none; }
.rgl-list li {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 12px 10px 34px;
  background: var(--rgl-surface);
  border: 1px solid var(--rgl-border);
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.rgl-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rgl-accent);
}
.rgl-section-warn .rgl-section-title { color: var(--rgl-warn); }
.rgl-section-warn .rgl-num { background: var(--rgl-warn); }
.rgl-section-warn .rgl-list li { background: var(--rgl-warn-bg); border-color: transparent; }
.rgl-section-warn .rgl-list li::before { background: var(--rgl-warn); }

.rgl-prize-note { margin: 0 0 12px; font-size: 14.5px; color: var(--rgl-muted); }
.rgl-podium { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.rgl-podium-item { padding: 14px; border-radius: 12px; text-align: center; }
.rgl-gold { background: var(--rgl-gold-bg); color: var(--rgl-gold); }
.rgl-silver { background: var(--rgl-silver-bg); color: var(--rgl-silver); }
.rgl-podium-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.rgl-podium-amount { display: block; font-size: 22px; font-weight: 800; }
.rgl-subtitle { margin: 0 0 8px; font-weight: 600; font-size: 14.5px; }

.rgl-table-wrap { overflow-x: auto; border: 1px solid var(--rgl-border); border-radius: 10px; }
.rgl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rgl-table th, .rgl-table td { padding: 9px 12px; text-align: right; white-space: nowrap; }
.rgl-table th:first-child, .rgl-table td:first-child { text-align: left; white-space: normal; }
.rgl-table thead th { background: var(--rgl-surface); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--rgl-muted); }
.rgl-table tbody tr + tr td { border-top: 1px solid var(--rgl-border); }
.rgl-table tfoot td { border-top: 2px solid var(--rgl-border); font-weight: 700; background: var(--rgl-surface); }

.rgl-footer-note {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--rgl-surface);
  border-left: 4px solid var(--rgl-accent);
  font-size: 14px;
  color: var(--rgl-muted);
}

@media (max-width: 520px) {
  .rgl-overlay { padding: 0; align-items: flex-end; }
  .rgl-modal { max-height: 94vh; border-radius: 16px 16px 0 0; }
  .rgl-header { padding: 22px 20px 18px; }
  .rgl-title { font-size: 26px; }
  .rgl-body { padding: 18px 16px 24px; }
  .rgl-podium { grid-template-columns: 1fr; }
}

@keyframes rgl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rgl-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rgl-overlay.rgl-open, .rgl-modal { animation: none; }
}