	/* --- Basis & Layout --- */
		body {
    		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	    	background-color: #f3f4f6;
    		color: #1e293b;
    		margin: 0;
	    	padding: 20px;
		}

		a:link, a:visited {
    		color: #455A64;
	    	text-decoration: none;
		}

		a:hover {
    		color: #FF8F1F;
    		text-decoration: underline;
		}

		.input_uur {
				width: 30px; 
    			box-sizing: border-box; /* Zorgt dat padding de breedte niet vergroot */
    			text-align: center;
    			padding: 6px;
    			margin: 0;
		}



    /* Header */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        header h1 {
            font-size: 28px;
            font-weight: 800;
            margin: 0;
            letter-spacing: -0.5px;
        }

        header p {
            color: #64748b;
            margin: 5px 0 0 0;
        }

        .badge-count {
            background-color: #1e293b;
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: bold;
        }

	/* Filter Sectie */
        .card {
            background-color: white;
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-bottom: 24px;
            border: 1px solid #f1f5f9;
        }

        .filter-form {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: flex-end;
        }

        .filter-group {
            flex: 1;
            min-width: 240px;
        }

        .filter-group label {
            display: block;
            font-size: 12px;
            font-weight: bold;
            color: #64748b;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

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

form {
    display: inline;
}

.oranje {
    color: #FF8F1F;
}

.lgrijs {
	font-size: 10px; 
	color: #94a3b8;
}

/* --- Navigatie & Menu Kader --- */
.menu {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    border-radius: 8px;
    overflow: hidden;
    margin: 10px;
}

.td_menu {
    background: linear-gradient(135deg, #455A64 0%, #263238 100%);
    color: #ffffff;
    padding: 10px 15px;
    font-weight: 800;
    font-size: 12pt;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-bottom: 2px solid #CFD8DC;
}

.menu_item {
    display: inline-block;
    color: #455A64;
    margin: 0 12px; 
    padding: 8px 0;
    font-weight: bold;
    font-size: 12pt;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid #455A64;	
}

.list_item {
    color: #455A64;
    padding: 6px 15px;
    margin: 2px 10px;
    font-weight: normal;
    font-size: 10pt;
    border-radius: 4px;
    display: block;
    text-decoration: none;
    transition: background 0.2s;
}



/* --- Tabbladen --- */
.tabcontainer {
    border-bottom: 2px solid #CFD8DC;
    margin: 10px 0;
    padding-bottom: 0px;
}

.tabgewoon, .tabactief {
    display: inline-block;
    margin-right: 3px;
    padding: 6px 15px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 8.5pt;
}

.tabgewoon {
    background-color: #CFD8DC;
    color: #455A64;
}

.tabactief {
    background-color: #455A64;
    color: #ffffff;
}

/* --- Titels & Tekst --- */
.titel, .title {
    font-size: 16pt;
    font-weight: bold;
    color: #263238;
    border-bottom: 2px solid #455A64;
    padding-bottom: 6px;
    margin: 0 0 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.subtitel {
    background-color: #ECEFF1;
    color: #455A64;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 8.5pt;
    border-radius: 3px;
    margin-bottom: 5px;
}

.badge-count {
    background-color: #455A64;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 9pt;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- Tabellen & Data --- */
.table-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px -1px rgba(0,0,0,0.1); 
    overflow: hidden;
    border: 1px solid #CFD8DC;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

thead {
    background: linear-gradient(135deg, #455A64 0%, #1e293b 100%);
    color: #ffffff;
}

tr.thead:hover {
    background: linear-gradient(135deg, #455A64 0%, #1e293b 100%);
    cursor: default;
}

/* standaard TD */
td {
    font-size: 9pt;
    padding: 8px;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

th {
    padding: 12px 15px;
    font-size: 9pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #CFD8DC;
}


td.todo {
    padding: 5px 15px;
    border-bottom: 1px solid #ECEFF1;
    vertical-align: top;
    font-size: 10pt;
}

td.todotekst
{
	min-width: 200px;
	/*color: #475569;*/
	font-weight: bold;
    color: #334155;
}

.tdmouse:hover {
    background-color: #ECEFF1;
    cursor: pointer;
}

tr:hover {
      background-color: #f8fafc;
}

tr.gewonerij:hover {
   	background-color: #f3f4f6;
    cursor: default;
}
/* Facturatie onderscheid */
tr.rijdetail td, td.rijdetail {
    font-style: italic;
    color: #0F99E4; /* Helder Blauw */
}

tr.rijcrosseddetail td, td.rijcrosseddetail {
    font-style: italic;
    color: #546E7A; /* Blauwgrijs */
    opacity: 0.7;
}

/* --- Formulier Elementen --- */
input, textarea, select {
    font-family: inherit;
    font-size: 9pt;
    color: #263238;
    background-color: #f8fafc;
    border: 1px solid #CFD8DC;
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 4px;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #FF8F1F;
    outline: none;
    background-color: #F8F9FA;
    box-shadow: 0 0 3px rgba(69, 90, 100, 0.2);
}

input[type="button"], input[type="submit"] {
    background-color: #455A64;
    color: white;
    border: none;
    padding: 6px 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-size: 8.5pt;
    text-transform: uppercase;
    transition: background 0.2s;
}

input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #263238;
}

input.btn-orange {
    background-color: #FF8F1F;
}

input.btn-orange:hover {
    background-color: #E67E17;
}

/* --- Status Badges & Pillen --- */
.status-pill {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 8.5pt;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-open {
    background-color: #ECEFF1;
    border: 1px solid #CFD8DC;
    color: #90A4AE;
    padding: 2px 8px;
    border-radius: 4px;
}
.status-open::before {
    content: "⭕"; /* Of unicode \25CB */
    font-size: 9pt;
    margin-right: 4px;
}

.status-gefactureerd {
    background-color: #E8F5E9;
    border: 1px solid #A5D6A7;
    color: #2E7D32;
}
.status-gefactureerd::before {
    content: "✅"; /* Of unicode \2714 */
    font-size: 10pt;
    margin-right: 4px;
}

/* --- Feedback --- */
.foutje { background-color: #FFEBEE; border: 1px solid #EF5350; color: #C62828; padding: 5px; border-radius: 4px; }
.juist { background-color: #E8F5E9; border: 1px solid #66BB6A; color: #2E7D32; padding: 5px; border-radius: 4px; }
.controle { background-color: #FFF3E0; border: 1px solid #FFB74D; padding: 5px; border-radius: 4px; }

/* --- Cupina Actie Iconen --- */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #CFD8DC;
    margin: 0 2px;
    background-color: #ECEFF1;
    text-decoration: none !important;
}

.icon-edit {
    color: #455A64;
}
.icon-edit::before {
    content: "✏️"; /* Pure CSS: we gebruiken een emoji of Unicode */
    font-size: 11pt;
}
.icon-edit:hover {
    background-color: #CFD8DC;
    border-color: #90A4AE;
    color: #263238;
}

.icon-delete {
    color: #C62828;
}
.icon-delete::before {
    content: "🗑️"; /* Pure CSS: Prullenbak Unicode */
    font-size: 11pt;
}
.icon-delete:hover {
    background-color: #EF9A9A;
    border-color: #E57373;
    color: white;
}

/* --- Toast Melding --- */
#toast-container {
    position: fixed;
    bottom: 50px;
    left: 20px;
    z-index: 9999;
}

.toast {
    background-color: #263238;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #4caf50;
    animation: slideInLeft 0.5s ease-out, fadeOut 0.5s 2.5s forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* --- Diversen --- */
footer {
    margin-top: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 8pt;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

/* nieuw sinds TO-DO */
       .date-cell {
            font-size: 12px;
            color: #64748b;
            white-space: nowrap;
        }

        .date-cell .strong {
            font-weight: 600;
            color: #1e293b;
        }

        .werf-name {
            /*font-weight: bold;*/
            color: #334155;
        }

        .staff-info {
            font-size: 12px;
        }

        .staff-label {
            color: #94a3b8;
        }

        .staff-name {
            font-weight: 600;
            color: #334155;
        }

        .staff-edit {
            color: #2563eb;
            font-weight: 600;
        }

        /* Status Badges */
        .status-pill {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: white;
            display: inline-block;
        }

        /* Acties */
        .actions {
            text-align: right;
            white-space: nowrap;
        }

        .btn-action {
            padding: 8px;
            border-radius: 4px;
            background: white;
            border: 1px solid #e2e8f0;
            cursor: pointer;
            color: #64748b;
            margin-left: 4px;
        }

        .btn-action:hover {
            background-color: #f8fafc;
        }

        .btn-delete {
            color: #ef4444;
            border-color: #fee2e2;
        }

        .btn-delete:hover {
            background-color: #fef2f2;
        }

        .empty-state {
            padding: 60px;
            text-align: center;
            color: #94a3b8;
            font-style: italic;
        }

        .btn {
            padding: 10px 24px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            border: none;
            transition: 0.2s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background-color: #FF8F1F;
            color: white;
        }

        .btn-primary:hover {
            background-color: #E67E1B;
        }

        .btn-reset {
            background-color: #f1f5f9;
            color: #475569;
            border: 1px solid #e2e8f0;
        }

        .btn-reset:hover {
            background-color: #e2e8f0;
        }
.icon-verwijderen {
  width: 32px;
  height: 32px;
  display: inline-block;
  
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;

  /* Laad de gecombineerde afbeelding (de sprite) */
  background-image: url('../images/btn_delete.png');
  background-repeat: no-repeat;
  
  /* Startpositie: toon het eerste icoon (links) */
  background-position: 0 0;

  /* Optioneel: vloeiende overgang bij het schuiven */
  transition: background-position 0.1s ease-in-out;
}

.icon-verwijderen:hover {
  background-image: url('../images/btn_delete_hover.png');
}

.icon-bewerken {
  width: 32px;
  height: 32px;
  display: inline-block;
  
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;

  /* Laad de gecombineerde afbeelding (de sprite) */
  background-image: url('../images/btn_edit.png');
  background-repeat: no-repeat;
  
  /* Startpositie: toon het eerste icoon (links) */
  background-position: 0 0;

  /* Optioneel: vloeiende overgang bij het schuiven */
  transition: background-position 0.1s ease-in-out;
}

.icon-bewerken:hover {
  background-image: url('../images/btn_edit_hover.png');
}