/* Paleta de Sweet Candy */
:root {
    --rosa: #f5b7c3;
    --amarillo: #f9dd66;
    --verde: #a8d5b5;
    --celeste: #9dd3e6;
    --violeta: #c5a4e0;
    --gris-fondo: #fcf8f3;
    --texto: #333;
    --fuente: 'Fredoka', sans-serif;
}

body {
    font-family: var(--fuente);
    margin: 0;
    background-color: var(--gris-fondo);
    color: var(--texto);
}

/* Navbar */
.navbar {
    background-color: var(--celeste);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-btn {
    background-color: white;
    color: var(--celeste);
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 50px;
}

.icons .icon {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: white;
    text-decoration: none;
}

/* Contenido principal */
.contenido {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: var(--celeste);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Botones principales */
.boton-principal {
    background-color: var(--rosa);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton-principal:hover {
    background-color: var(--amarillo);
    color: var(--texto);
}

/* Tarjetas de producto */
.tarjeta {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.tarjeta:hover {
    transform: scale(1.02);
}

.tarjeta img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.tarjeta h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.tarjeta p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Filtros y formularios */
.filtro-select, .input-formulario {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
}

/* Tabla */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background-color: var(--celeste);
    color: white;
    font-weight: bold;
}

.home-bienvenida {
    text-align: center;
    margin-bottom: 2rem;
    background-color: var(--rosa);
    padding: 2rem;
    border-radius: 20px;
    color: white;
}

.home-bienvenida h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.menu-principal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.card-menu {
    background-color: var(--celeste);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 180px;
    text-align: center;
}

.card-menu:hover {
    background-color: var(--amarillo);
    color: var(--texto);
    transform: scale(1.05);
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.4rem;
  font-size: 1rem;
}

.btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}
