/* ==============================
   ESTILOS GENERALES
   ============================== */

body {
    margin: 0;
    padding: 0;
    background-color: #fdf8f5;
    font-family: Arial, Helvetica, sans-serif;
    color: #5f5a5a;
}


/* ==============================
   ENCABEZADO
   ============================== */

.encabezado {
    background-color: #b8cde1;
    color: #3f4f5f;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 3px 10px rgba(80, 80, 80, 0.10);
}

.encabezado h1 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}

.encabezado p {
    margin-top: 10px;
    font-size: 18px;
    color: #596979;
}


/* ==============================
   DESCRIPCIÓN
   ============================== */

.texto-descripcion {
    color: #8a8181;
    font-size: 17px;
}


/* ==============================
   TARJETAS
   ============================== */

.tarjeta {
    border: none;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(100, 90, 90, 0.10);
    transition: all 0.3s ease;
}


/* Efecto al pasar el mouse */

.tarjeta:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(100, 90, 90, 0.15);
}


/* Iconos */

.icono {
    font-size: 45px;
    margin-bottom: 15px;
}


/* Títulos de las tarjetas */

.tarjeta h3 {
    font-size: 21px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #5b5656;
}


/* Texto de las tarjetas */

.tarjeta p {
    color: #888080;
    min-height: 70px;
    line-height: 1.6;
}


/* ==============================
   COLORES PASTEL DE LOS BOTONES
   ============================== */

/* Botón azul pastel */

.btn-primary {
    background-color: #a9c8df;
    border-color: #a9c8df;
    color: #3f5262;
}

.btn-primary:hover {
    background-color: #91b7d2;
    border-color: #91b7d2;
    color: #ffffff;
}


/* Botón verde pastel */

.btn-success {
    background-color: #b8d8c0;
    border-color: #b8d8c0;
    color: #465c4b;
}

.btn-success:hover {
    background-color: #9fc9aa;
    border-color: #9fc9aa;
    color: #ffffff;
}


/* Botón rosa pastel */

.btn-danger {
    background-color: #e6b8bd;
    border-color: #e6b8bd;
    color: #694c50;
}

.btn-danger:hover {
    background-color: #d99da5;
    border-color: #d99da5;
    color: #ffffff;
}


/* Botón amarillo pastel */

.btn-warning {
    background-color: #f2d69b;
    border-color: #f2d69b;
    color: #675837;
}

.btn-warning:hover {
    background-color: #e8c67b;
    border-color: #e8c67b;
    color: #ffffff;
}


/* Botón secundario */

.btn-secondary {
    background-color: #d8d1d1;
    border-color: #d8d1d1;
    color: #5e5858;
}

.btn-secondary:hover {
    background-color: #beb5b5;
    border-color: #beb5b5;
    color: white;
}


/* ==============================
   BOTONES
   ============================== */

.btn {
    border-radius: 10px;
    padding: 9px 20px;
    font-weight: bold;
    transition: 0.3s;
}


/* ==============================
   SECCIONES
   ============================== */

.seccion {
    margin-top: 60px;
    margin-bottom: 60px;
}


/* Títulos de sección */

.titulo-seccion {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #655e5e;
}


/* ==============================
   TABLA
   ============================== */

.table {
    background-color: #ffffff;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(100, 90, 90, 0.08);
}


/* Encabezado de tabla */

.table-dark {
    background-color: #aebdca !important;
    border-color: #aebdca !important;
    color: #424d56 !important;
}


/* Celdas */

.table th {
    vertical-align: middle;
}

.table td {
    vertical-align: middle;
    color: #686161;
}


/* ==============================
   ETIQUETAS DE ESTADO
   ============================== */

.badge.bg-success {
    background-color: #b8d8c0 !important;
    color: #465c4b;
}

.badge.bg-danger {
    background-color: #e6b8bd !important;
    color: #694c50;
}

.badge.bg-warning {
    background-color: #f2d69b !important;
    color: #675837;
}


/* ==============================
   FORMULARIO
   ============================== */

.formulario {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(100, 90, 90, 0.10);
}


/* Etiquetas */

.formulario label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
    color: #625b5b;
}


/* Campos */

.formulario input,
.formulario select {
    border: 1px solid #ddd3d3;
    border-radius: 10px;
    padding: 10px;
    color: #625b5b;
    background-color: #fffdfd;
}


/* Campos seleccionados */

.formulario input:focus,
.formulario select:focus {
    border-color: #b8cde1;
    box-shadow: 0 0 6px rgba(184, 205, 225, 0.5);
}


/* ==============================
   PIE DE PÁGINA
   ============================== */

.pie-pagina {
    background-color: #b9b0b0;
    color: #ffffff;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}


.pie-pagina p {
    margin: 5px;
}


/* ==============================
   DISEÑO PARA CELULARES
   ============================== */

@media (max-width: 768px) {

    .encabezado {
        padding: 30px 15px;
    }

    .encabezado h1 {
        font-size: 25px;
    }

    .encabezado p {
        font-size: 16px;
    }

    .titulo-seccion {
        font-size: 24px;
    }

    .formulario {
        padding: 20px;
    }

    .icono {
        font-size: 40px;
    }
}