/* General */
body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container-central {
    max-width: 90%;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.header-image img {
    width: 100%;
    height: auto;
}

.content {
    padding: 15px;
    text-align: justify;
}

.footer {
    background-color: #343a40;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.footer a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}

.signature {
    margin-top: 30px;
    text-align: left;
}

.signature p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.signature-logo {
    width: 120px;
    height: auto;
    margin-top: 5px;
}

.section {
    text-align: center;
    margin-bottom: 20px;
}

.custom-btn {
    display: inline-block;
    margin: 10px auto;
    width: 30%;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 20px;
    background-color: #6B2F93;
    color: #FFD700;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #551C78;
    color: #FFD700;
}

.h1-spacing {
    margin-bottom: 30px;
}

.prediction-text {
    font-size: 18px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    text-transform: none;
}

.card-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px auto;
}

/* Responsive */
@media (max-width: 768px) {
    .container-central {
        max-width: 95%;
        padding: 10px;
    }

    .card-image {
        max-width: 100%;
    }

    .custom-btn {
        width: 90%;
    }

    .h1-spacing {
        margin-bottom: 20px;
    }
}

.highlighted-text {
    color: #d9534f;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
}

.user-name {
    color: #000;
    font-weight: bold;
}

.d-flex.justify-content-center.align-items-center.gap-3 {
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.form-group select {
    width: 100px;
    text-align: center;
}

@media (max-width: 576px) {
    .form-group select {
        width: 100px;
    }
}

/* Imagen responsive */
.product-image {
    max-width: 500px;
    width: 80%;
    height: auto;
}

@media (min-width: 1200px) {
    .product-image {
        width: auto;
        max-width: 500px;
    }
}

@media (max-width: 991px) {
    .product-image {
        width: 80%;
        max-width: none;
    }
}

/* Checkbox consentimiento */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    display: inline-block;
    max-width: 100%;
}

@media (max-width: 576px) {
    .checkbox-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .checkbox-wrapper input[type="checkbox"] {
        width: 1.2rem;
        height: 1.2rem;
        margin-top: 6px;
    }

    .checkbox-wrapper label {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Tabs blancos + contenedor con borde como Bootstrap */
.nav-tabs {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-bottom: 0;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

/* Estado base del tab */
.nav-tabs .nav-link {
  background-color: #fff;
  color: #495057;
  border: 1px solid transparent;
  margin-bottom: -1px; /* que monte sobre el borde del content */
}

/* Hover/focus (opcional, para feedback) */
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-color: #e9ecef #e9ecef #dee2e6;
}

/* Tab activo (la pestaña seleccionada) */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #0d6efd;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff; /* top/right/left y sin borde abajo */
}

/* Panel de contenido bajo las tabs: blanco y con borde */
.tab-content {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-top: 0; /* se une visualmente con las tabs */
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

/* Un pelín de sombra si quieres el look de la captura antigua */
.nav-tabs,
.tab-content {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

/* Si usas un wrapper tipo .container-central, puedes limitar el scope:
.container-central .nav-tabs { ... }
.container-central .tab-content { ... } */
