﻿.centrar {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /*overflow: hidden;
    z-index: 1;*/
    background-image: url("../Imagenes/imagenes/carrousel11.jpg");
    background-size: cover; /* Ajusta la imagen sin deformarla */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que se repita */
}

    /* Capa semi-transparente */
    .centrar::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(52, 73, 94, 0.6);  /*Cambia el valor de 0.5 para ajustar la opacidad */
        z-index: 1;
    }

    /* Asegura que el contenido esté por encima de la capa */
    .centrar > * {
        position: relative;
        z-index: 2;
    }


.card-container {
    max-width: 660px;
    margin: auto;
    z-index: 10;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 0 10px rgba(251, 252, 252, 0.25) !important;
}

@media (max-width: 991px) {
    .card-container {
        max-width: 400px !important;
    }
}

/* Input con íconos */
.input-group-text {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.input-group .form-control {
    border-left: none;
    border-color: #ced4da;
    box-shadow: none !important; /* quitamos el interno */
    transition: border-color 0.3s ease;
}

    .input-group .form-control:focus {
        border-color: #80bdff;
    }

/* Asegura bordes redondeados solo en los extremos */
.custom-rounded-input .input-group-text:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.custom-rounded-input .form-control {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* Container redondeado y con sombra sutil */
.custom-rounded-input {
    overflow: hidden;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 4px 4px 7px rgba(28, 40, 51, 1.2); /* para transición suave */
    transition: box-shadow 0.3s ease;
}

    /*.custom-rounded-input:focus-within {
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);*/ /* efecto al enfocar */
    /*}*/


/* Botón personalizado */
.custom-btn {
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    background-color: #003366;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

    .custom-btn:hover {
        background-color: #1b4f72;
        color: #ffffff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

/* Ocultar botón de carga al inicio */
.ocultar {
    display: none;
}

.icon-bg {
    background-color: #003366 !important; /* azul oscuro */
    color: #ffffff !important;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}
