@import url(https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Kenia&family=Mukta:wght@300;400;700&display=swap);

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: whitesmoke;
}

.logged_user {
  display: flex;
  background-color: #097a47;
  height: 25px;
  color: white;
  font-size: 15px;
  padding-right: 10px;
  padding-left: 10px;
  background-image: linear-gradient(90deg, #097a47 50%, #0a0ca1 65%);
  border-bottom: 1px solid black;
}

nav {
  height: 80px;
}

/* Barra de Navegacion  */
/* Color degrade con colores San Cirano */
.navbar {
  padding: 2rem;
  background-image: linear-gradient(45deg, #097a47 50%, #0a0ca1 65%);
}

.navbar-toggler-icon{
  color: black;
}

/* Escudo a la izquierda Menu a la derecha */
.navbar-collapse {
  align-items: center;
  justify-content: space-between;
}

/* Links Menu en blanco */
.nav-link {
  color: white;
  animation-duration: 0.50s;
  animation-iteration-count: 1;
  transform-origin: bottom;
}

.nav-link:hover {
  color: white;
  font-weight: 700;
  font-style: oblique;
  animation-name: bounce;
  animation-timing-function: ease-out;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  100%  { transform: translateY(0); }
}

/* Color del Link en Header y Footer  */
.navbar-brand {
  color: white;
}

/* Page Footer  */
.footer {
  margin-top: auto;
  padding: 10px;
  background-color: lightgrey;
}

/* Iconos para celdas con Ok, Not Ok y Borrar*/
.fa-check {
  color: green;
}

.fa-remove {
  color: red;
}

.fa-trash {
  color: blue;
}

/* Adaptable (Responsivo) */
/* Escudo no visible en pantallas chicas */
@media screen and (max-width: 767px) {
  .navbar-brand {
    display: none;
  }
}

/* Container usado en casi todos las pantallas*/
.container {
  max-width: 60em;
  background: whitesmoke;
  border: 1px solid black;
  border-radius: 8px;
  margin-bottom: 10px;
  margin-top: 10px;
  box-shadow: 0px 0px 96px 0px rgba(0, 0, 0, 0.75);
  background: #fff;
}

.gdc-container{
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

div.gdc-container{
  max-width: 98%;
  display: block;
  text-align: center;
  position: relative;
}

/* Header de las diferentes pantallas de acciones */
.gdc-header{
  background-color: #097a47;
  border: 2px solid black;
  border-radius: 8px;
  color: white;
  text-align: center;
  margin-bottom: 10px;
  }

  /* Mostrar foto del jugador */
.gdc-foto{
  background-color: #097a47;
  border: 2px solid black;
  border-radius: 20%;
  cursor: pointer;
  /* width: 125px;
  height: 125px; */
  }
  
  /* Input file invisible */
.gdc-file {
  display: none;
}

.gdc-header-img {
  text-shadow:5px 5px 10px;
}

.gdc-font {
  font-size: 30px;
  /* font-family: 'Gloria Hallelujah', cursive; */
  color: #ffffff;
}

.gdc_menu_opcion {
  color: black;
  /* font-size: 1.1rem; */
  font-weight: lighter;
}

  /* Tabla List data */
.table{
    margin-right: 10px;
    border-right: grey solid 5px;
    border-bottom: grey solid 5px;
    border-left: black solid 2px;
    border-top: black solid 2px;
}

.table tr:nth-child(odd) {
  background-color: #fafafa;
}

.table tr:hover {
  background-color: #02b2b880;
}

.table a {
  color: #097a47;
  text-decoration: none;
  background:
    linear-gradient(
      to right,
      rgba(100, 200, 200, 0),
      rgba(100, 200, 200, 0)
    ),
    linear-gradient(
      to right,
      rgba(71, 153, 10, 1),
      rgba(10, 169, 136, 1),
      rgba(0, 100, 200, 1)
  );
  background-size: 100% 5px, 0 90px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 450ms;
}

.table a:hover {
  background-size: 0 1px, 100% 1px;
} 

.selectpicker {
  text-align: justify;
  background-color: #e9ecef;
  text-decoration: none;
  color:black;
  width: auto;
}

  /* Barra horizontal con valor % */
.progress > .progress-bar {
    box-shadow: none;
    position: relative;
}

.progress > .progress-bar > span {
  background: none repeat scroll 0 0 #8d8d8d;
  font-family: Roboto;
  font-size: 10px;
  height: 18px;
  line-height: 18px;
  margin-top: -9px;
  position: absolute;
  right: 0;
  top: 50%;
  width: 31px;
}

.red-bar{
  background: linear-gradient(90deg, #e29090 0%, #ff3b3b 100%);
}

.yellow-bar{
  background: linear-gradient(90deg, #ece796 0%, #d4c821 100%);
}

.green-bar{
  background: linear-gradient(90deg, #9deea4 0%,  #14853a 100%);
}

/* Drag & Drop file stuff */
.drag-area{
  position: relative;
  border: 4px dashed #000;
  height: 300px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
}

.drag-area header{
  font-size: 30px;
  font-weight: 500;
  color: #000;
}

.drag-area footer {
  text-align: center;
  font-size: 15px;
  color: black;
}

.drag-area.active{
  border: 3px solid #000;
}

.drag-area span{
  font-size: 25px;
  font-weight: 500;
  color: #000;
  margin: 10px 0 15px 0;
}

/* horizontal Loader animation */
.loader { 
  width:500px; 
  margin:0 auto;
  border-radius:10px;
  border:2px solid #fff;
  position:relative;
  padding:1px;
  text-align: center;
  background: whitesmoke;
}

.loader:before {
  content:'';
  border:1px solid #273ae2; 
  border-radius:10px;
  position:absolute;
  height: 17px;
  top:5px; 
  right:-4px; 
  bottom:-4px; 
  left:-4px;
}

.loader .loaderBar { 
  position:absolute;
  border-radius:10px;
  top:8px;
  right:100%;
  bottom:0;
  left:0;
  background:#097a47; 
  width:0;
  height:10px;
  animation:borealisBar 2s linear infinite;
}

@keyframes borealisBar {
  0% {
    left:0%;
    right:100%;
    width:0%;
  }
  10% {
    left:0%;
    right:75%;
    width:25%;
  }
  90% {
    right:0%;
    left:75%;
    width:25%;
  }
  100% {
    left:100%;
    right:0%;
    width:0%;
  }
}

/* Circular loader animation */
.circ_loading {
  margin: 50px auto 0;
  width: 125px;
  height: 118px;
}

.circ_loading p {
  position: absolute;
  z-index: 99;
  padding: 34px;
  color: black;
  font-size: 16px;
  font-family: 'Alegreya Sans SC', sans-serif;
  width: 22px;
  overflow: hidden;
  animation: dots 2s steps(2) linear infinite;
}

@keyframes dots {
  0%  {width: 22px;}
  50% {width: 30px;}
  100% {width: 40px;}
}

.circ_loading div {
  height: 100%;
  margin: 10% auto;
	border-right: 5px solid #D20000;
  border-bottom: 5px solid transparent;
	border-radius: 100%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
    border-right-color: #D22020;
  }
  50% {
    transform: rotate(180deg);
    border-right-color: #A27AD7;
  } 
  100% {
    transform: rotate(359deg);
    border-right-color: #D22020;
  }
}

/* Fancy Checkbox  */

/* Esta clase hace que el verdadero checkbox quede por fuera de la ventana */
.chktoggle {
  opacity: 0;
  position: absolute;
  left: -50px;
  top: -50px;
}

.chktoggle + label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/*
Para que tenga recuadro exterior incluso sin tener el foco
Si se lo saco solo tiene el borde exterior cuando tiene el foco
outline: .5px solid hsl(0, 3%, 51%)
*/
.chktoggle + label::before {
  content: "";
  width: 2em;
  height: 1em;
  background-color: hsl(0, 80%, 90%);
  border-radius: 1em;
  margin-right: .25em;
  transition: background-color 200ms ease-in-out;
}

.chktoggle + label::after {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  content: "\2715";
  font-size: .5em;
  height: .9em;
  left: .2em;
  width: 1.8em;
  height: 1.8em;
  background-color: hsl(0, 80%, 60%);
  color: white;
  border-radius: 1em;
  transition: background-color 200ms ease-in-out, transform 200ms ease-in-out;
}

.chktoggle:focus + label::before {
  outline: .5px solid hsl(0, 3%, 51%);
}

.chktoggle:checked + label::before {
  background-color: hsl(100, 70%, 90%);
  outline: 1px solid hsl(0, 3%, 51%);
}

.chktoggle:checked + label::after {
  content: "\2713";
  transform: translateX(100%);
  background-color: hsl(100, 70%, 60%);
}

.chktoggle:disabled + label {
  color: #777;
}

.chktoggle:disabled + label::before {
  background-color: #CCC;
}

.chktoggle:disabled + label::after {
  background-color: #777;
}

/* Modal Window CSS */
.modal-header {
  background-color: #097a47;
  height: 80px;
  color: lightgrey;
}

.modal-title {
  color: white;
}

.close {
  color: lightgreen;
  font-size: 2.5rem;
}

.modal-footer {
  justify-content: flex-start;
  background-color: #e9ecef;
  border-top: 1px solid grey;
}

.pages_container {
  justify-content: right;
  padding-right: 40px;
  display: flex;
}

.gdc_pagination {
  display: flex;
  height: 35px;
  width: max-content;
  justify-content: center;
  align-items: center;
  padding-left: 0px;
}

.gdc_pagination_align_icon {
  padding-top: 3px;
  height: 30px;
}

.pointer {
  cursor: pointer; 
}

.no-effect {
  text-decoration: none !important;
  color: white !important;
  transition: none !important;
}

.no-effect:hover {
  background-size: 0px !important;
}

.transparent_input {
  background-color: transparent;
  border: 0px;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  width:55px;
  height: 20px;
  font-size: 20px;
  cursor:default;
  color: whitesmoke;
  text-align: center;
}

/* Override global container to allow "floating" dashboard look */
.home-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 75em !important;
    margin-top: 20px !important;
}

/* Modern Card Styles */
a.modern-card {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    background: #fff;
    height: 100%;
    overflow: hidden;
    text-decoration: none; /* No underline */
    color: inherit; /* Keeps text color */
    cursor: pointer;
}

a.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 10;
    text-decoration: none;
    color: inherit;
}

.card-img-section {
    height: 150px; /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Soft green gradient */
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); 
    padding: 20px;
    position: relative;
}

/* Decorative circle behind image */
.card-img-section::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    z-index: 0;
}

.card-img-section img {
    max-height: 100px;
    max-width: 80%;
    width: auto !important;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    z-index: 1;
    transition: transform 0.3s ease;
}

a.modern-card:hover .card-img-section img {
    transform: scale(1.1);
}

.card-body {
    text-align: center;
    padding: 1rem; /* Compact padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.card-text {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Column spacing */
.col-card {
    margin-bottom: 30px;
}

a.login_logout {
  color: #FFFFFF;
  font-size: 1rem;
  text-decoration: none;
}