.nestlefiles-module { font-family: Arial, sans-serif; color: #333; margin: 0; padding: 0; }
.nf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin: 0; padding: 0; }
.nestlefiles-module .nf-grid { margin-top: 1rem; margin-bottom: 1rem; }
.nf-item { list-style: none; }
.nf-item a { display: flex; flex-direction: column; align-items: center; text-decoration: none; background: #f5f5f5; border: 1px solid #ddd; border-radius: 8px; padding: 0.75rem; transition: background 0.2s ease, box-shadow 0.2s ease; min-height: 160px; box-sizing: border-box; }
.nf-item a:hover { background: #eaeaea; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.nf-icon { flex: 0 0 auto; width: 48px; height: 48px; margin-bottom: 0.5rem; }
.nf-icon img { width: 100%; height: 100%; object-fit: contain; }
.nf-name { flex: 1 1 auto; font-size: 0.85rem; color: #333; text-align: center; word-break: break-all; margin-bottom: 0.4rem; }
.nf-filesize, .nf-filedate { flex: 0 0 auto; font-size: 0.75rem; color: #666; }
.nf-filesize { margin-bottom: 0.2rem; }
.nf-upload-wrapper { margin-top: 2rem; padding: 1rem; border: 1px solid #ccc; background: #fafafa; border-radius: 6px; }
.nestlefiles-upload fieldset { border: none; margin: 0; padding: 0; }
.nestlefiles-upload legend { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.5rem; }
.nf-upload-row { margin-bottom: 0.75rem; }
.nf-upload-row label { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.nf-upload-row input[type="file"] { width: 100%; }
.nf-upload-row button[type="submit"] { padding: 0.5rem 1rem; font-size: 0.9rem; background: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s ease; }
.nf-upload-row button[type="submit"]:hover { background: #0056b3; }

/* Generic list (mod_nestleList) */
.customlist-module ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.customlist-module li { padding: 0.6rem 0.9rem; border: 1px solid #e0e0e0; border-radius: 6px; margin-bottom: 0.5rem; background: #fff; }
.customlist-module h4 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.customlist-module p { margin: 0; color: #555; }
