/* <style css main file/> */
:root{
  --teal:#0f766e;
  --teal-dark:#064e4a;
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --gold:#facc15;
  --danger:#dc2626;
}

*{box-sizing:border-box;font-family:Inter,system-ui,-apple-system}
body{margin:0;background:var(--bg);color:var(--text)}
.app{display:flex;min-height:100vh}

/* SIDEBAR */
aside{
  width:72px;
  background:linear-gradient(180deg,var(--teal),var(--teal-dark));
  padding:16px 12px;
  transition:width .25s ease;
}
aside:hover{width:240px}
.nav{display:grid;gap:8px}
.nav-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  border-radius:14px;
  cursor:pointer;
  color:#fff;
  opacity:.85;
}
.nav-item:hover{background:rgba(255,255,255,.08)}
.nav-item i{font-size:22px}
.nav-item span{white-space:nowrap}
aside:not(:hover) span{display:none}
.nav-item.active{opacity:1;background:rgba(0,0,0,.15)}
.nav-item.active i{color:var(--gold)}

/* MAIN */
main{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:48px 24px;
}
/* ===== TOP HEADER (ADDED) ===== */
.top-header{
  background:var(--teal);
  /* border-bottom:1px solid var(--border); */
}
.top-header-inner{
  /* max-width:1200px; */
  margin:auto;
  padding:1rem 1.2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.top-logo{
  font-weight:900;
  font-size:20px;
  color:var(--border);
}
.top-nav{
  display:flex;
  gap:24px;
}
.top-nav a{
  font-weight:600;
  color:var(--card);
  text-decoration:none;
}
.top-nav a.active,
.top-nav a:hover{
  color:var(--gold);
}
@media(max-width:640px){
  .top-header-inner{
    flex-direction:column;
    gap:12px;
  }
}


.card{
  background:var(--card);
  width:100%;
  max-width:1000px;
  border-radius:24px;
  padding:40px;
  box-shadow:0 30px 60px rgba(0,0,0,.08);
}

.step{display:none}
.step.active{display:block}

h2{margin:0 0 24px 0}
label{font-weight:600;display:block;margin-top:24px;margin-bottom:6px}

input,textarea,select{
  width:100%;
  padding:14px 16px;
  margin-bottom: 10px;
  border-radius:14px;
  border:1px solid var(--border);
}
textarea{min-height:110px}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.list{display:grid;gap:16px;margin-top:24px}

.item{
  background:#f8fafc;
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.item small{color:var(--muted)}

button{
  border:none;
  border-radius:14px;
  padding:14px 26px;
  font-weight:700;
  cursor:pointer;
}
.primary{background:var(--teal);color:#fff}
.ghost{background:#e5e7eb}
.danger{background:#fee2e2;color:var(--danger)}

.actions{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-top:48px;
}

pre{
  background:#020617;
  color:#e5e7eb;
  padding:24px;
  border-radius:16px;
  margin-top:24px;
  font-size:13px;
  overflow:auto;
}

.mt-16{margin-top:16px}

.tile{
  display:flex;
  gap:16px;
  padding:16px;
  border-radius:14px;
  background:#f5f5f5;
  margin-bottom:12px;
  align-items:flex-start;
}
.tile{
  position:relative;
}

.tile-remove{
  position:absolute;
  top:8px;
  right:8px;
  border:none;
  background:#222;
  color:#fff;
  width:24px;
  height:24px;
  border-radius:50%;
  cursor:pointer;
}
.tile-remove:hover{
  background:#e11;
}


.tile-img{
  width:56px;
  height:56px;
  border-radius:50%;
  background:#1c1c1c;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
}

.tile-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tile-content{
  flex:1;
  min-width:0;
}

.tile-content h4{
  margin:0;
  font-size:15px;
}

.tile-line2{
  font-size:12px;
  color:#aaa;
  margin:4px 0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tile-desc{
  font-size:13px;
  color:#bbb;
  margin-top:6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.tile-meta{
  text-align:right;
  white-space:nowrap;
}

.tile-meta span{
  font-size:12px;
  color:#aaa;
  display:block;
}

.tile-meta strong{
  font-size:15px;
}


/* close button onhour step 2 */

.closed-btn{
  padding:8px 14px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-weight:600;
  transition:.2s ease;
}

/* Holiday (default) */
.closed-day{
  background:#dc2626;
  color:white;
  opacity:.5;
}

/* Open */
.open-day{
  background:#0f766e;
  color:white;
  opacity:1;
}


/* loader css */


.loader-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.3);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.loader-overlay.hidden{
  display:none;
}

.loader-pulse{
  width:80px;
  height:80px;
  border-radius:50%;
  background:#0f766e;
  animation:pulse 1.2s infinite ease-in-out;
}

@keyframes pulse{
  0%{transform:scale(.9);opacity:.6}
  50%{transform:scale(1);opacity:1}
  100%{transform:scale(.9);opacity:.6}
}

.loader-close{
  position:absolute;
  top:16px;
  right:16px;
  color:#000000;
  border:none;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
}
