﻿body {
    background: #f4f5f8;
    font-family: sans-serif;
}

.paletas-container {
    padding: 18px;
    padding-bottom: 100px;
}

/* HEADER */

.module-header h2 {
    margin: 0;
    font-size: 28px;
}

.module-header p {
    color: #6b7280;
}

/* SUMMARY */

.summary-grid {
    margin-top: 22px;
    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.success {
        background: #dcfce7;
    }

    .summary-card.warning {
        background: #fef3c7;
    }

/* SECTION */

.section-header {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-btn {
    border: none;
    background: #2563eb;
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
}

/* FLAVORS */

.flavors-grid {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.flavor-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .flavor-card.critical {
        background: #fee2e2;
    }

.flavor-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flavor-stock {
    font-size: 24px;
    font-weight: bold;
}

.quantity-actions {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}

.minus-btn,
.plus-btn {
    width: 48%;
    height: 45px;
    border: none;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
}

.minus-btn {
    background: #fee2e2;
    color: #dc2626;
}

.plus-btn {
    background: #dbeafe;
    color: #2563eb;
}

/* INVENTARIO */

.inventory-section {
    margin-top: 35px;
}

.section-title {
    margin-bottom: 14px;
}

.inventory-card,
.expense-record {
    background: white;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .inventory-card.critical {
        background: #fee2e2;
    }

/* GASTOS */

.expenses-section {
    margin-top: 35px;
}

.expense-select {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
    background: white;
}
