/*=========================================
    PROYECTO AJAX - JQUERY
    Tema: Galaxia Azul
==========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    min-height:100vh;
    background:
    linear-gradient(rgba(3,10,35,.82),rgba(2,8,30,.88)),
    url("galaxia.jpg") center center/cover fixed;
    color:#ffffff;
}

.contenedor{
    width:90%;
    max-width:1100px;
    margin:40px auto;
}

/* TITULOS */

h1{
    text-align:center;
    color:#d7ecff;
    font-size:42px;
    margin-bottom:35px;
    letter-spacing:2px;
    text-shadow:
    0 0 10px #5ea9ff,
    0 0 20px #215eff;
}

h2{
    color:#8fd6ff;
    margin-bottom:20px;
    border-left:5px solid #57b8ff;
    padding-left:12px;
}

/* CAJAS */

.caja{
    background:rgba(10,25,60,.55);
    backdrop-filter:blur(18px);
    border:1px solid rgba(120,190,255,.25);
    border-radius:18px;
    padding:25px;
    margin-bottom:30px;

    box-shadow:
    0 0 25px rgba(50,120,255,.20),
    inset 0 0 15px rgba(255,255,255,.03);

    transition:.4s;
}

.caja:hover{

    transform:translateY(-4px);

    box-shadow:
    0 0 35px rgba(83,161,255,.35),
    0 0 60px rgba(0,132,255,.20);
}

/* FORMULARIOS */

label{
    display:block;
    margin-top:18px;
    margin-bottom:5px;
    color:#d9ecff;
    font-weight:bold;
}

input{

    width:100%;
    padding:12px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(170,220,255,.30);

    border-radius:12px;

    color:white;

    transition:.35s;
}

input::placeholder{
    color:#bfdfff;
}

input:focus{

    outline:none;

    background:rgba(255,255,255,.15);

    border-color:#6fc7ff;

    box-shadow:
    0 0 10px #4da8ff,
    0 0 20px rgba(70,180,255,.25);

}

/* BOTONES */

button{

    margin-top:20px;

    padding:12px 22px;

    border:none;

    border-radius:30px;

    cursor:pointer;

    color:white;

    font-size:15px;

    font-weight:bold;

    transition:.35s;

    margin-right:12px;

    letter-spacing:1px;
}

#btnValidar{
    background:linear-gradient(135deg,#0066ff,#47d7ff);
}

#btnGuardar{
    background:linear-gradient(135deg,#2d7dff,#70b9ff);
}

#btnConsultar{
    background:linear-gradient(135deg,#00aaff,#5fd4ff);
}

#btnLoad{
    background:linear-gradient(135deg,#2f4cff,#74d2ff);
}

button:hover{

    transform:translateY(-3px) scale(1.05);

    box-shadow:
    0 0 20px rgba(90,180,255,.55);

}

/* RESPUESTAS AJAX */

#respuesta,
#datosServidor,
#contenidoLoad{

    margin-top:18px;

    padding:18px;

    border-radius:15px;

    backdrop-filter:blur(12px);

    border:1px solid rgba(140,210,255,.20);

    background:rgba(255,255,255,.08);

    color:white;

    box-shadow:
    0 0 18px rgba(60,150,255,.18);

}

/* BUSCADOR */

#buscar{
    margin-bottom:20px;
}

/* TABLA */

table{

    width:100%;

    border-collapse:collapse;

    overflow:hidden;

    border-radius:15px;

    background:rgba(10,25,55,.55);

}

table th{

    background:rgba(0,65,140,.90);

    color:#dff3ff;

    padding:15px;

    letter-spacing:1px;
}

table td{

    padding:14px;

    border-bottom:1px solid rgba(255,255,255,.08);

    color:#eef7ff;

}

table tr:nth-child(even){

    background:rgba(255,255,255,.04);

}

table tr:hover{

    background:rgba(70,150,255,.18);

}

/* MENSAJES */

.error{

    color:#ff9a9a;

    margin-top:6px;

    font-size:13px;

}

.correcto{

    border:2px solid #59ff90 !important;

    box-shadow:0 0 12px #59ff90;

}

.incorrecto{

    border:2px solid #ff7070 !important;

    box-shadow:0 0 12px #ff7070;

}

/* SCROLL */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#08142f;
}

::-webkit-scrollbar-thumb{
    background:#3f8cff;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#71c9ff;
}

/* RESPONSIVE */

@media(max-width:700px){

button{

    width:100%;

    margin-bottom:12px;

}

h1{
    font-size:32px;
}

.caja{
    padding:18px;
}

}