/* =========================================================
   APP LIGHT THEME (shared across postcode.php, order.php, etc.)
   - Drop this file in your /css folder (or wherever you load CSS)
   - Works with: .app-page wrapper + "panel" cards, buttons, inputs
   ========================================================= */

:root{
  --bg1:#f7f8fc;
  --bg2:#eef2ff;
  --surface:#ffffff;
  --surface2: rgba(255,255,255,.80);
  --line: rgba(15,23,42,.12);
  --text: rgba(15,23,42,.92);
  --muted: rgba(15,23,42,.62);
  --accent:#f59e0b;
  --accent2:#d97706;
  --danger:#ef4444;
  --radius:18px;
  --shadow: 0 18px 55px rgba(15,23,42,.10);
  --shadow2: 0 10px 30px rgba(15,23,42,.08);
}

.app-page{
  min-height: 100vh;
  background:
    radial-gradient(900px 450px at 15% 20%, rgba(245,158,11,.16), transparent 60%),
    radial-gradient(900px 450px at 85% 70%, rgba(37,99,235,.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.panel{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel .ph{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.panel .ph h3{
  margin:0;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .2px;
  color: var(--text);
}
.panel .ph .hint{
  margin:0;
  font-size: 12px;
  color: var(--muted);
}
.panel .pc{ padding: 12px; }

.input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.input:focus{
  border-color: rgba(245,158,11,.35);
  box-shadow: 0 0 0 4px rgba(245,158,11,.16);
}
.input::placeholder{ color: rgba(15,23,42,.38); }

.btn-primary-lite{
  border: 0;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 950;
  cursor:pointer;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(217,119,6,.18);
}

.btn-ghost-lite{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 950;
  cursor:pointer;
  background: rgba(255,255,255,.78);
  color: var(--text);
  box-shadow: var(--shadow2);
}

.badge-danger-lite{
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.22);
  color: rgba(15,23,42,.88);
  font-size: 11px;
  font-weight: 950;
  padding: 4px 8px;
  border-radius: 999px;
}

/* Modernize bootstrap modals globally (light mode) */
.modal-content{
  border-radius: 18px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  box-shadow: 0 25px 70px rgba(15,23,42,.18) !important;
  overflow:hidden;
}
.modal-header{ border-bottom: 1px solid rgba(15,23,42,.10) !important; }
.modal-footer{ border-top: 1px solid rgba(15,23,42,.10) !important; }
.modal-title{ font-weight: 950 !important; color: var(--text) !important; }
.modal-body{ color: var(--text) !important; }
.modal .close{ color: rgba(15,23,42,.70) !important; text-shadow: none !important; opacity: .9 !important; }
.modal input, .modal select, .modal textarea{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
}
.modal .btn{ border-radius: 14px !important; font-weight: 950 !important; }
.modal .btn-primary, .modal .btn-success{
  border: 0 !important;
  background: linear-gradient(180deg, var(--accent), var(--accent2)) !important;
  color: #1b1303 !important;
}
.modal .btn-outline-secondary{
  border: 1px solid rgba(15,23,42,.14) !important;
  background: rgba(255,255,255,.78) !important;
  color: var(--text) !important;
}


/* =========================================================
   PREMIUM PROMINENT BRANDING BAR
   ========================================================= */

/* ===== NAVBAR BASE ===== */

.navbar.bg-dark{
  background: linear-gradient(
      180deg,
      rgba(255,255,255,.98),
      rgba(255,255,255,.92)
  ) !important;

  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
  position: relative;
}

/* Accent glowing top strip */
.navbar.bg-dark::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2),
      #fbbf24
  );
}

/* Navbar padding */
.navbar{
  padding: 16px 24px !important;
}

/* ===== LOGO ===== */

.navbar-brand img{
  height: 46px !important;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
  transition: transform .2s ease;
}

.navbar-brand img:hover{
  transform: scale(1.05);
}

/* ===== NAV LINKS ===== */

.navbar-dark .navbar-nav .nav-link{
  color: var(--text) !important;
  font-weight: 800;
  font-size: 14px;
  opacity: .75;
  position: relative;
  transition: all .2s ease;
  padding: 8px 14px !important;
  border-radius: 12px;
}

.navbar-dark .navbar-nav .nav-link:hover{
  opacity: 1;
  background: rgba(245,158,11,.12);
  transform: translateY(-2px);
}

/* ===== DROPDOWN ===== */

.dropdown-menu{
  border-radius: 18px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 20px 50px rgba(15,23,42,.15) !important;
  background: rgba(255,255,255,.98) !important;
  padding: 10px !important;
}

.dropdown-item{
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 12px;
}

.dropdown-item:hover{
  background: rgba(245,158,11,.12) !important;
}

/* ===== LOGOUT ICON ===== */

.navbar .btn{
  border-radius: 14px !important;
  padding: 6px 10px !important;
  background: rgba(239,68,68,.10);
  border: 1px solid rgba(239,68,68,.25);
  transition: all .2s ease;
}

.navbar .btn:hover{
  background: rgba(239,68,68,.18);
  transform: translateY(-2px);
}

/* ===== BRANCH INFO CONTAINER ===== */

#branding_bar_cl_info{
  background: linear-gradient(
      180deg,
      rgba(255,255,255,.98),
      rgba(255,255,255,.92)
  );

  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 25px 60px rgba(15,23,42,.12);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

/* Soft accent glow inside card */
#branding_bar_cl_info::after{
  content:"";
  position:absolute;
  top:-40px;
  right:-40px;
  width:150px;
  height:150px;
  background: radial-gradient(
      circle,
      rgba(245,158,11,.18),
      transparent 70%
  );
}

/* ===== RESTAURANT TITLE ===== */

.bb_client_title{
  font-size: 24px;
  font-weight: 1000;
  letter-spacing: .4px;
  background: linear-gradient(
      90deg,
      var(--accent2),
      #fbbf24
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Remove harsh borders */
.border-dark{
  border-color: var(--line) !important;
}

/* ===== ICONS ===== */

#branding_bar_cl_info i{
  color: var(--accent2);
  margin-right: 8px;
}

/* ===== INFO BADGES ===== */

.info-badge{
  border-radius: 20px !important;
  border: none !important;

  background: linear-gradient(
      180deg,
      rgba(245,158,11,.15),
      rgba(217,119,6,.12)
  ) !important;

  color: var(--text) !important;
  font-weight: 900;
  font-size: 13px;

  box-shadow: 0 12px 30px rgba(217,119,6,.20);
  transition: all .25s ease;
}

.info-badge:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(217,119,6,.28);
}

.info-badge i{
  color: var(--accent2);
}

/* ===== MOBILE ===== */

@media (max-width:768px){

  .navbar{
    padding: 14px !important;
  }

  .bb_client_title{
    font-size: 18px;
  }

  #branding_bar_cl_info{
    padding: 16px;
    border-radius: 18px;
  }

  .info-badge{
    font-size: 12px;
    padding: 10px !important;
  }
}


.bb_client_title{
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.info-badge{
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .2px;
}

.gap-2 { gap: .75rem; }   /* if your Bootstrap version doesn't have gap utilities */
