.dp-closures-page{
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 22px 80px;
}

.page-id-1897 .entry-title,
.page-id-1897 h1.entry-title,
.page-id-1897 .et_pb_title_container h1,
.page-id-1897 .main_title,
.page-id-1897 .et_pb_post .entry-title,
.page-id-1897 .et_pb_title_featured_container,
.page-id-1897 .et_pb_title_meta_container,
.page-id-1897 .et_pb_post_title{
  display:none !important;
}

.dp-closures-hero{
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 34px 38px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 28%),
    radial-gradient(circle at bottom left, rgba(255,214,102,.10) 0%, rgba(255,214,102,0) 26%),
    linear-gradient(135deg, #141c2a 0%, #2f4360 42%, #7b8da6 100%);
  box-shadow:
    0 28px 70px rgba(11,18,31,.26),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.dp-closures-hero h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.02;
  font-weight:900;
  color:#fff;
}

.dp-closures-hero p{
  margin:0;
  max-width:760px;
  font-size:16px;
  line-height:1.7;
  color:rgba(255,255,255,.84);
}

.dp-closures-box{
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,248,228,.84) 0%, rgba(255,255,255,.96) 100%);
  border: 1px solid rgba(223,183,80,.28);
  box-shadow: 0 20px 48px rgba(15,23,42,.06);
}

.dp-closures-notice{
  margin-bottom: 18px;
  padding: 15px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
}

.dp-closures-notice--success{
  background: rgba(16,185,129,.10);
  color:#065f46;
}

.dp-closures-notice--error{
  background: rgba(239,68,68,.10);
  color:#991b1b;
}

.dp-closures-form{
  display:grid;
  gap:22px;
  margin-bottom: 28px;
}

.dp-closures-form h3,
.dp-closures-published h3{
  margin:0;
  font-size:30px;
  font-weight:900;
  color:#18202d;
}

.dp-closures-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
}

.dp-closures-field{
  display:grid;
  gap:9px;
}

.dp-closures-field label{
  font-size:14px;
  font-weight:800;
  color:#18202d;
}

.dp-closures-field input,
.dp-closures-field select{
  width:100%;
  min-height:54px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  padding:0 16px;
  font-size:15px;
  color:#18202d;
  box-sizing:border-box;
}

.dp-closures-field input[type="date"],
.dp-closures-field input[type="time"]{
  min-height:58px;
  padding:0 18px;
  border-color:rgba(217,165,47,.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,251,239,.96));
  font-size:16px;
  font-weight:800;
  color:#18202d;
  cursor:pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 10px 22px rgba(15,23,42,.06);
}

.dp-closures-field input[type="date"]:hover,
.dp-closures-field input[type="time"]:hover{
  border-color:rgba(217,165,47,.52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    0 14px 26px rgba(15,23,42,.08);
}

.dp-closures-field input[type="date"]:focus,
.dp-closures-field input[type="time"]:focus,
.dp-closures-field select:focus{
  outline:none;
  border-color: rgba(217,165,47,.8);
  box-shadow:
    0 0 0 4px rgba(217,165,47,.12),
    0 12px 24px rgba(15,23,42,.06);
}

.dp-closures-field input[type="date"]::-webkit-calendar-picker-indicator,
.dp-closures-field input[type="time"]::-webkit-calendar-picker-indicator{
  width:22px;
  height:22px;
  padding:6px;
  border-radius:999px;
  background-color:rgba(239,202,99,.24);
  cursor:pointer;
}

.dp-closures-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 26px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-size:15px;
  font-weight:900;
  color:#18202d;
  background: linear-gradient(180deg,#f8e4a1 0%, #efca63 48%, #dba930 100%);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
}

.dp-closures-published{
  margin-top: 8px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(15,23,42,.06);
}

.dp-closures-subsection{
  margin-top: 18px;
}

.dp-closures-subsection:first-of-type{
  margin-top: 0;
}

.dp-closures-subsection h4{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  color: #334155;
}

.dp-closures-subsection--past h4{
  color: #64748b;
}

.dp-closures-table{
  width:100%;
  border-collapse: separate;
  border-spacing:0;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
}

.dp-closures-table thead th{
  background: rgba(247,249,252,.98);
  font-size:14px;
  font-weight:900;
  text-align:left;
  padding:18px;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.dp-closures-table tbody td{
  padding:18px;
  font-size:15px;
  color:#334155;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.dp-closures-table tbody tr:last-child td{
  border-bottom:none;
}

.dp-closures-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  text-decoration:none !important;
  font-size:13px;
  font-weight:900;
  margin-right:8px;
  color:#1d4ed8;
  background: rgba(59,130,246,.10);
  border:1px solid rgba(59,130,246,.18);
}

.dp-closures-action--delete{
  color:#b91c1c;
  background: rgba(239,68,68,.10);
  border:1px solid rgba(239,68,68,.16);
}

.dp-closures-preview{
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.06);
  color:#475569;
  font-size:15px;
  line-height:1.6;
}

.dp-closures-preview strong{
  color:#18202d;
  margin-right:8px;
}

@media (max-width: 767px){
  .dp-closures-page{
    padding: 18px 14px 42px;
  }

  .dp-closures-hero{
    padding: 24px 20px;
    border-radius: 22px;
  }

  .dp-closures-hero h1{
    font-size: 34px;
  }

  .dp-closures-box{
    padding:18px;
    border-radius:22px;
  }

  .dp-closures-grid{
    grid-template-columns:1fr;
  }

  .dp-closures-submit{
    width:100%;
  }

  .dp-closures-table{
    display:block;
    overflow:visible;
    border:0;
    background:transparent;
  }

  .dp-closures-table thead{
    display:none;
  }

  .dp-closures-table tbody,
  .dp-closures-table tr,
  .dp-closures-table td{
    display:block;
    width:100%;
    box-sizing:border-box;
  }

  .dp-closures-table tbody tr{
    margin-bottom:12px;
    padding:14px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 22px rgba(15,23,42,.05);
  }

  .dp-closures-table tbody td{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    font-size:14px;
    border-bottom:1px solid rgba(15,23,42,.06);
    overflow-wrap:anywhere;
  }

  .dp-closures-table tbody td::before{
    flex:0 0 88px;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
  }

  .dp-closures-table tbody td:nth-child(1)::before{ content:"Date"; }
  .dp-closures-table tbody td:nth-child(2)::before{ content:"Type"; }
  .dp-closures-table tbody td:nth-child(3)::before{ content:"Heure"; }
  .dp-closures-table tbody td:nth-child(4)::before{ content:"Message"; }
  .dp-closures-table tbody td:nth-child(5)::before{ content:"Actions"; }

  .dp-closures-table tbody td:last-child{
    border-bottom:0;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
