﻿body {
    background: #f4f5f8;
    font-family: sans-serif;
    margin: 0;
}

.palomitas-container {
    padding: 18px;
    padding-bottom: 100px;
}

/* HEADER */

.module-header h2 {
    margin: 0;
    font-size: 26px;
}

.module-header p {
    color: #6b7280;
    margin-top: 5px;
}

/* RESUMEN */

.summary-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.summary-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .summary-card h3 {
        margin: 0;
        font-size: 20px;
    }

    .summary-card p {
        margin-top: 8px;
        color: #6b7280;
        font-size: 13px;
    }

    .summary-card.success {
        background: #dcfce7;
    }

/* ACCIONES */

.actions-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.action-card {
    border: none;
    background: white;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .action-card:hover {
        transform: translateY(-2px);
    }

.action-icon {
    font-size: 28px;
}

/* SECCIONES */

.section {
    margin-top: 30px;
}

.section-header {
    margin-bottom: 15px;
}

    .section-header h3 {
        margin: 0;
    }

/* INVENTARIO */

.inventory-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inventory-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .inventory-card h4 {
        margin: 0;
    }

    .inventory-card p {
        margin-top: 5px;
        color: #6b7280;
        font-size: 13px;
    }

.inventory-stock {
    font-weight: bold;
    font-size: 18px;
}

.inventory-card.critical {
    background: #fee2e2;
}

/* VENTAS */

.sales-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sale-item {
    background: white;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .sale-item p {
        margin-top: 5px;
        color: #6b7280;
        font-size: 13px;
    }

/* ALERTAS */

.alert-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-card {
    background: #fef3c7;
    color: #92400e;
    border-radius: 16px;
    padding: 14px;
    font-weight: 500;
}
