/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Para Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
body {
  width: 98%;
  margin: 0 auto;
}
#wrapper {}
a { color: black;}
#header {
  background-color: #99f;
  padding: 15px 20px;
}
#header h1 {
  margin: 0;
}
#header h1 a, #header h1 a:visited {
  text-decoration: none;
  color: black;
}
#nav {
  background-color: #99f;
  padding: 0;
  border-top: 2px solid #66f;
  border-bottom: 2px solid #66f;
  overflow: visible; 
  height: 30px;
}
ul#horiznav {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#horiznav > li {
  float: left;
  width: 152px;
  position: relative;
}
#horiznav li a {
  display: block;
  width: 150px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  background-color: #99f;
  border-left: 2px solid #66f;
  border-right: 2px solid #66f;
}
#horiznav li a:hover {
  background-color: #66f;
}
#horiznav li ul {
  display: none;
  position: absolute;
  left: 0;
  top: 30px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  z-index: 9999;
  border-bottom: 2px solid #66f;
}
#horiznav li:hover > ul {
  display: block;
}
#horiznav li ul li {
  float: none;
  width: 152px;
}
#horiznav li ul a {
  background-color: #99f;
  border-top: 2px solid #66f;
}
#horiznav li:has(a[style*="float: right"]) {
  float: right;
}
#content {
  position: relative;
  background-color: #eef;
  padding: 20px 10px;
}
#esquina {
  position: absolute; /* Se mueve independientemente del flujo del texto */
  top: 0;             /* Pegado arriba */
  right: 0;           /* Pegado a la derecha */

  /* Estilos visuales */
  padding: 15px 20px;
  z-index: 10;        /* Asegura que esté por encima de otros elementos */
}
#content h2 {
  margin: 0;
}
#footer {
  clear: both;
  background-color: #99f;
  height: 15px;
}
table {
  border: 2px solid #666;
  border-collapse: collapse;
}
table thead tr {
  border-bottom: 2px solid #666;
}
table td {
  padding: 4px;
}
.bg_grey {
  background-color: #ccc;
}


.great_win {
  background-color: #9d9;
}
.medium_win {
  background-color: #beb;
}
.minor_win {
  background-color: #dfd;
}
.great_lost {
  background-color: #d99;
}
.medium_lost {
  background-color: #ebb;
}
.minor_lost {
  background-color: #fdd;
}
