/* =====================================================
   CONTENEDOR PRINCIPAL
===================================================== */

.devedra-dashboard{
  max-width:1100px;
  margin:auto;
  font-family:Arial, sans-serif;
}

/* =====================================================
   TOP BAR
===================================================== */

.devedra-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
  padding:14px 0;
}

.devedra-top h3{
  font-size:15px;
  font-weight:700;
  letter-spacing:.3px;
  text-transform:capitalize;
  color:#111;
}

/* =====================================================
   DATE INPUT
===================================================== */

.devedra-date{
  width:140px;
  max-width:40% !important;
  border:1px solid #e5e5e5;
  border-radius:10px;
  padding:6px 10px;
  font-size:13px;
  font-weight:600;
  background:#fafafa;
}

.devedra-date:hover{
  border-color:#bbb;
}

.devedra-date:focus{
  outline:none;
  border-color:#e10600;
  box-shadow:0 0 0 2px rgba(225,6,0,.1);
}

/* =====================================================
   GRID
===================================================== */

.devedra-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

@media(max-width:900px){
  .devedra-grid{
    grid-template-columns:1fr;
  }
}

/* =====================================================
   CARD GENERAL
===================================================== */
.mlb-card{
  background:#fff;
  border-radius:18px;
  padding:20px;
  border:1px solid rgba(0,0,0,.04);
  box-shadow:
    0 2px 4px rgba(0,0,0,.04),
    0 12px 24px rgba(0,0,0,.08);
  transition: all .2s ease;
}
.mlb-card:hover{
  transform:translateY(-3px);
  box-shadow:
    0 6px 12px rgba(0,0,0,.08),
    0 18px 35px rgba(0,0,0,.12);
}

/* =====================================================
   HEADER
===================================================== */

.card-header{
  font-weight:700;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
}

.card-header.live{
  color:#e10600;
}

.card-header.final{
  font-weight:800;
}

/* =====================================================
   VS
===================================================== */

.vs{
  text-align:center;
  margin:8px 0;
  font-weight:700;
  color:#888;
}

.vs-mid{
  width:100%;
  text-align:center;
  font-weight:700;
  color:#888;
  margin:4px 0;
}

/* =====================================================
   TEAMS STACK (Schedule UEFA / MLS)
===================================================== */

.teams-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  margin:12px 0;
}

/* =====================================================
   TEAM SIMPLE
===================================================== */

.team-simple{
  display:flex;
  align-items:center;
  gap:10px;
}

.team-simple img{
  width:32px;
  height:32px;
}

/* =====================================================
   MLB RHE (Runs, Hits, Errors)
===================================================== */

.rhe-head{
  display:grid;
  grid-template-columns:1fr 30px 30px 30px;
  font-weight:700;
  margin-bottom:6px;
}

.team-rhe{
  display:grid;
  grid-template-columns:1fr 30px 30px 30px;
  align-items:center;
  margin-bottom:6px;
}

.team-rhe .left{
  display:flex;
  align-items:center;
}

.team-rhe img{
  width:28px;
  height:28px;
  margin-right:8px;
}

/* =====================================================
   SCORE (MLS / UEFA LIVE / FINAL)
===================================================== */

.team-score{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:6px 0;
}

.team-score .left{
  display:flex;
  align-items:center;
  gap:8px;
}

.team-score img{
  width:28px;
  height:28px;
}

.score{
  font-weight:700;
}

/* =====================================================
   LIVE META (MLB)
===================================================== */

.live-meta{
  margin-top:10px;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:flex-end;
}

.redbox{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#e10600;
}

/* =====================================================
   FOOTERS
===================================================== */

.card-footer-program{
  text-align:right;
  margin-top:12px;
  font-size:13px;
  font-weight:600;
}

.card-footer{
  text-align:center;
  margin-top:12px;
  font-size:13px;
  font-weight:600;
}

/* =====================================================
   STATES
===================================================== */

.winner-score{
  font-weight:800;
  font-size:1.1em;
}

/* =====================================================
   SYSTEM MESSAGES
===================================================== */

.loading,
.no-games{
  grid-column:1/-1;
  text-align:center;
  padding:40px;
}

/* =====================================================
   UEFA FINAL (NO AFECTA OTRAS LIGAS)
===================================================== */

.uefa-final{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.uefa-winner{
  font-size:13px;
  font-weight:700;
}

.uefa-live{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.uefa-stadium{
  font-size:12px;
  font-weight:600;
  color:#555;
}


.uefa-footer-right{
  display:flex;
  justify-content:flex-end;
}

.uefa-footer-split{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.uefa-aggregate{
  font-weight:600;
}
