/* 🌍 BODY */
body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#ffffff;
  color:#111;
  padding:15px;

  background-image: url('logo.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 220px;
  background-attachment: fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:white;
  opacity:0.92;
  z-index:-1;
}

/* 🔙 BUTTON RESET */
button{
  cursor:pointer;
  border:none;
  outline:none;
}

/* 🧾 TITLE */
h1{
  text-align:center;
  margin-bottom:20px;
  color:#dc2626;
}

/* 🔹 SECTION */
h2{
  margin-top:25px;
  margin-bottom:10px;
  font-size:17px;
  color:#dc2626;
}

/* 📦 ROW */
.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff1f2;
  padding:10px 12px;
  border-radius:10px;
  margin-bottom:10px;
  border:1px solid #fecaca;
}

/* ➕➖ COUNTER BUTTON */
.row button:not(.room-btn){
  width:28px;
  height:28px;
  border-radius:6px;
  background:#dc2626;
  color:white;
  font-size:16px;
}

/* TEXT */
.row span{
  font-weight:600;
  font-size:14px;
}

/* 👤 TRAVELLER */
.traveller{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  background:#fff1f2;
  padding:10px;
  border-radius:10px;
  margin-bottom:10px;
  border:1px solid #fecaca;
}

.traveller input,
.traveller select{
  padding:8px;
  border-radius:6px;
  border:1px solid #fca5a5;
  font-size:14px;
}

::placeholder{
  color:#9ca3af;
}

/* 💰 TOTAL */
#totalBox{
  background:#dc2626;
  color:white;
  padding:14px;
  border-radius:12px;
  text-align:center;
  margin-top:20px;
  font-size:18px;
}

/* ✅ CONFIRM */
button[onclick="saveBooking()"]{
  width:100%;
  margin-top:15px;
  padding:14px;
  border-radius:12px;
  background:#dc2626;
  color:white;
  font-size:15px;
  font-weight:bold;
}

/* 🔙 BACK */
button:first-child{
  background:#dc2626;
  padding:7px 12px;
  border-radius:8px;
  color:white;
  margin-bottom:10px;
}

/* 📱 MOBILE */
@media(max-width:500px){
  .traveller{
    grid-template-columns:1fr;
  }
}

/* ✅ ROOM BUTTON FIX */
/* ❌ REMOVE ANY RED BACKGROUND FROM ROOM BUTTON */
.room-btn{
  background:transparent !important;
  border:none;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 🔲 NORMAL TICK (BLACK BORDER) */
.tick{
  width:20px;
  height:20px;
  border:2px solid #333; /* black border */
  border-radius:5px;
  position:relative;
  transition:0.25s;
  background:transparent;
}

/* 🔵 ACTIVE (BLUE STYLE) */
.tick.active{
  background:#2563eb;   /* blue */
  border-color:#2563eb;
}

/* ✔ ICON */
.tick.active::after{
  content:"";
  position:absolute;
  left:5px;
  top:2px;
  width:5px;
  height:10px;
  border:solid white;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}

/* 🔥 HOVER (SMOOTH EFFECT) */
.tick:hover{
  border-color:#2563eb;
}

/* ================= VIEW BUTTON ================= */

.view-btn{
  margin-left:8px;
  padding:5px 10px;
  background:#111;
  color:#fff;
  border-radius:6px;
  font-size:11px;
  text-decoration:none;
}

.view-btn:hover{
  background:#333;
}

/* ================= COUPON ================= */

.coupon-box{
  display:flex;
  gap:10px;
  margin:15px 0;
}

.coupon-box input{
  flex:1;
  padding:10px;
  border-radius:10px;
  border:1px solid #ccc;
}

.coupon-box button{
  padding:10px 14px;
  background:#22c55e;
  color:white;
  border-radius:10px;
}

/* ================= ALERT ================= */

.top-alert{
  position:fixed;
  top:-80px;
  left:50%;
  transform:translateX(-50%);
  padding:10px 14px;
  border-radius:12px;
  z-index:9999;
  transition:all 0.35s ease;
  font-size:13px;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  opacity:0;
  min-width:200px;
}

.top-alert.show{
  top:15px;
  opacity:1;
}

/* SUCCESS */
.top-alert.success{
  background:#dcfce7;
  color:#166534;
}

/* ERROR */
.top-alert.error{
  background:#fee2e2;
  color:#991b1b;
}

/* ALERT CONTENT */
.alert-content{
  display:flex;
  align-items:center;
  gap:8px;
}

.alert-content svg{
  width:20px;
  height:20px;
}
