.ls-type-info {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {

    .ls-type-info {
        flex-direction: column;
        gap: 15px;
    }

}

.ls-restaurant-datum {
    padding: 5px;
    font-size: 20px;
    border: 1px solid #04583C;
    border-radius: 8px;
    background: #F5F5F5;  /*#e6f2ef*/
    transition: all 0.2s ease;
    text-align: center;

    color:#000;	
}

.ls-restaurant-deadline {
    font-size: 16px;
    color:#000;	
}


.ls-type-infotekst {
    flex: 1 1 calc(50% - 25px); /* 2 kolommen op desktop */
    padding: 25px;
    font-size: 18px;
    border: 1px solid #04583C;
    border-radius: 8px;
    background: #F5F5F5;  /*#e6f2ef*/
    transition: all 0.2s ease;
    text-align: center;

    color:#000;
}

.ls-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.ls-type-btn {
    flex: 1 1 calc(50% - 12px); /* 2 kolommen op desktop */
    padding: 25px;
    font-size: 18px;
    border: 1px solid #04583C;
    border-radius: 8px;
    background: #e6f2ef;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;

    color:#000;
}

.ls-type-btn:hover:not(:disabled) {
    background: #04583C; /* donkergroen */
    color: #fff;
}

.ls-type-btn.selected {
    background: #2e7d32;  /* lichter groen */
    color: #fff;
    border-color: #2e7d32;
}

.ls-type-btn.active {
    background: #2e7d32;
    color: white;
}

.ls-type-btn:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

/* MOBIEL */
@media (max-width:768px){

	.ls-type-btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		line-height: 1.3;
	}
}

/* Hoofdkaart */
#restaurantdag-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Secties wat meer ademruimte */
#restaurantdag-form > div {
    margin-bottom: 30px;
}

#restaurantdag-form h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

#restaurantdag-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #2e7d32;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#restaurantdag-form button[type="submit"]:hover {
    background: #256b29;
    transform: translateY(-1px);
}

#restaurantdag-form button[type="submit"]:active {
    transform: translateY(0);
}

.ls-waarschuwing{
    margin-top:10px;
    padding:10px 14px;
    background:#fff3cd;
    border:1px solid #ffeeba;
    color:#856404;
    border-radius:6px;
    font-size:14px;
}



.ls-qty-wrapper {
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-left:10px;
}

.ls-qty-wrapper button {
    width:28px;
    height:28px;
    border-radius:6px;
    border:1px solid #ccc;
    background:#f5f5f5;
    cursor:pointer;
}

.ls-qty-display {
    min-width:20px;
    text-align:center;
    font-weight:bold;
}

.gerechthoofding {
    font-size: 20px;
    font-weight:bold;
	padding:10px 14px;
	

}

/* Container van elk gerecht */
.ls-gerecht {
    display:flex;
	justify-content:space-between;
    align-items:center;
 	padding:6px 8px;  /*12 16*/
	margin-bottom:5px; /*10*/
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:10px;
    font-size: 13px;
	
}

/* Wrapper van + / - */
.ls-qty-wrapper {
    display:flex;
    align-items:center;
    gap:10px;
}


/* Plus & Minus knoppen met tekens erin */
.ls-minus,
.ls-plus {
    width:36px;
    height:36px;
    border-radius:8px;
    border:none;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all 0.2s ease;
}


.ls-minus,.ls-plus{width:30px;height:30px;border-radius:6px;border:none;font-weight:bold;cursor:pointer;}


/* Minus knop */
.ls-minus {
    background:#fee2e2;
    color:#b91c1c;
}

.ls-minus:hover {
    background:#fecaca;
}

/* Plus knop */
.ls-plus {
    background:#dcfce7;
    color:#166534;
}

.ls-plus:hover {
    background:#bbf7d0;
}

/* Teller */
.ls-qty-display {
    min-width:32px;
    text-align:center;
    font-size:16px;
    font-weight:600;
}

.ls-samenvatting {
    margin-top:10px;
	margin-bottom:10px;
    padding:15px 20px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius:8px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:600;
    flex-wrap:wrap;
}

/* Titel links */
.ls-samenvatting-titel {
    font-size:18px;
}

/* Totalen rechts */
.ls-samenvatting-totalen {
    display:flex;
    gap:30px;
}

