:root {
    --primary: #0078d4;
    --primary-dark: #005a9e;
    --bg: #f3f2f1;
    --card: #fff;
    --text: #323130;
    --danger: #d83b01;
    --warning: #ffaa00;
    --success: #107c10;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
}

header { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.header-content { max-width: 1100px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; font-weight: 700; font-size: 20px; color: var(--primary); text-decoration: none; }
.logo-box { width: 32px; height: 32px; background: var(--primary); border-radius: 6px; margin-right: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }

.nav { display: flex; align-items: center; }
.nav a { margin-left: 20px; text-decoration: none; color: #666; font-weight: 600; font-size: 13px; transition: 0.2s; }
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 2px; }

.btn-logout { color: var(--danger) !important; }

.container { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.card { background: var(--card); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); padding: 25px; margin-bottom: 25px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card-link { text-decoration: none; color: inherit; transition: 0.2s; display: flex; flex-direction: column; border: 1px solid transparent; }
.card-link:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.card-icon { font-size: 40px; margin-bottom: 15px; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 15px; border-bottom: 1px solid #f0f0f0; }
th { color: #888; font-size: 11px; text-transform: uppercase; }

.btn { padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; display: inline-flex; align-items: center; transition: 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-warning { background: var(--warning); color: white; }

.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-super_admin { background: #fde7e9; color: #a80000; }
.badge-company_admin { background: #fff4ce; color: #8a660e; }
.badge-company_editor { background: #e1f5fe; color: #0078d4; }

.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.modal-content { background: #fff; margin: 10% auto; padding: 30px; border-radius: 12px; max-width: 450px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; font-family: inherit; font-size: 14px; }
progress { width: 100%; height: 12px; border-radius: 10px; accent-color: var(--primary); margin-top: 20px; }

.video-preview { width: 140px; height: 80px; background: #000; border-radius: 8px; object-fit: cover; }
.hint { font-size: 13px; color: #005a9e; background: #e1f5fe; padding: 12px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid var(--primary); }
.video-item { display: flex; align-items: center; padding: 12px; background: white; border: 1px solid #eee; margin-bottom: 8px; border-radius: 8px; cursor: grab; }
.drag-handle { color: #ccc; margin-right: 15px; font-size: 18px; }

/* Login Specifieke Stijlen */
   .login-body {
       display: flex;
       align-items: center;
       justify-content: center;
       height: 100vh;
       margin: 0;
   }

.login-card {
    background: var(--card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.login-card .logo-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    font-size: 28px;
}

.login-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text);
}

.login-card p.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.login-card .alert {
    text-align: left;
    margin-bottom: 20px;
}