.trend-res-wrap{
  max-width: 720px;
  margin: 0 auto; /* center */

  /* defaults (worden overschreven via wp_add_inline_style) */
  --trend-btn-bg: #316aff;
  --trend-btn-text: #ffffff;
  --trend-btn-bg-hover: #2456d6;
  --trend-btn-text-hover: #ffffff;
}

.trend-res-alert{
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.trend-res-alert.success{
  border: 1px solid #cbead9;
  background: #eefaf3;
}

.trend-res-alert.error{
  border: 1px solid #f2c7c7;
  background: #fff1f1;
}

.trend-res-form{
  width: 100%;
  padding: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
}

.trend-res-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trend-res-grid label span{
  display:block;
  font-weight: 600;
  margin-bottom: 6px;
}

.trend-res-grid input,
.trend-res-grid select,
.trend-res-grid textarea{
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  padding: 14px 12px;   /* hoger */
  font-size: 16px;      /* iOS: voorkomt zoom */
  box-sizing: border-box;
}

.trend-res-full{
  grid-column: 1 / -1;
}

.trend-res-btn{
  margin-top: 5px;
  padding: 11px 14px;
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  background: var(--trend-btn-bg);
  color: var(--trend-btn-text);
}

.trend-res-btn:hover{
  background: var(--trend-btn-bg-hover);
  color: var(--trend-btn-text-hover);
}

/* Alleen naam, email, telefoon iets compacter (zoals jij had) */
.trend-res-grid input[name="name"],
.trend-res-grid input[name="email"],
.trend-res-grid input[name="phone"]{
  padding: 12px 12px;
  font-size: 15px;
}

/* Date input: altijd wit en netjes, maar GEEN extra icoon op desktop */
.trend-res-wrap input[type="date"].trend-res-date{
  background-color: #fff !important;
  color: #111 !important;
  border: 1px solid #d9d9d9;
  -webkit-appearance: none;
  appearance: none;

  /* geen extra ruimte/icoon op desktop */
  padding-right: 12px;
  background-image: none;
}

/* Mobiel layout */
@media (max-width: 640px){
  .trend-res-grid{ grid-template-columns: 1fr; }

  /* Op mobiel wél het custom icoon (als native niet zichtbaar is) */
  .trend-res-wrap input[type="date"].trend-res-date{
    padding-right: 44px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
  }
}
/* Desktop: forceer geen custom icon (voorkomt dubbele iconen) */
@media (min-width: 641px){
  .trend-res-wrap input[type="date"].trend-res-date{
    background-image: none !important;
    background-repeat: initial !important;
    background-position: initial !important;
    background-size: initial !important;
    padding-right: 12px !important;

    /* optional: zet de default date appearance terug */
    -webkit-appearance: auto !important;
    appearance: auto !important;
  }
}

/* Desktop: forceer geen custom icon (voorkomt dubbele iconen) */
@media (min-width: 641px){
  .trend-res-wrap input[type="date"].trend-res-date{
    background-image: none !important;
    background-repeat: initial !important;
    background-position: initial !important;
    background-size: initial !important;
    padding-right: 12px !important;

    /* optional: zet de default date appearance terug */
    -webkit-appearance: auto !important;
    appearance: auto !important;
  }
}
