/* ######## Smart Blue Form ######## */
/* ######## Smart Blue Form ######## */
.smart-blue {
    margin: 0 auto;
    max-width: 500px;
    background: #f9f9f9;
    padding: 30px;
    font: 16px Arial, Helvetica, sans-serif;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.smart-blue h1 {
    font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
    padding: 20px;
    margin: -30px -30px 10px -30px;
    color: #FFF;
    background: #0073aa;
    border-radius: 8px 8px 0 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.smart-blue span {
    font: 14px "Trebuchet MS", Arial, Helvetica, sans-serif;
    text-align: center;
}

.smart-blue label > span {
    float: left;
    margin-top: 10px;
    color: #5E5E5E;
}

.smart-blue label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #555;
}

.smart-blue input[type="text"],
.smart-blue input[type="email"],
.smart-blue input[type="tel"],
.smart-blue input[type="number"],
.smart-blue select,
.smart-blue textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    font-size: 16px;
    color: #333;
    outline: none;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.smart-blue textarea {
    height: 100px;
    resize: vertical;
}

.smart-blue .button {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.smart-blue .button:hover {
    background-color: #005f8d;
}

/* Contenedor del resultado */
#resultado {
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 100%;
    overflow-x: auto;
}

#resultado h4 {
    font-size: 20px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: center;
}

/* Contenedor responsive */
#respuesta {
    width: 100%;
    overflow-x: auto;
}

/* Estilos generales de la tabla */
table.dataTable {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

table.dataTable thead th {
    background-color: #0073aa !important;
    color: white !important;
    text-align: center;
    padding: 12px !important;
}

table.dataTable tbody td {
    padding: 10px !important;
    text-align: center;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #e6e0e0 !important; /* Gris claro */
}

table.dataTable tbody tr:nth-child(odd) {
    background-color: #ffffff !important; /* Blanco */
}

table.dataTable tbody tr:hover {
    background-color: #e0f3ff !important; /* Azul claro */
    transition: background-color 0.2s ease-in-out;
}





/* Centrar el GIF loader */
#respuesta img {
    display: block;
    margin: 30px auto;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.error {
    color: #d9534f;
    font-weight: bold;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 600px) {
    .smart-blue {
        padding: 20px;
    }
    .smart-blue h1 {
        font-size: 20px;
        padding: 15px;
    }
    .smart-blue label {
        font-size: 14px;
    }
    .smart-blue input[type="text"],
    .smart-blue input[type="email"],
    .smart-blue input[type="tel"],
    .smart-blue input[type="number"],
    .smart-blue select,
    .smart-blue textarea {
        font-size: 14px;
    }
}


        .basic-grey {
            margin-left:auto;
            margin-right:auto;
            max-width: 500px;
            background: #F7F7F7;
            padding: 25px 15px 25px 10px;
            font: 12px Georgia, "Times New Roman", Times, serif;
            color: #888;
            text-shadow: 1px 1px 1px #FFF;
            border:1px solid #E4E4E4;
        }
        .basic-grey h1 {
            font-size: 25px;
            padding: 0px 0px 10px 40px;
            display: block;
            background: #0073aa;
            border-bottom:1px solid #E4E4E4;
            margin: -10px -15px 30px -10px;;
            text-align: center;
            border-radius: 8px 8px 0 0;
            color: #fff;
        }
        .basic-grey h1>span {
            display: block;
            font-size: 18px;
        }
        .basic-grey label {
            display: block;
            margin: 0px;
        }
        .basic-grey label>span {
            float: left;
            width: 20%;
            text-align: right;
            padding-right: 10px;
            margin-top: 10px;
            color: #888;
        }
        .basic-grey input[type="text"], .basic-grey input[type="email"], .basic-grey textarea, .basic-grey select {
            border: 1px solid #DADADA;
            color: #888;
            height: 30px;
            margin-bottom: 16px;
            margin-right: 6px;
            margin-top: 2px;
            outline: 0 none;
            padding: 3px 3px 3px 5px;
            width: 70%;
            font-size: 12px;
            line-height:15px;
            box-shadow: inset 0px 1px 4px #ECECEC;
            -moz-box-shadow: inset 0px 1px 4px #ECECEC;
            -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
        }
        .basic-grey textarea{
            padding: 5px 3px 3px 5px;
        }
        .basic-grey textarea{
            height:100px;
        }
        .basic-grey .button {
            background: #E27575;
            border: none;
            padding: 10px 25px 10px 25px;
            color: #FFF;
            box-shadow: 1px 1px 5px #B6B6B6;
            border-radius: 3px;
            text-shadow: 1px 1px 1px #9E3F3F;
            cursor: pointer;
        }
        .basic-grey .button:hover {
            background: #CF7A7A
        }

            

/* Estilos generales */
.consulta-selector-test {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.consulta-selector-test h1 {
    padding: 20px;
    font-size: 22px;
    color: #FFF;
    background: #0073aa;
    border-radius: 8px 8px 0 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#consulta-selector-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

#consulta-selector-form select,
#consulta-selector-form button {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#consulta-selector-form select {
    width: 100%;
    background-color: #fff;
    color: #333;
}

#consulta-selector-form .button-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
}
#consulta-selector-form button {
    width: 50%;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#consulta-selector-form button:hover {
    background-color: #005f8d;
}

