:root {
  --primary: #032c2e;
  --primary-light: #0a4d50;
  --accent: #f99583;
  --accent-soft: #fde4dd;
  --bg-soft: #f9fafb;
  --border-soft: #e2e6ea;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
}

body {
  height: 100vh;
  margin: 0;
  align-items: center;
  background: linear-gradient(135deg, #f5fffa, #e9ecef);
  font-family: "Segoe UI", sans-serif;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
}

.hero-section {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

.left-panel {
  flex: 1;
  background: url("assets/images/banquet_bg.jpg") center/cover no-repeat;
  position: relative;
}

.left-overlay {
  background: #032c2e;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 30px;
}

.form-card {
  width: 100%;
  max-width: 420px;
  padding: 25px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #032c2e;
  overflow-y: hidden;
}

.form-control {
  border-radius: 10px;
  padding: 5px;
}

.btn-custom {
  background-color: #298675;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px #298675;
  color: #032c2e;
  border: 1px solid #298675;
}

.form-header {
  text-align: center;
  margin-bottom: 15px;
}

.brand-title {
  font-size: 150%;
  font-weight: 700;
  color: #032c2e;
  margin-bottom: 10px;
}

.signup-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #032c2e;
  font-weight: 600;
  text-decoration: none;
}

.signup-link a {
  color: #032c2e;
  font-weight: 600;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* ================= SIDEBAR ================= */
.sidebar {
  width: 240px;
  height: 100%;
  background: linear-gradient(180deg, #298675 0%, #977d7c 100%);
  color: #e6f4f3;
  padding: 1rem;
  position: fixed;
  font-weight: 600;
  top: 0;
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  box-shadow: 6px 0 18px rgba(0, 0, 0, 0.18);
}

.sidebar.collapsed {
  width: 70px;
}

/* Sidebar Title */
.sidebar h4 {
  white-space: nowrap;
  transition: opacity 0.3s;
  color: #c9f1ef;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
}

.sidebar.collapsed h4 {
  opacity: 0;
}

/* Navigation Links */
.sidebar .nav-link {
  color: #d8f1f0;
  font-weight: 500;
  margin: 6px 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 14px;
  transition: all 0.25s ease;
  position: relative;
}

/* Icon */
.sidebar .nav-link i {
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #9ee7e5;
}

/* Hover Effect */
.sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 600;
  transform: translateX(4px);
}

/* Active Link */
.sidebar .nav-link.active {
  background: linear-gradient(135deg, #f99583, #ffb199);
  color: #032c2e;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(249, 149, 131, 0.45);
}

.sidebar .nav-link.active i {
  color: #032c2e;
}

/* Label Animation */
.sidebar .nav-link .label {
  margin-left: 12px;
  transition: opacity 0.3s, margin 0.3s;
}

/* Collapsed Sidebar */
.sidebar.collapsed .nav-link .label {
  opacity: 0;
  margin-left: -999px;
}

/* ================= TOPBAR ================= */
.topbar {
  height: 60px;
  background: linear-gradient(90deg, #f7eed3 , #a7e8e8);
  border-bottom: 1px solid #dee2e6;
  padding: 0 1.2rem;
  margin-left: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.sidebar.collapsed ~ .topbar {
  margin-left: 70px;
}

/* Toggle button – always visible */
#toggle-btn {
  position: absolute;
  top: 14px;
  right: 10px;
  z-index: 1100;
  background: #f99583;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 8px;
}

/* Hover effect */
#toggle-btn:hover {
  background: #f99583;
  color: #032c2e;
  border-color: #f99583;
}

.sidebar.collapsed #toggle-btn {
  display: block !important;
  background: #f99583;
}

/* ================= CONTENT ================= */
.content {
  margin-left: 240px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.sidebar.collapsed ~ .topbar + .content {
  margin-left: 70px;
}

/* Profile menu */
.profile-menu img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
}

.otp-input {
  width: 45px;
  height: 50px;
  font-size: 20px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: 0.2s;
}

.otp-input:focus {
  border-color: #ff7043;
  box-shadow: 0 0 5px rgba(255, 112, 67, 0.5);
  outline: none;
}

/* Overlay */
#loader-overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  text-align: center;
  padding-top: 20%;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #f99583;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Text */
.loader-text {
  margin-top: 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  color: #333;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #ff7043;
  }

  to {
    box-shadow: 0 0 20px #ff7043;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}
/* Collapsed sidebar */
.sidebar.collapsed {
  width: 80px;
}

/* Hide labels when collapsed */
.sidebar.collapsed .label {
  display: none;
}

/* Center icons when collapsed */
.sidebar.collapsed .nav-link {
  justify-content: center;
}

/* 🔴 Hide toggle button when sidebar is collapsed */
.sidebar.collapsed #toggle-btn {
  display: none !important;
}
.sidebar.collapsed:hover #toggle-btn {
  display: inline-block !important;
}

.leads-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  color: #032c2e;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.leads-pill:hover {
  background: linear-gradient(135deg, #f99583, #ffb199) !important;
  color: #0d0101 !important;
  text-decoration: none;
}

.leads-pill i {
  font-size: 1.1rem;
}

.dots-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #032c2e;
  background: #f8f9fa;
  transition: 0.25s ease;
}

.dots-trigger i {
  font-size: 1.4rem;
}

.dots-trigger:hover {
  background: #032c2e;
  color: #fff;
}

.dropdown-toggle::after {
  display: none !important;
}

.drop-active {
  background: linear-gradient(135deg, #f99583, #ffb199) !important;
  color: #0d0101 !important;
}

.notification-wrapper {

    position: relative;
    display: inline-block;
}

.notification-icon {
    font-size: 1.3rem;
    font-weight: 600;
    color: #032C2E;
    cursor: pointer;
    transition: color 0.2s;
}

.notification-icon:hover {
    color: #0d6efd; /* primary color on hover */
}

/* Dropdown */
.notification-dropdown {
    text-align: left;
    position: absolute;
    top: 120%; /* below the icon */
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 999;
}

/* Show on hover */
.notification-wrapper:hover .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-dropdown li {
    font-size: 0.85rem;
    color: #212529;
}

.notification-dropdown li:hover {
    background: #f8f9fa;
}

/* ===============================
   COMMON UPGRADE / ERROR MESSAGE
================================ */

.common-alert {
    max-width: 720px;
    margin: 20px auto;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff4e5, #fff);
    border: 1px solid rgba(255, 193, 7, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.common-alert-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.common-alert h4 {
    font-weight: 700;
    color: #2f3b00;
    margin-bottom: 6px;
}

.common-alert p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.common-alert hr {
    border-top: 1px dashed #ddd;
    margin: 14px 0;
}

.common-alert a {
    font-weight: 600;
    text-decoration: none;
}

.common-alert a:hover {
    text-decoration: underline;
}

/* Upgrade CTA Button */
.common-alert .btn-upgrade {
    margin-top: 10px;
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.85rem;
}
