/* public/assets/style.css */
:root {
    --bg-color: #f4f6f8;
    --card-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --accent: #10b981; /* Groen */
    --accent-hover: #059669;
    --border: #e0e0e0;
    --danger: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.5px; margin-top: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent);
    background: #ecfdf5;
}

/* File List Items */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.file-item:last-child { border-bottom: none; }

.file-info { display: flex; align-items: center; gap: 12px; }
.file-name { font-weight: 500; }
.file-size { font-size: 0.85em; color: var(--text-muted); }

/* Inputs & Selects */
input[type="text"], input[type="date"], select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box; /* Zorgt dat padding niet buiten de breedte valt */
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    text-align: center;
}
.btn:hover { background: #333; text-decoration: none; }

.btn-block { display: block; width: 100%; }

/* Specifiek voor de AI knop (Paars) */
#magicButton {
    background: #7c3aed; /* Paars */
}
#magicButton:hover {
    background: #6d28d9;
}

/* Tables */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; background: #f9fafb; padding: 12px; border-bottom: 1px solid #eee; font-weight: 600; color: #666; }
td { padding: 12px; border-bottom: 1px solid #eee; }
tr:last-child td { border-bottom: none; }