@keyframes adminOn {
    from {
        opacity: 0%;
    }
    to {
        opacity: 100%
    }
}

@keyframes toBlack {
    from {        
        opacity: 100%;
    }
    to {        
        opacity: 0%;
    }
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    padding: 40px;
    background: rgba(0, 0, 0, .8); 
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.5);
    border-radius: 10px;
}

.box form {
    display:flex;
    flex-direction: column;
}

.box h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
}

.box .inputBox {
    position: relative;
}

.box .inputBox input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;    
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background-color: transparent;
}

.box .inputBox label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;    
    color: #fff;     
    pointer-events: none;
    transition: .5s;
}

.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label {
    top: -18px;
    left: 0;
    color: #03a9f4;
    font-size: 12px;
} 

.box input[type="submit"], input[type="reset"] { 
    margin: 5px auto;           
    border:none;
    outline: none;
    color: #fff;    
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 40%;
}

.box input[type="submit"] {    
    background: rgba(3, 169, 244, .5);
}

.box input[type="reset"] {  
    background: rgba(255, 0, 0 , .5);
}

#errores {
    position: absolute;    
    bottom:0;
    background: red;
    color:white;
    padding:.5em;

    animation: toBlack;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;    
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.form-submit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

small {
    color: white;
}

.admin::before {    
    content : '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #00ccff, #0e1538, #0e1538, #d400d4);
    box-shadow: 0 0 0 20px #070c23;
    z-index: -1;    
    transition: .5s;
 }

 .admin::after {
    content : '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #00ccff, #0e1538, #0e1538, #d400d4);    
    z-index: -1;    
    filter: blur(20px);
    transition: .5s;
 }

 .admin::before, .admin::after {
    animation: adminOn;
    animation-duration: 1s;
    animation-delay: 0s;
    animation-timing-function: ease-in-out;
 }

#user-delete {
    align-self: center;
}
#user-delete a {    
    color:red;
}

input[id="chk-admin"] {
    align-self: center;
    position: relative;
    top:50%;
    left:50%;
    max-width: 120px;
    width: 120px;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(0deg, #333, #000);
    outline: none;
    border-radius: 20px;
    box-shadow: 0 0 0 4px #353535, 0 0 0 5px #3e3e3e, inset 0 0 10px rgba(0 , 0 ,0 ,1), 0 5px 20px rgba(0,0,0,.5), inset 0 0 15px rgba(0,0,0,.2);
    transition: .5s;
}

input:checked[id="chk-admin"] {
    background: linear-gradient(0deg, #6dd1ff, #20b7ff);
    box-shadow: 0 0 2px #6dd1ff,0 0 0 4px #353535, 0 0 0 5px #3e3e3e, inset 0 0 10px rgba(0 , 0 ,0 ,1), 0 5px 20px rgba(0,0,0,.5), inset 0 0 15px rgba(0,0,0,.2);
    transition: .5s;
}

input[id="chk-admin"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 40px;
    background: linear-gradient(0deg, #000, #6b6b6b);
    border-radius: 20px;
    box-shadow: 0 0 0 1px #232323;
    transform: scale(.98, .96);
    transition: .5s;     
}
input:checked[id="chk-admin"]:before {
    left: 40px;    
}
input[id="chk-admin"]:after {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    left: 65px;
    width: 4px;
    height: 4px;
    background: linear-gradient(0deg, #6b6b6b, #000);
    border-radius: 50%;
    transition: .5s;       
}
input:checked[id="chk-admin"]:after {
    background: #63cdff;
    left: 105px;    
    box-shadow: 0 0 5px #13b3ff,  0 0 15px #13b3ff;
}