   :root {
            --primary-color: #27ae60; /* Verde agrícola */
            --secondary-color: #c0392b; /* Rojo cereza */
            --accent-color: #e74c3c; /* Rojo más claro */
            --light-bg: #f9f9f9;
            --dark-green: #1e8449;
            --light-green: #d5f5e3;
        }
        
        body {
            background-color: var(--light-bg);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding-top: 70px;
        }
        
        .navbar-custom {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--secondary-color) !important;
        }
        
        .navbar-brand img {
            height: 40px;
            margin-right: 10px;
        }
        
        .form-container {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
            padding: 30px;
            margin-top: 20px;
            margin-bottom: 50px;
            border-top: 5px solid var(--primary-color);
        }
        
        .form-section {
            border-left: 4px solid var(--primary-color);
            padding-left: 15px;
            margin-bottom: 25px;
            background-color: var(--light-green);
            padding: 20px;
            border-radius: 8px;
        }
        
        .form-section h6 {
            color: var(--dark-green);
            font-weight: 700;
            margin-bottom: 20px;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
        
        .form-label {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--dark-green);
            font-size: 0.85rem;
        }
        
        .btn-submit {
            background-color: var(--primary-color);
            border: none;
            padding: 12px;
            font-weight: 600;
            transition: all 0.3s;
            letter-spacing: 1px;
        }
        
        .btn-submit:hover {
            background-color: var(--dark-green);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
        }
        
        .form-control, .form-select {
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #ddd;
            transition: all 0.3s;
            font-size: 0.9rem;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(39, 174, 96, 0.25);
        }
        
        .loading-spinner {
            display: none;
            margin-left: 10px;
        }
        
        .header-title {
            color: var(--dark-green);
            margin-bottom: 30px;
            font-weight: 700;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }
        
        .header-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        
        .invalid-feedback {
            color: var(--accent-color);
            font-size: 0.8rem;
        }
        
        .is-valid {
            border-color: var(--primary-color) !important;
        }
        
        .is-invalid {
            border-color: var(--accent-color) !important;
        }
        
        .input-group-text {
            background-color: var(--primary-color);
            color: white;
            border: none;
        }
        
        .nav-link {
            color: var(--dark-green) !important;
            font-weight: 500;
        }
        
        .nav-link:hover {
            color: var(--secondary-color) !important;
        }
        
        /* Estilos para el select múltiple */
        select[multiple] {
            min-height: 120px;
        }
        
        select[multiple] option {
            padding: 8px 12px;
            border-bottom: 1px solid #eee;
        }
        
        select[multiple] option:hover {
            background-color: var(--light-green);
        }
        
        .select-hint {
            font-size: 0.8rem;
            color: #6c757d;
            margin-top: 5px;
        }
        
        /* Estilos para los campos dinámicos */
        .production-container {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            background-color: #f8f9fa;
            position: relative;
        }
        
        .production-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .production-title {
            font-weight: 600;
            color: var(--dark-green);
            margin: 0;
        }
        
        .btn-remove-production {
            background-color: var(--accent-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .btn-remove-production:hover {
            background-color: #c0392b;
            transform: scale(1.1);
        }
        
        .btn-add-production {
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            padding: 8px 15px;
            font-weight: 600;
            transition: all 0.3s;
            margin-bottom: 20px;
        }
        
        .btn-add-production:hover {
            background-color: var(--dark-green);
            transform: translateY(-2px);
        }
        
        .data-preview {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            border: 1px dashed var(--primary-color);
        }
        
        .data-preview h6 {
            color: var(--dark-green);
            margin-bottom: 10px;
        }
        
        .preview-content {
            font-family: monospace;
            white-space: pre-wrap;
            max-height: 200px;
            overflow-y: auto;
        }
        
        @media (max-width: 768px) {
            .form-container {
                padding: 20px;
            }
            
            body {
                padding-top: 60px;
            }
        }