/* Mobiel */
@media (max-width:768px){
    .ls-samenvatting {
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .ls-samenvatting-totalen {
        flex-direction:column;
        gap:5px;
    }
}



.ls-klantgegevens {
    xmargin-top: 5px;
    max-width: 600px;
    padding: 5px;
    background: #f8fafc;
    xborder: 1px solid #e2e8f0;
	border: 1px solid #d7d7d7;
    border-radius: 10px;
	margin: 5px 0px 5px 0px !important;
}

/* Elke rij */
.ls-klantgegevens label {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

/* Label links vaste breedte */
.ls-klantgegevens label span {
    width: 160px;
    font-weight: 600;
}

/* Input + textarea basis */
.ls-klantgegevens input,
.ls-klantgegevens textarea {
    flex: 1;
    padding: 5px 6px;
    xborder: 1px solid #94a3b8; !important;
	border: 1px solid #d7d7d7  !important; /*#e2e8f0;*/
	   
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* Hover */
.ls-klantgegevens input:hover,
.ls-klantgegevens textarea:hover {
    border-color: #94a3b8;
}

/* Focus */
.ls-klantgegevens input:focus,
.ls-klantgegevens textarea:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.15);
    outline: none;
}

/* Textarea in order section */
#ls-order-section textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    margin-top: 8px;
}

/* Order section zelf */
#ls-order-section {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

/* Mobiel */
@media (max-width: 768px) {
    .ls-klantgegevens label {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .ls-klantgegevens label span {
        width: 100%;
    }
}

#restaurantdag-form .ls-klantgegevens input,
#restaurantdag-form .ls-klantgegevens textarea {
    border: 1px solid #d7d7d7 !important;
    border-radius: 8px;
    background: #ffffff !important;
}

@media (max-width: 600px) {

    .ls-gerecht {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
		border: 1px solid #d7d7d7 !important;

	}


    .ls-qty-wrapper {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

}

.ls-plus:disabled {
    background:#e5e7eb;
    color:#9ca3af;
    cursor:not-allowed;
}

.ls-betaling{
    margin-top:25px;
    padding:20px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#ffffff;
}

.ls-bestellijn{
    display:flex;
    justify-content:space-between;
    padding:4px 0;
}

.ls-betaalinfo{
    margin-top:15px;
}

.ls-betaal-qr{
    margin-top:15px;
}




/* ------------------------------------------------------------
   Betalingsinfo box
------------------------------------------------------------ */
#ct-payment-info {
    margin-top: 20px;
}

.ct-payment-box {
    padding: 15px;
    background: #f0fdf4;
    border: 1px solid #2ecc71;
    border-radius: 6px;
    font-size: 14px;
}

.ct-payment-box h3 {
    margin-top: 0;
    color: #2e7d32;
}

.ct-payment-box p {
    margin: 6px 0;
}

.ct-payment-box button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    background: #04583C;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.ct-payment-box button:hover {
    background: #2e7d32;
}

/* ------------------------------------------------------------
   Kleine tekst
------------------------------------------------------------ */
.ct-small {
    font-size: 12px;
    color: #555;
}

/* ------------------------------------------------------------
   knop terug naarHome
------------------------------------------------------------ */
.ct-btn-home {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
}

.ct-btn-home:hover {
    background: #04583C;
    color: #fff;
}


/* betalingsinfo op scherm */
.ct-payment-box {
	max-width:650px;
	margin:auto;
}


