/* styles.css */

/* ===== Reset básico ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f6fa;
  color: #333;
  /* display: flex; */
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  /* padding: 20px; */
}



/* Aplica la fuente Rajdhani al encabezado */
.header,
.main-header,
.navbar {
  font-family: 'Rajdhani', sans-serif !important;
}

.footer-section {
  font-family: 'Rajdhani', sans-serif !important;
}


.footer-section * {
  font-family: 'Rajdhani', sans-serif !important;
}

.footer-section *:not([class*="fa-"]) {
  font-family: 'Rajdhani', sans-serif !important;
}

.footer-section [class*="fa-"] {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free" !important;
}

*/ .navbar-nav .nav-link {
  font-family: 'Rajdhani', sans-serif;
}


/* ===== Contenedor del formulario ===== */
.form-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
}

/* ===== Títulos ===== */
h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
  text-align: center;
}

h2 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #2f3640;
}

/* ===== Párrafos descriptivos ===== */
p {
  margin-bottom: 25px;
  text-align: center;
  color: #555;
}

.p-left {
  margin-bottom: 5px;
  text-align: left;
  /* Mantenemos el centrado solo para esta clase */
  color: #555;
}

/* ===== Campos de formulario ===== */
label {
  display: block;
  margin-bottom: 5px;
  /* font-weight: bold; */
  text-align: justify;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: #3498db;
  outline: none;
}

/* ===== Checkboxes ===== */
input[type="checkbox"] {
  margin-right: 8px;
}

/* ===== Navegación ===== */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  background-color: #3498db;
  color: white;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* ===== Pasos del formulario ===== */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  button {
    width: 48%;
  }
}

.error-style {
  border: 1px solid red !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

#results-container,
.form-step {
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative;
  top: 0;
}

#results-container>.row:first-child {
  margin-top: -10px !important;
}

.result-card {
  page-break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
}

.page-break-after {
  page-break-after: always;
  height: 1px;
  visibility: hidden;
}

#fixed-form-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;

  display: block;

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#tech-diagnosis-form {
  display: block;
  width: 100%;
  padding-top: 10px;
}

#main-wrapper {

  max-width: 800px;
  width: 100%;
  display: block;
}

/* solve probem ti iphone clic */
.btn,
button,
a.btn {
  touch-action: manipulation;
}

.air-datepicker {
  z-index: 1070 !important;
}


.card-title {
  text-transform: none;
  color: var(--e-global-color-secondary) !important
}


.display-1 {

  font-size: 4rem !important;
}
