/* ===== HEADER COMÚN ===== */
/* 
   COMENTADO - AHORA EN header-with-bg.css
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(44, 62, 80, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.header-left {
    flex: 1;
    min-width: 200px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* ===== RELOJ ===== */
/*
.clock-container {
    background-color: rgba(var(--primary-color-rgb, 52, 152, 219), 0.8);
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 150px;
    backdrop-filter: blur(5px);
}

#clock {
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#date {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}
*/

/* ===== CONTROLES DE PARTIDO ===== */
.match-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.export-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== HISTORIAL ===== */
.history {
  background-color: rgba(44, 62, 80, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.history h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--light-color);
}

.history-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px;
}

/* Scrollbar personalizado */
.history-list::-webkit-scrollbar {
  width: 8px;
}

.history-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.history-list::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  margin: 0 5px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Comentado - ahora en header-with-bg.css */
  /*
    .app-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-left, .header-right {
        width: 100%;
        align-items: center;
    }
    
    .header-right {
        align-items: center;
    }
    */
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .match-controls,
  .export-controls {
    flex-direction: column;
  }

  /* Comentado - ahora en header-with-bg.css */
  /* .app-header {
        padding: 15px;
    } */
}
