body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f4f7fe;
   
}

.form-container {
    background: #fff;
    padding: 40px 60px 60px 60px;
    width: 100%;
    max-width: 720px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0px 20px 70px rgba(45, 54, 173, 0.11);
    margin-top: 200px;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
    font-size: 1.5rem;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

input[type="email"] {
    width: 100%;
    padding: 13px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

button {
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    background-image: linear-gradient(288deg, #ffa369 0%, #ff436b 100%);
    box-shadow: 0px 15px 40px 0px rgba(255,115,106,.66);
    font-weight: bold;
}

button:hover {
    background-image: linear-gradient(288deg, rgb(26, 115, 232) 0%, rgb(26, 115, 232) 100%);
    box-shadow: 0px 15px 40px 0px rgba(26, 115, 232, 0.57);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    margin-bottom: 10px;
    color: #666;
}

.modal-content button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.modal-content button:hover {
    background-color: #0056b3;
}

.modal-backdrop.show {
    opacity: 0;
    display: none;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body {
    padding: 20px;
}

/* Icono de éxito */
.icono-check {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.icono-check svg {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

/* Botón de cerrar */
.btn-primary {
    border: none!important;
    border-radius: 6px!important;
    padding: 10px 20px!important;
    font-size: 16px!important;
    font-weight: bold!important;
    transition: background 0.3s ease!important;
    background-image: linear-gradient(288deg, #007BFF 0%, #007BFF 100%);
    box-shadow: 0px 15px 40px 0px rgb(255 115 106 / 0%);
}

.btn-primary:hover {
    background-color: #0056b3!important;
}

/* Fondo difuminado */
.background {
   /*background-image: url('../img/fondo.avif');  AquÃ­ va tu imagen difuminada */
    background-size: cover;
    background-position: center;
    /*filter: blur(8px);  Efecto borroso */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 550px;
    z-index: -1;
    background-image: linear-gradient(288deg, #2f59cc 0%, #4b71ff 100%);
}

.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/shape_header.svg') no-repeat;
    opacity: 1;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
}
.footer {
    text-align: center;
    font-size: 14px;
    color:#16243D;
    padding: 10px;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1440px) {
    .background {
     height: 450px;
  }
}
/* Ajustes para pantallas pequeñas */
@media screen and (max-width: 1200px) {
 
    .form-container {
       margin-top: 120px;
       padding: 40px 30px 50px 30px;
       max-width: 80%;
       text-align: center;
       z-index: 2;
       margin-right: 10px;
       margin-left: 10px;
    }
    
    .background {
       height: 350px;
    }
    
}
@media screen and (max-width: 768px) {
    .background {
       height: 300px;
    }
}
@media screen and (max-width: 480px) {
    .form-container {
       padding: 40px 30px 50px 30px;
       max-width: 97%;
    }
    h2 {
       font-size: 20px;
    }
    .background {
       height: 295px;
    }
    .footer {
       margin-left: 10px;
       margin-right: 10px;
   }
    button {
       padding: 13px 20px; 
   }
}