/* Global CSS - Mobile-first responsive design */
/* < 100 regels conform project-standards.md */

/* Reset en basis styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #4a7c4e;
    --accent-color: #97bc62;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Container en grid systeem */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -8px;
}

.col {
    flex: 1;
    padding: 8px;
}

/* Typography */
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; }

/* Responsive utilities */
.mobile-only { display: block; }
.desktop-only { display: none; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 4px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    min-height: 44px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Card component */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

/* Tablet en desktop breakpoints */
@media (min-width: 768px) {
    .mobile-only { display: none; }
    .desktop-only { display: block; }
    .container { padding: 0 24px; }
    .col-md-6 { flex: 0 0 50%; }
    .col-md-4 { flex: 0 0 33.333%; }
    .col-md-3 { flex: 0 0 25%; }
}

@media (min-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .container { padding: 0 32px; }
}
/* Tooltip systeem */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #bbb;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
    margin-left: 5px;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
}
.tooltip-icon:hover { background: #ffd700; color: #1a1a2e; }
.tooltip-icon .tooltip-text {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    max-width: 240px;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    text-align: center;
    z-index: 1000;
    line-height: 1.4;
}
.tooltip-icon:hover .tooltip-text { display: block; }
