html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
footer{
    position: relative !important;
}

.selected {
    background-color: #c2d9fb;
    padding: 10px;
    border-radius: 20px;
    border: solid black 1px;
    width: 8rem;
}

.rating-option {
    padding: 10px;
    transition: all 0.3s ease;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.rating-text {
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
}

.loading {
    display: none;
}

.btn:disabled {
    opacity: 0.6;
}

/* Estilos para preguntas obligatorias */
.obligatoria {
    color: #dc3545;
    font-weight: bold;
    margin-left: 5px;
}

.error-validacion {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.mensaje-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.icon {
    height: 4rem;
}

@media (max-width: 500px) {
    .icon {
        height: 2rem;
    }

    .rating-option {
        padding: 0px;
    }

    .rating-text {
        font-size: 0.6rem;
    }
}