/* Estilos generales */
body {
  font-family: 'Elaine Sans', sans-serif;
  margin: 0;
  padding: 0;
}

   /* Navbar */
        .navbar {
            background-color: white !important;
            padding: 20px 20px !important;
            border-radius: 150px !important;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
            margin: 20px auto 0 !important;
            height: auto !important;
            margin-bottom: 20px !important;
            display: flex !important;
            align-items: center !important;
        }

        .navbar a {
            margin-right: 40px;
        }

        .nav-link {
            color: #0066A1;
            font-weight: bold;
            padding: 0 5px;
            text-decoration: none;
        }

        .nav-link:hover {
            color: #0066A1;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            z-index: 1;
        }

        .dropdown-menu a {
            color: #0066A1;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .dropdown-menu a:hover {
            background-color: #f8f9fa;
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        }

        @media (max-width: 991.98px) {
            .navbar-nav {
                flex-direction: column;
                align-items: center;
            }

            .nav-link {
                margin-bottom: 10px;
            }
        }
/* Contenido principal */
.main-content {
  background-color: #39B54A;
  padding: 50px 0;
}

.main-content h1, .main-content p {
  color: white;
  font-weight: bold;
}

/* Ajuste para centrar las cards */
.container {
  max-width: 960px;
  margin: auto;
}

/* Estilo de las cards */
.card {
  background-color: white;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 300px; /* Ancho máximo de la tarjeta */
  margin: auto; /* Centrar la tarjeta */
  text-align: left; /* Alinear texto a la izquierda */
}

.h-100 {
  height: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-4 {
  flex: 0 0 33.3333%; /* Ajusta el ancho de las columnas */
  max-width: 33.3333%; /* Ajusta el ancho de las columnas */
}

@media (max-width: 768px) {
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.card h3 {
  color: black;
  font-weight: bold;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  color: black;
  font-weight: normal;
}

/* Estilo para las imágenes dentro de las cards */
.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}



/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0; /* Alinea el menú desplegable a la derecha */
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown-checkbox:checked + .dropdown-content {
  display: block;
}

.dropdown-checkbox {
  display: none;
}

.dropdown-label {
   color: white;
    font-weight: bold;
    padding: 0 5px;
   text-decoration: none;
}

.btn-success {
  background-color: #007D3C;
  border-color: #007D3C;
  padding: 6px 12px; /* Ajusta el padding del botón */
}

.btn-success:hover {
  background-color: #007D3C;
  border-color: #007D3C;
}

.btn-sm {
  padding: 6px 12px; /* Ajusta el padding del botón más pequeño */
}

.ml-md-4, .mr-md-4 {
  margin-left: 2rem;
  margin-right: 2rem;
}

/* Navbar redondeado */
.rounded-navbar {
  background-color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 15px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
  margin: 20px !important;
}

/* Estilo del logo secundario */
.navbar-logo-secondary {
  width: 150px; /* Ajusta el ancho según tus necesidades */
  height: auto; /* Permite que la altura se ajuste automáticamente para mantener las proporciones originales */
  margin-top: 0px;
  /* Puedes agregar más estilos aquí */
}

/* Estilo del icono de WhatsApp */
.whatsapp-icon {
  position: fixed;
  bottom: 20px; /* Distancia desde la parte inferior de la pantalla */
  right: 20px; /* Distancia desde el lado derecho de la pantalla */
  z-index: 999; /* Asegura que el icono esté en la parte superior */
}

.tooltip {
  visibility: hidden;
  background-color: #007D3C;
  color: white;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: 50%; /* Centra verticalmente el tooltip */
  right: 110%; /* Coloca el tooltip a la izquierda del icono */
  transform: translateY(-50%); /* Centra verticalmente el tooltip */
  width: 200px; /* Ancho del tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

.whatsapp-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Estilo de la calculadora de IVA */
.alert-info.custom-alert {
  background-color: #CCFFCC;
  border-color: #007D3C;
  color: black; /* Color del texto */
}

.alert-info.custom-alert .alert-heading,
.alert-info.custom-alert hr {
  color: #007D3C;
}

#resultado-container h2,
#resultado-container .resultado-option {
  color: #007D3C;
}

.btn-outline-success {
  color: #007D3C;
  border-color: #007D3C;
}

.btn-outline-success:hover,
.btn-outline-success.active {
  background-color: #007D3C;
  color: white;
}

.btn-success {
  background-color: #007D3C;
  border-color: #007D3C;
}

.btn-success:hover {
  background-color: #007D3C;
  border-color: #007D3C;
}

/* Ajustes adicionales */
.form-container {
  background-color: white;
  border: 1px solid #007D3C;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

#calculator-form {
  display: flex;
  flex-direction: column;
}

#calculator-form .form-group {
  margin-bottom: 10px;
}

#calculator-form .form-group:last-child {
  align-self: flex-end;
}

#volverInicioBtn {
  margin-top: 40px;
  font-size: 1.2em;
  padding: 10px 20px;
}

h2 {
  color: #007D3C;
}

.lh-lg {
  line-height: 1.5;
}

.tutorial-step .card {
  background-color: white;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;  /* Set width to 100% */
  max-width: 600px;  /* Optionally set a maximum width */
}
.tutorial-step img {
  width: 100%;
  height: auto;
  max-width: 1600px; /* Set maximum width to make the image bigger */
}

.tutorial-step h3 {
  color: #007D3C;
  font-weight: bold;
}

.tutorial-step p {
  color: black;
  font-weight: normal;
}

.custom-font {
  font-family: 'Elaine Sans', sans-serif;
}
