/* --- LOGIN STYLES --- */
.dog-login-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 600px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #fff; }
.dog-login-logo { margin-bottom: 30px; text-align: center; }
.dog-login-logo img { max-width: 250px; height: auto; }
.dog-login-card { background: #fff; border: 1px solid #d1d5db; padding: 40px; width: 100%; max-width: 400px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.dog-form-group { margin-bottom: 20px; }
.dog-form-label { display: block; margin-bottom: 8px; color: #4b5563; font-size: 14px; }
.dog-input-wrapper { position: relative; }
.dog-form-input { width: 100%; padding: 10px 12px; border: 1px solid #9ca3af; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
.dog-form-input:focus { border-color: #235c9c; outline: none; box-shadow: 0 0 0 2px rgba(35, 92, 156, 0.2); }
.dog-pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #6b7280; background: none; border: none; font-size: 16px; padding: 0; }
.dog-pw-toggle:hover { color: #235c9c; }
.dog-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.dog-login-btn { background-color: #235c9c; color: white; padding: 10px 24px; border: none; border-radius: 4px; font-weight: 600; cursor: pointer; text-decoration: none; font-size: 14px; }
.dog-login-btn:hover { background-color: #1e4b82; }
.dog-login-footer { margin-top: 25px; font-size: 13px; color: #6b7280; text-align: center; }
.dog-login-footer a { color: #6b7280; text-decoration: none; }
.dog-login-footer a:hover { text-decoration: underline; color: #235c9c; }
.dog-chk-label { font-size: 13px; color: #4b5563; display: flex; align-items: center; gap: 6px; }

/* --- APP MAIN LAYOUT --- */
.dog-app-wrapper { font-family: 'Inter', sans-serif; color: #334155; background: #f8fafc; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); overflow: hidden; margin: 20px auto; max-width: 1250px; border:1px solid #e2e8f0; } 
.dog-app-wrapper * { box-sizing: border-box; } 
.dog-app-wrapper a { text-decoration: none; }
.dog-header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 20px 30px; display:flex; justify-content:space-between; align-items:center; }
.dog-nav-tabs { display: flex; gap: 5px; padding: 15px 30px; background:#fff; border-bottom:1px solid #e2e8f0; overflow-x:auto; }
.dog-tab-btn { background: transparent; border: none; color: #64748b; padding: 10px 18px; border-radius: 6px; font-weight: 600; cursor: pointer; transition:0.2s; font-size:14px; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.dog-tab-btn:hover { background: #f1f5f9; color: #0f172a; } 
.dog-tab-btn.active { background: #eff6ff; color: #235c9c; }
.dog-sub-nav { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid #e2e8f0; padding-bottom: 0; }
.dog-sub-link { padding: 10px 5px; color: #64748b; font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.2s ease; margin-bottom: -1px; }
.dog-sub-link:hover { color: #235c9c; } 
.dog-sub-link.active { color: #235c9c; border-bottom-color: #235c9c; }
.dog-container { padding: 30px; }
.dog-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 25px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.dog-card h3 { margin-top:0; border-bottom:1px solid #f1f5f9; padding-bottom:15px; margin-bottom:20px; font-size:16px; font-weight:700; color:#0f172a; }

/* --- GRIDS & FORMS --- */
.dog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom:20px; }
.dog-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.dog-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.dog-form-grid > div { position: relative; }
.dog-input, .dog-select { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size:14px; box-sizing:border-box; margin-bottom:10px; height: 42px; }
.dog-label { font-weight:600; font-size:12px; color:#64748b; display:block; margin-bottom:5px; }

/* --- BUTTONS --- */
.dog-btn { padding: 0 20px; height: 42px; line-height: 42px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; color:white; background: #235c9c; display:inline-block; text-align:center; text-decoration:none; transition: 0.2s; }
.dog-btn:hover { background: #1e4b82; }
.dog-btn:disabled { background: #ccc; cursor: not-allowed; }
.dog-btn-sm { padding: 0 12px; height: 32px; line-height: 32px; font-size:12px; } 

/* --- ICON BUTTONS --- */
.dog-icon-btn { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid transparent; background: #fff; transition: all 0.2s ease; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); cursor: pointer; text-decoration: none; vertical-align: middle; }
.dog-icon-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 5px rgba(0,0,0,0.05); }
.dog-btn-edit { color: #d97706; border-color: #fcd34d; background: #fffbeb; }
.dog-btn-del { color: #dc2626; border-color: #fca5a5; background: #fef2f2; }
.dog-btn-merge { color: #7c3aed; border-color: #c4b5fd; background: #f5f3ff; }
.dog-btn-copy { color: #0284c7; border-color: #bae6fd; background: #f0f9ff; }
.dog-btn-ok { color: #16a34a; border-color: #86efac; background: #f0fdf4; }
.dog-btn-warning { background: #f59e0b; color: #fff; }
.dog-btn-danger { background: #ef4444; color: #fff; }

/* --- TASKS & TABLES --- */
.dog-task-list { display: flex; flex-direction: column; gap: 6px; }
.dog-task-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 8px 12px; transition: 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.02); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dog-task-card:hover { border-color: #cbd5e1; }
.dog-task-info { flex: 1; min-width: 0; }
.dog-task-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.4; }
.dog-task-type { font-weight: 700; color: #0f172a; font-size: 13px; }
.dog-task-hours { font-size: 11px; font-weight: 600; color: #4338ca; background: #e0e7ff; padding: 1px 6px; border-radius: 99px; white-space: nowrap; }
.dog-task-error { font-size: 13px; color: #ef4444; font-weight: 600; }
.dog-task-comment { font-size: 12px; color: #64748b; font-style: italic; margin-top: 2px; }
.dog-task-actions { display: flex; gap: 4px; flex-shrink: 0; }
.dog-table { width: 100%; border-collapse: collapse; font-size: 13px; } 
.dog-table th { text-align: left; padding: 12px; background: #f8fafc; color: #475569; border-bottom: 2px solid #e2e8f0; font-weight:600; } 
.dog-table td { padding: 12px; border-bottom: 1px solid #f1f5f9; vertical-align:top; }
.dog-badge { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: bold; background: #e0f2fe; color: #0284c7; display:inline-block; }

/* --- COMPONENTS (Modals, KPI, Suggestions) --- */
.dog-modal-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(15, 23, 42, 0.6); display: none; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(4px); }
.dog-modal-box { background: white; padding: 30px; border-radius: 12px; width: 500px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); max-height:90vh; overflow-y:auto; }
.dog-kpi-card { display:flex; align-items:center; justify-content:space-between; padding:20px; }
.dog-kpi-val { font-size:32px; font-weight:800; color:#0f172a; line-height:1; }
.dog-kpi-lbl { font-size:13px; font-weight:600; text-transform:uppercase; color:#64748b; letter-spacing:0.5px; margin-bottom:5px; }
.dog-suggestions { position: absolute; background: white; width: 100%; border: 1px solid #cbd5e1; z-index: 100; display: none; max-height: 200px; overflow-y: auto; margin-top:-10px; border-radius: 0 0 6px 6px; box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.dog-sug-item { padding: 10px 15px; cursor: pointer; border-bottom:1px solid #f1f5f9; } 
.dog-sug-item:hover { background: #f8fafc; }
.dog-error-msg { color: #ef4444; font-size: 13px; font-weight: 600; margin-top: 5px; display:none; }
.dog-error-row { display: flex; align-items: flex-start; padding: 12px; border: 1px solid #e2e8f0; border-radius:6px; margin-bottom:8px; cursor: pointer; transition: 0.15s; background:#fff; }
.dog-error-row:hover { border-color: #94a3b8; } 
.dog-ftr-row { background-color: #f0fdf4; border-color: #bbf7d0; } 
.dog-actie-box { background: #fffbeb; border: 1px solid #fcd34d; padding: 10px; border-radius: 6px; margin-top: 8px; display: none; }
.dog-disabled-row { opacity: 0.5; pointer-events: none; }
.dog-tab-btn {
    flex-direction: column; /* Icoon boven tekst */
    gap: 5px;
    height: auto; /* Laat hoogte meegroeien */
    padding: 10px;
}
.dog-tab-btn img {
    width: 24px; /* Of het formaat van je icoon */
    height: auto;
}
/* --- TABS STYLING --- */
.dog-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #e2e8f0; /* Grijze lijn onderaan */
    margin-bottom: 20px;
    padding-left: 10px;
}

.dog-tab {
    text-decoration: none;
    padding: 10px 20px;
    background: #f1f5f9; /* Lichtgrijze achtergrond voor niet-actieve tabs */
    color: #64748b;      /* Donkergrijze tekst */
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0; /* Alleen bovenhoeken afronden */
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    margin-bottom: -2px; /* Zorgt dat de tab op de lijn staat */
}

.dog-tab:hover {
    background: #e2e8f0;
    color: #334155;
}

.dog-tab.active {
    background: #ffffff;  /* Wit voor de actieve tab */
    color: #235c9c;       /* D.O.G. Blauw */
    border-top: 3px solid #235c9c; /* Blauw accentje bovenop */
    border-bottom: 2px solid #ffffff; /* Overlapt de grijze lijn eronder */
    z-index: 10;
}