/*
 * Application CSS - Estilos adicionales que no están en Tailwind
 * Este archivo es procesado por Sprockets sin necesidad de SassC
 */

/* Importar otros CSS */
@import url('https://fonts.cdnfonts.com/css/quicksand');

/* Estilos base */
body {
  background-color: #090909;
  font-weight: 100;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  font-family: 'Quicksand Book', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

table {
  color: #fff !important;
  border: 1px solid rgba(255,255,255, 0.5) !important;
  font-family: 'Quicksand Book', sans-serif;
  font-style: normal;
  font-weight: 400;
  margin-top: 1em !important;
}

td {
  vertical-align: middle;
}

.text-bold {
  font-weight: 700;
}

/* Trix Editor */
.trix-button-group {
  background-color: #fff;
}

.trix-button--icon-quote {
  display: none !important;
}

/* Accordion */
.accordion-item {
  margin-top: 1%;
  border: none;
}

.accordion-button {
  color: #fff;
  background: #2b2b2b !important;
  border: none;
  --bs-accordion-active-color: #fff;
  font-family: 'Lato', sans-serif !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 103%;
  --bs-accordion-btn-icon: url(/svg/plus.svg);
  --bs-accordion-btn-active-icon: url(/svg/less.svg);
}

.accordion-body {
  color: #fff;
  background: #2b2b2b !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 142.5%;
}

/* Cards */
.card-pricing {
  border-radius: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
  background: #090909;
  --border-opacity: 0.16;
  border: 2px solid rgba(255,255,255,.08);
}

.card-pricing:hover {
  cursor: pointer;
  border-color: rgba(255,255,255,1);
}

.card-info {
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.card-info:hover {
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-10px);
  cursor: pointer;
}

/* Form inputs */
.form-input {
  height: 55px;
  text-indent: 33px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: none;
  color: #fff;
  font-family: 'Quicksand Book', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
  border: none;
  color: #fff;
}

/* Ribbon */
.ribbon {
  position: absolute;
  top: -15px;
  right: -45px;
  z-index: 10;
  overflow: hidden;
  width: 88px;
  height: 90px;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 100px;
  padding: 5px 0;
  background-color: #ff5050;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  top: 7px;
  left: -28px;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  margin: 10px;
}

.toggle-switch .toggle-input {
  display: none;
}

.toggle-switch .toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 24px;
  background-color: #2196F3;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-switch .toggle-label::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  background-color: #fff;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.toggle-switch .toggle-input:checked + .toggle-label {
  background-color: #4CAF50;
}

.toggle-switch .toggle-input:checked + .toggle-label::before {
  transform: translateX(16px);
}

/* Links */
.link_to_resource {
  color: #fff;
  text-decoration: none;
}

.link_to_resource:hover {
  color: #fff;
  text-decoration: underline;
}

/* Pre/Code blocks */
pre {
  border-radius: 10px !important;
}

/* Responsive */
@media screen and (max-width: 720px) {
  .card-landing {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}
