/* =========================
   ESTILO GENERAL
========================= */
body{
    background: linear-gradient(135deg, #ffd6ec, #d6f4ff, #fff2a8);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */
.navbar{
    background: linear-gradient(90deg, #6ecbff, #ff9ecf);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.navbar-brand{
    font-weight: bold;
    color: white !important;
    font-size: 24px;
}

/* =========================
   TARJETAS
========================= */
.card{
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-5px);
}

.card-header{
    background: linear-gradient(90deg, #6ecbff, #ffe066);
    color: #333;
    font-weight: bold;
    text-align: center;
    font-size: 22px;
}

/* =========================
   FORMULARIOS
========================= */
.form-control{
    border-radius: 12px;
    border: 2px solid #ffd6ec;
    padding: 10px;
}

.form-control:focus{
    border-color: #6ecbff;
    box-shadow: 0 0 10px rgba(110,203,255,0.5);
}

/* =========================
   BOTONES
========================= */
.btn{
    border-radius: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary{
    background-color: #6ecbff;
    border: none;
}

.btn-primary:hover{
    background-color: #4ab8f0;
}

.btn-success{
    background-color: #ffe066;
    color: #333;
    border: none;
}

.btn-success:hover{
    background-color: #ffd43b;
}

.btn-danger{
    background-color: #ff9ecf;
    border: none;
}

.btn-danger:hover{
    background-color: #ff70b8;
}

/* =========================
   TABLAS
========================= */
.table{
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.table th{
    background: #6ecbff;
    color: white;
    text-align: center;
}

.table td{
    vertical-align: middle;
    text-align: center;
}

/* =========================
   TITULOS
========================= */
h2, h3, h4{
    color: #444;
    font-weight: bold;
}

/* =========================
   CONTENEDORES
========================= */
.container{
    animation: aparecer 0.8s ease-in-out;
}

@keyframes aparecer{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}