body{
    margin: 0;
    font-family: sans-serif;
    color: #444;
    /*background: url("1.jpg");*/
    background-color: #c9d6ff;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: linear-gradient(to right, #e2e2e2, #c9d6ff);
}


h2{
    margin-top: 20px;
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 22px;
    color: #111;
}

form{
    background-color: #fff;
    padding: 10px 0;
    max-width: 500px;
    margin: auto;
    /*box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);*/
    box-shadow:0 4px 30px;
    margin-top: 10px;
    border-radius: 0.5em;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form_input{
    padding: 6px 20px;
}

.form-control .icon{

    right: 100px;
    top: 0%;
    transform: translateY(-30%);
    font-size: 20px;
    color: transparent;
    pointer-events: none;
}

.form-control.success input,
.form-control.success textarea{
    border-color: #2ecc71;
}

.form-control.success .icon{
    color: #2ecc71;
}

.form-control.error input,
.form-control.error textarea{
    border-color: #e74c3c;
}

.form-control.error .icon,
.form-control.error input::placeholder,
.form-control.error textarea::placeholder{
    color: #e74c3c;
}

input,textarea,select{
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: none;
    border: 1px solid #999;
    box-shadow: 0px 0px 15px #0001;
    background-color: #eee;
    border-radius: 6px;
    color: #333;
    margin-top: 6px;
}

option{
    background-color: transparent;
}

textarea{
    min-width: 100%;
    resize: none;
    min-height: 102px;
    font-family: sans-serif;
}

label{
    font-size: 0.9em;
    margin-bottom: 40px;
    color: #111;
    line-height: 2;
}

.checkbox{
    width: auto;
    height: 10px;
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 3px;
}


.form-check {
    align-items: center;
    justify-content: center;
    text-align: center; 
    width: 100%;
}

.form-check-label {
    font-size: 1em;
    color: #fff;
    line-height: 1.5;
}

fieldset{
    border-radius: 5px;
    border: 1ps solid #666;
    padding: 0 20px 20px 20px;
    margin: 20px;
}


legend{
    padding: 0 6px;
    color: #333;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.btn-primary {
    margin: auto;
    background-color: #007bff;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    margin-left: 10px;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.8;
}

.d-grid {
    display: flex;
    gap: 10px; /* Espacio entre los botones */
}

.btn-primary,
.btn-secondary {
    width: 100%; 
}


.modal{
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content{
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    border: 1px solid #888;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

.close-button{
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close-button:hover,
.close-button:focus{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

b{
    color: red;
}

.form-check-label{
    color: #111;
}