/*
 * Globals
 */

/* Variables de color para botones */
:root {
  --color-descargas: rgba(212, 175, 55, 0.3); /* Amarillo luna llena */
  --color-detalles: rgba(79, 213, 218, 0.3); /* Amarillo claro */
}

/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}

/*
 * Base structure
 */

/* Show it is fixed to the top */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 4.5rem;
  padding-bottom: 20px;
  background-color: rgba(0, 0, 0, .1);
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

.cover-container {
  max-width: 42em;
}
.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

@media (min-width: 992px) {
  .rounded-lg-3 { border-radius: .3rem; }
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
  border-radius: .75rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
}
.icon-link > .bi {
  margin-top: .125rem;
  margin-left: .125rem;
  transition: transform .25s ease-in-out;
  fill: currentColor;
}
.icon-link:hover > .bi {
  transform: translate(.25rem);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: .75rem;
}

/*
 * Header
 */

.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}



.rounded-4 { border-radius: .5rem; }
.rounded-5 { border-radius: 1rem; }

.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
.text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
.text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


/*
 * Dummy devices (replace them with your own or something else entirely!)
 */

 .product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 700px;
  height: 240px;
  background-color: #333;
  border-radius: 21px;
  transform: rotate(0deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .1);
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}

.flex-equal > * {
  flex: 1;
}

.navbar {
  margin-bottom: 20px;
}

/* Custom solar yellow navbar */
.navbar-solar {
  background-color: #f1e1ac;
  backdrop-filter: blur(10px);
  box-shadow: 1 2px 6px rgba(0, 0, 0, 0.12);
   transition: all 0.3s ease;
}
.navbar-solar .navbar-brand {
  color: #1a1a1a;
}
.navbar-solar .nav-link {
  color: rgba(0, 0, 0, 0.8);
}
.navbar-solar .nav-link:hover,
.navbar-solar .nav-link:focus {
  color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}
/* dropdown menu left as defined earlier to remain white for readability */

/* Estilos para botones Descargas y Detalles */
.btn-descargas {
  background-color: var(--color-descargas);
  border-color: var(--color-descargas);
  border: 2px solid rgba(212, 175, 55, 0.3);
   border-radius: 5px;
    border-radius: 10px;
     transition: all 0.3s ease;
  color: #1a1a1a;
}

.btn-descargas:hover,
.btn-descargas:focus {
  background-color: rgba(212, 175, 55, 0.7);
  border-color: #584708;
  color: #1a1a1a;
  transform: translateY(-10%) scale(1.1);
    cursor: pointer;
     box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-detalles {
  background-color: var(--color-detalles);
  border-color: var(--color-detalles);
  color: #1a1a1a;
}

.btn-detalles:hover,
.btn-detalles:focus {
  background-color: rgba(79, 213, 218, 0.7);
  border-color: #FFFACD;
  color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(93, 188, 233, 0.4);
}

/* Estilos para el footer centrado */
footer {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

footer p {
  margin: 0;
}

/*
 * Dropdown menu styles
 */

.dropdown-menu {
  background-color: #f1e1ac;
  /* border: 1px solid rgb(73, 73, 73);
   border-radius: 0.375rem;  
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3); */
}

.dropdown-item {
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  padding-left: calc(1rem - 3px);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color:rgba(212, 175, 55, 0.7);
  color: #000000;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.dropdown-item.title {
  background-color: #d4af37; 
  color: #fff;
  border-left-color: #5ea2b3;
  font-weight: 600;
}

/* drop menus., bootsrap overrides */
.dropdown-item-danger {
  color: var(--bs-red);
}
.dropdown-item-danger:hover,
.dropdown-item-danger:focus {
  color: #fff;
  background-color: var(--bs-red);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}
.dropdown-item-danger.active {
  background-color: var(--bs-red);
}

.btn-hover-light {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}
.btn-hover-light:hover,
.btn-hover-light:focus {
  color: var(--bs-link-hover-color);
  background-color: var(--bs-tertiary-bg);
}

.cal-month,
.cal-days,
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
}
.cal-month-name {
  grid-column-start: 2;
  grid-column-end: 7;
  text-align: center;
}
.cal-weekday,
.cal-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0;
}
.cal-btn:not([disabled]) {
  font-weight: 500;
  color: var(--bs-emphasis-color);
}
.cal-btn:hover,
.cal-btn:focus {
  background-color: var(--bs-secondary-bg);
}
.cal-btn[disabled] {
  border: 0;
  opacity: .5;
}

.w-220px {
  width: 220px;
}

.w-280px {
  width: 280px;
}

.w-340px {
  width: 340px;
}

.opacity-10 {
  opacity: .1;
}
