html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================
   CONTENEDOR FORMULARIOS (CREATE)
========================= */
.form-create-container {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* =========================
   CARD FORMULARIO (CREATE)
========================= */
.form-create-card {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease;
    padding: 20px;
}

    /* =========================
   TITULO (CREATE)
========================= */
    .form-create-card .titulo-agro {
        font-weight: 600;
        color: #333;
    }

    /* =========================
   INPUTS (CREATE)
========================= */
    .form-create-card .form-control,
    .form-create-card .form-select {
        border-radius: 8px;
        border: 1px solid #ddd;
        padding: 10px;
        transition: 0.2s;
    }

        .form-create-card .form-control:focus,
        .form-create-card .form-select:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 5px rgba(74,144,226,0.3);
        }


/* =========================
   ANIMACIÓN
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== AGRO MERCADO - DETALLE COMPRA (ESTILO AISLADO) ===== */

.agrocmp-container {
    background-color: #f4f8f4;
    padding: 15px;
    border-radius: 10px;
}

.agrocmp-title {
    color: #2e7d32;
    font-weight: bold;
}

.agrocmp-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.agrocmp-label {
    font-weight: 600;
    color: #1b5e20;
}

.agrocmp-table thead {
    background-color: #2e7d32;
    color: #fff;
}

.agrocmp-table tbody tr:hover {
    background-color: #e8f5e9;
    transition: 0.3s;
}

.agrocmp-total {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 10px;
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: #1b5e20;
}

.agrocmp-btn {
    background-color: #2e7d32;
    color: white;
    border: none;
}

    .agrocmp-btn:hover {
        background-color: #1b5e20;
        color: white;
    }