/* client.css — matches your homepage/booking theme */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body{
  background:#fff7fa;
  color:#3e2c4e;
  padding:30px 20px;
}

.wrap{
  max-width:900px;
  margin:0 auto;
  min-height:calc(100vh - 60px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.card{
  width:100%;
  max-width:520px;
  background:rgba(255,255,255,.65);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(207,168,232,.35);
  border-radius:24px;
  box-shadow:0 10px 30px rgba(170,120,200,.12);
  padding:28px 32px;
}

h1{
  font-size:30px;
  margin-bottom:8px;
  line-height:1.2;
}

.sub{
  color:#6A1EB1;
  font-size:14px;
  margin-bottom:18px;
  line-height:1.5;
}

label{
  display:block;
  margin:12px 0 6px;
  font-weight:500;
}

input[type="email"],
input[type="date"],
input[type="text"],
select{
  width:100%;
  padding:11px 12px;
  margin-top:6px;
  margin-bottom:14px;
  border:1px solid rgba(106,30,177,.18);
  border-radius:14px;
  background:rgba(255,255,255,.85);
  font-size:15px;
  outline:none;
}

input:focus,
select:focus{
  border-color:rgba(106,30,177,.5);
  box-shadow:0 0 0 4px rgba(207,168,232,.25);
}

hr{
  border:none;
  border-top:1px dashed rgba(106,30,177,.18);
  margin:16px 0;
}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.box{
  background:rgba(255,255,255,.55);
  border:1px solid rgba(207,168,232,.25);
  border-radius:18px;
  padding:14px 16px;
}

.box h3{
  font-size:14px;
  color:#6A1EB1;
  margin-bottom:10px;
  font-weight:600;
}

.row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:7px 0;
  border-bottom:1px dashed rgba(106,30,177,.14);
  font-size:14px;
}

.row:last-child{
  border-bottom:none;
}

.value{
  font-weight:600;
}

.price{
  color:#6A1EB1;
  font-weight:700;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:18px;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  transition:transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  width:100%;
  border:none;
  cursor:pointer;
}

.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,#6A1EB1,#CFA8E8);
  box-shadow:0 10px 25px rgba(106,30,177,.18);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 35px rgba(106,30,177,.22);
}

.btn-ghost{
  background:transparent;
  color:#6A1EB1;
  border:1px solid rgba(106,30,177,.35);
  box-shadow:none;
}

.btn-ghost:hover{
  background:rgba(207,168,232,.18);
  transform:translateY(-1px);
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:rgba(207,168,232,.25);
  border:1px solid rgba(106,30,177,.25);
  color:#6A1EB1;
}

.table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
}

.table th,
.table td{
  padding:10px 8px;
  border-bottom:1px dashed rgba(106,30,177,.16);
  text-align:left;
  font-size:14px;
}

.table th{
  color:#6A1EB1;
  font-weight:700;
}

.notice{
  margin-top:15px;
  margin-bottom:15px;
  padding:12px 16px;
  border-radius:12px;
  background:#e8f5e9;
  color:#2e7d32;
  font-size:14px;
  line-height:1.5;
}

@media (max-width: 700px){
  body{
    padding:20px 14px;
  }

  .wrap{
    min-height:auto;
    align-items:flex-start;
  }

  .card{
    padding:20px 16px;
    border-radius:18px;
    max-width:100%;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .btn{
    width:100%;
  }

  h1{
    font-size:24px;
  }
}

@media (max-width: 480px){
  body{
    padding:14px 10px;
  }

  .card{
    padding:18px 14px;
    border-radius:16px;
  }

  h1{
    font-size:22px;
  }

  .sub,
  .notice,
  label,
  input[type="email"],
  input[type="date"],
  input[type="text"],
  select{
    font-size:14px;
  }
}

/* dashboard/*
/* Dashboard header */
.dashboard-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.dashboard-title{
  flex:1 1 260px;
}

.dashboard-actions{
  margin-top:0;
  justify-content:flex-end;
}

.dashboard-actions .btn{
  width:auto;
  min-width:140px;
}

/* Table helpers */
.table-wrap{
  width:100%;
  overflow-x:auto;
}

.table-sub{
  margin:4px 0 0 0 !important;
  font-size:13px;
  line-height:1.4;
}

.table-actions{
  margin-top:0;
  gap:8px;
}

.table-actions .btn{
  padding:10px 14px;
  font-size:14px;
  border-radius:14px;
  width:auto;
  white-space:nowrap;
}

/* Tablet */
@media (max-width: 700px){
  .dashboard-header{
    align-items:flex-start;
  }

  .dashboard-actions{
    width:100%;
    justify-content:stretch;
  }

  .dashboard-actions .btn{
    width:100%;
    min-width:0;
  }
}

/* Mobile table to cards */
@media (max-width: 640px){
  .table,
  .table thead,
  .table tbody,
  .table th,
  .table td,
  .table tr{
    display:block;
    width:100%;
  }

  .table thead{
    display:none;
  }

  .table tbody tr{
    background:rgba(255,255,255,.6);
    border:1px solid rgba(207,168,232,.25);
    border-radius:16px;
    padding:12px;
    margin-bottom:12px;
  }

  .table td{
    border-bottom:1px dashed rgba(106,30,177,.14);
    padding:10px 0;
    text-align:left;
  }

  .table td:last-child{
    border-bottom:none;
  }

  .table td::before{
    content:attr(data-label);
    display:block;
    font-size:12px;
    font-weight:700;
    color:#6A1EB1;
    margin-bottom:4px;
  }

  .table-actions{
    flex-direction:column;
    width:100%;
  }

  .table-actions .btn{
    width:100%;
  }
}