.ct-payment-wrapper {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

.ct-payment-right {
    width:220px;
    text-align:center;
}

.ct-payment-right img {
    max-width:200px;
}


.ct-payment-wrapper {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

.ct-payment-left {
    flex:1;
}

.ct-payment-right {
    width:220px;
    text-align:center;
}

.ct-payment-right img {
    max-width:200px;
    height:auto;
}

/* MOBIEL */
@media (max-width:768px){

    .ct-payment-wrapper {
        flex-direction:column;
        align-items:center;
        gap:25px;
    }

    .ct-payment-right {
        width:100%;
    }

    .ct-payment-right img {
        max-width:220px;
    }
}

.ls-overzicht-tabel {
   font-size: 15px;	
}


/* Overzicht bestelling compacter maken */

.ls-overzicht-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ls-overzicht-tabel th,
.ls-overzicht-tabel td {
    padding: 4px 8px;        /* minder ruimte */
    line-height: 1.2;        /* dichter op elkaar */
}

.ls-overzicht-tabel th {
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #ccc;   /* enkel lijn onder titel */
}

/* geen lijnen tussen rijen */
.ls-overzicht-tabel td {
    border-bottom: none;
}

/* totaalrij iets duidelijker */
.ls-overzicht-tabel .ls-totaalrij td {
    padding-top: 6px;
    border-top: 1px solid #ccc;
    font-weight: 600;
}

.ls-overzicht-tabel td:last-child,
.ls-overzicht-tabel th:last-child {
    text-align: right;
}

/* -----------------------------
   Besteloverzicht new styling
-----------------------------*/

.ls-besteloverzicht {
    max-width: 520px;
    margin-top: 5;
    margin-bottom: 10px;
    padding: 10px 10px; /*18 20 */
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.ls-besteloverzicht h3 {
    margin-top: 0;
    margin-bottom: 2px;
    font-size: 18px;
}

/* tabel compacter */
.ls-overzicht-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0;
}

.ls-overzicht-tabel th,
.ls-overzicht-tabel td {
    padding: 4px 8px;
    line-height: 1.3;
}

.ls-overzicht-tabel th {
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* aantallen centreren */
.ls-overzicht-tabel td:nth-child(2),
.ls-overzicht-tabel th:nth-child(2) {
    text-align: center;
    width: 70px;
}

/* prijzen rechts */
.ls-overzicht-tabel td:last-child,
.ls-overzicht-tabel th:last-child {
    text-align: right;
    width: 110px;
    padding-bottom: 0;
}

/* totaalrij */
.ls-overzicht-tabel .ls-totaalrij td {
    border-top: 1px solid #ddd;
    padding-top: 6px;
    font-weight: 600;
}

.ls-overzicht-tabel tr:last-child td {

}




/* mobiel iets kleiner */
@media (max-width:600px){

    .ls-besteloverzicht{
        padding:14px;
    }

    .ls-overzicht-tabel{
        font-size:13px;
    }

}


/* restdag lijst gerechtenkolommen */
.wp-list-table .ls-dish{
width:20px;
text-align:center;
padding:1px 1px;
font-size:13px;
}

.wp-list-table .ls-klant{
min-width:200px;
}

.ls-sub{
font-size:11px;
color:#666;
margin-top:2px;
}


#ls-restdag-admin-wrap .formheader {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 20px;
  margin: 10px 0;
}



/* === HEADER & CELLEN === */
#restdag-admin-table th,
#restdag-admin-table td {
  border: 1px solid #ccc;
  padding: 2px 4px;             /* was 6px 10px;  */
  text-align: left;
  white-space: nowrap;          /* voorkom wrap */
  overflow: hidden;             /* content die te lang is wordt afgekapt */
  text-overflow: ellipsis;      /* toont ... bij te lange tekst */
}

/* === HEADER STIJL === */
#restdag-admin-table th {
  background: #f0f0f0;
  font-weight: bold;
}

/* === ALTERNATING ROWS + HOVER === */
#restdag-admin-table tbody tr:nth-child(odd) { background: #fff; }
#restdag-admin-table tbody tr:nth-child(even) { background: #fafafa; }
#restdag-admin-table tbody tr:hover { background: #eef7ff; }

/* === FIRST COLUMN: clickable “Naam” === */
#restdag-admin-table tbody tr td:first-child {
  cursor: pointer;
  color: #0073aa;
  transition: all 0.2s;
}
#restdag-admin-table tbody tr td:first-child:hover {
  text-decoration: underline;
  background-color: #e8f3ff;
}

/* === CENTRERING ACTIES === */
#restdag-admin-table td:nth-child(6),
#restdag-admin-table th:nth-child(7) {
  text-align: center;
}

/* === DELETE BUTTON === */
#restdag-admin-table button.delete {
  width: 24px;
  height: 24px;
  padding: 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}
#restdag-admin-table .delete .fa-trash {
  font-size: 15px;
  color: #0073aa;
  transition: color 0.2s;
}
#restdag-admin-table button.delete:hover .fa-trash {
  color: #005f8d;
}

/* === UNIVERSELE KNOPPEN === */
#restdag-admin-table button {
  width: 120px;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

#restdag-admin-table button i {
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}


#restdag-admin-table button:active {
  transform: scale(0.96);
}




/* === RESPONSIVE TABLE FOR MOBILE === */
@media screen and (max-width: 1024px) {
  #restdag-admin-table {
    min-width: 900px; /* minimale breedte voor horizontaal scrollen */
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  #restdag-admin-table {
    font-size: 12px;
    min-width: 800px;
  }
  #restdag-admin-table th,
  #restdag-admin-table td {
    padding: 5px 8px;
  }
}

@media screen and (max-width: 480px) {
  #restdag-admin-table {
    min-width: 700px;
  }
}


/* === TOGGLE SWITCH FILTERS === */
#restdag-admin-filters {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

/* Verberg de checkbox */
.toggle input {
    display: none;
}

/* Slider */
.toggle .slider {
    position: relative;
    width: 34px;
    height: 18px;
    background-color: #ccc;
    border-radius: 20px;
    transition: background-color 0.2s;
}

/* Knop */
.toggle .slider::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 2px;
    top: 2px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

/* AAN */
.toggle input:checked + .slider {
    background-color: #0073aa; /* WP blauw */
}

.toggle input:checked + .slider::before {
    transform: translateX(16px);
}

/* AAN */
.toggle.special input:checked + .slider {
    background-color: #d63638; /* rood */
}


