/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

h2, p {
    margin: 0 0 10px;
}

/* Estilos para el contenedor de la cabecera */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    z-index: 1000;
}

/* Estilo del texto en la esquina izquierda */
.header-left .header-text {
    font-size: 1rem;
    color: #333;
}

/* Estilo para el logo en la esquina derecha */
.header-right .company-logo {
    height: 65px;
}

.company-logo {
    max-height: 50px;
}

/* Campo de teléfono */
.form-control[type="tel"] {
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 1.2rem;
    display: block;
}

/* Estilos para la pregunta del tipo de sociedad */
.society-options {
    display: flex;
    justify-content: center;
    gap: 40px;  /* Aumentamos el espacio entre tarjetas */
    max-width: 1000px; /* Ajuste del ancho del contenedor */
    margin: 0 auto;
}

.society-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: box-shadow 0.3s;
}
.society-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.society-card h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.society-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.society-card .btn {
    background-color: #ff8214;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.society-card .btn:hover {
    background-color: #e67300;
}

/* Estilo del contenedor principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    height: auto;
    text-align: center;
    padding: 20px;
}

/* Estilos para las preguntas con textarea */
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    resize: none;
}

#charCounter {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Botones */
.btn {
    background-color: #ff8214; /* Naranja */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e67300; /* Naranja oscuro */
}

/* Botón de recomendación en la última etapa */
.btn-recommendation {
    background-color: #ff8214; /* Naranja */
    color: white; /* Ajustado para asegurar buena legibilidad */
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-recommendation:hover {
    background-color: #e67300; /* Naranja oscuro */
}

/* Botones de navegación */
.button-group {
    display: flex;
    justify-content: space-between;
}

.btn-back, .btn-next {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    min-width: 120px;
}

.btn-back {
    background-color: #6c757d;
    color: white;
}

.btn-next {
    background-color: #ff8214;
    color: white;
}

.btn-back:hover, .btn-next:hover {
    opacity: 0.9;
}

.options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.question-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para la pregunta tipo radio con opciones visuales */
.radio-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.radio-options label:hover {
    border-color: #ff8400;
}

.radio-options label input {
    margin-right: 10px;
}

.radio-options label span {
    font-size: 1.2rem;
}

/* Mejora de la alineación general del contenido */
.text-center {
    text-align: center;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Opciones en formato horizontal */
.radio-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.radio-card {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 350px;
    height: 250px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Estilo de los checkboxes con un color de acento naranja */
.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff8214; /* Color naranja para el checkbox */
    margin-right: 10px; /* Espaciado entre el checkbox y el texto */
}

.form-check label {
    font-size: 1rem;
    color: #333;
}

/* Separación adicional entre checkboxes */
.form-check {
    margin-bottom: 10px;
}

/* Estilo hover sobre las tarjetas */
.radio-card:hover {
    background-color: rgba(255, 130, 20, 0.2);
}

.radio-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.radio-card h5 {
    font-family: 'Quicksand', cursive;
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.radio-card p {
    font-family: 'Quicksand', cursive;
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-top: 10px;
}

/* Botón seleccionado con estilo */
.radio-card input[type="radio"] {
    display: none;
}

.radio-card input[type="radio"]:checked + .radio-content {
    background-color: #ff8214;
    color: white;
    border-color: #ff8214;
}

/* Opción seleccionada */
.selected-card {
    background-color: rgba(255, 130, 20, 0.5)!important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border-color: rgba(255, 130, 20, 0.5);
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Estilo para el botón naranja cuando está desactivado */
.btn-orange:disabled {
    background-color: rgba(255, 130, 20, 0.5) !important; /* Naranja con 50% de opacidad */
    color: white !important;
    cursor: not-allowed !important;
}

/* Estilo del botón cuando está activo */
.btn-orange {
    background-color: #ff8214 !important; /* Naranja */
    color: white !important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
}

/* Hover del botón cuando está activo */
.btn-orange:hover {
    background-color: #e67300 !important; /* Color más oscuro en hover */
}


/* Botón de recomendación (ajustado el color del texto) */
.btn-recommendation {
    background-color: #ff8214;
    color: white;  /* Color del texto ahora es blanco para legibilidad */
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-recommendation:hover {
    background-color: #e67300;
}
