/* ========================================
   NINJABOTSTUDIO - UNIFIED CSS
   ======================================== */

/* Brand Colors */
:root {
  --brand-orange: #ff6013;
  --brand-purple: #605dba;
  --brand-dark: #343d51;
  --bg-subtle: #f0f0f8;
  --bg-white: #ffffff;
  --brand-orange-hover: #e5540f;
  --brand-purple-hover: #524fa3;
  --brand-dark-hover: #2a2a2a;
  --brand-orange-light: rgba(255, 96, 19, 0.08);
  --brand-purple-light: rgba(96, 93, 186, 0.08);
  --brand-dark-light: rgba(19, 19, 19, 0.05);
}

/* ========================================
   BASE STYLES
   ======================================== */

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Global text color override */
body, .text-dark, h1, h2, h3, h4, h5, h6, p, span, div {
  color: var(--brand-dark) !important;
}

/* Keep text-muted styling but with our brand color */
.text-muted {
  color: rgba(52, 61, 81, 0.7) !important;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff !important;
  color: var(--brand-dark);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  margin-bottom: 60px; /* For sticky footer support */
}

/* Remove default margin and padding from body and html */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* ========================================
   LEGACY LAYOUT STYLES (from _Layout.cshtml.css)
   ======================================== */

/* Navbar brand styling */
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Border utilities */
.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

/* Box shadow utility */
.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Accept policy button */
button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Footer for legacy pages */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Section backgrounds */
.hero-section {
  background-color: var(--bg-subtle);
  min-height: 80vh;
  padding: 5rem 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
  padding: 5rem 0;
}

.section-white {
  background-color: var(--bg-white);
  padding: 5rem 0;
}

.text-brand-orange { color: var(--brand-orange) !important; }
.text-brand-purple { color: var(--brand-purple) !important; }
.text-brand-dark { color: var(--brand-dark) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }
.bg-brand-purple { background-color: var(--brand-purple) !important; }
.border-brand-orange { border-color: var(--brand-orange) !important; }

/* Center navigation menu */
.navbar-nav {
  margin: 0 auto;
}

/* Feature icons */
.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(96, 93, 186, 0.1);
  color: var(--brand-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Bot cards */
.bot-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bot-card {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.bot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-color: var(--brand-orange);
  box-shadow: 0 2px 8px rgba(255, 96, 19, 0.1);
}

/* Pricing cards */
.pricing-card {
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: scale(1.05);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero image */
.hero-image {
  max-width: 500px;
  height: auto;
}

/* Section title improvements */
.section-title {
  font-size: 2.5rem !important;
  font-weight: bold !important;
  margin-bottom: 3rem !important;
}

.section-subtitle {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

/* Bot image gallery */
.bot-gallery {
  margin-top: 2rem;
}

.bot-gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.bot-gallery-item:hover {
  transform: scale(1.05);
}

.bot-gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 2px solid #dee2e6;
  border-radius: 8px;
}

/* Modal image styling */
.modal-body img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

/* Smooth scroll offset for navigation */
.scroll-offset {
  scroll-margin-top: 100px;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

/* Global button improvements */
.btn {
  border-radius: 5px !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1rem !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  font-size: 1rem !important;
  padding: 0.75rem 1.5rem !important;
}

.btn:hover, .btn:focus, .btn:active {
  text-decoration: none !important;
}

/* Remove underline on hover for all button classes */
.nav-btn, .nav-btn:hover, .nav-btn:focus,
.hero-btn, .hero-btn:hover, .hero-btn:focus,
.plans-btn, .plans-btn:hover, .plans-btn:focus {
  text-decoration: none !important;
}

/* Brand button variants */
.btn-brand-orange {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white !important;
  border-radius: 5px !important;
  text-decoration: none !important;
}

.btn-brand-orange:hover {
  background-color: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 96, 19, 0.3);
}

.btn-brand-purple {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: white !important;
  border-radius: 5px !important;
  text-decoration: none !important;
}

.btn-brand-purple:hover {
  background-color: var(--brand-purple-hover);
  border-color: var(--brand-purple-hover);
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 93, 186, 0.3);
}

.btn-brand-dark {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  font-weight: 500;
  border-radius: 5px !important;
  padding: 0.5rem 1rem;
}

.btn-brand-dark:hover, .btn-brand-dark:focus, .btn-brand-dark:active {
  background-color: var(--brand-dark-hover);
  border-color: var(--brand-dark-hover);
  color: white;
  box-shadow: 0 4px 12px rgba(19, 19, 19, 0.3);
  transform: translateY(-1px);
}

/* Bootstrap button overrides */
.btn-primary {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
  font-weight: 500;
  border-radius: 5px !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 96, 19, 0.3);
}

.btn-secondary {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: white;
  font-weight: 500;
  border-radius: 5px !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: var(--brand-purple-hover);
  border-color: var(--brand-purple-hover);
  color: white;
  box-shadow: 0 4px 12px rgba(96, 93, 186, 0.3);
}

.btn-outline-secondary {
  border-radius: 5px !important;
}

.btn-outline-danger {
  border-radius: 5px !important;
}

/* Outline Button Variants */
.btn-outline-brand-orange {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  background-color: transparent;
  font-weight: 500;
  border-radius: 5px !important;
  padding: 0.5rem 1rem;
  text-decoration: none !important;
}

.btn-outline-brand-orange:hover, .btn-outline-brand-orange:focus, .btn-outline-brand-orange:active {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 96, 19, 0.3);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.btn-outline-brand-purple {
  color: var(--brand-purple);
  border-color: var(--brand-purple);
  background-color: transparent;
  font-weight: 500;
  border-radius: 5px !important;
  padding: 0.5rem 1rem;
  text-decoration: none !important;
}

.btn-outline-brand-purple:hover, .btn-outline-brand-purple:focus, .btn-outline-brand-purple:active {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: white;
  box-shadow: 0 4px 12px rgba(96, 93, 186, 0.3);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ========================================
   NAVIGATION & LAYOUT STYLES
   ======================================== */

/* Legal page content spacing */
.legal-page-content {
  padding-top: 10rem !important;
}

/* Navigation improvements */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1050 !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  color: var(--brand-orange) !important;
  font-weight: 700;
  font-size: 1.4rem;
}

.navbar-brand:hover {
  color: var(--brand-orange-hover) !important;
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  color: var(--brand-dark) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: var(--brand-orange) !important;
}

/* ========================================
   AUTH LAYOUT STYLES
   ======================================== */

/* Auth header with logo */
.auth-header {
  text-align: center;
  padding: 2rem 0;
}

.auth-logo {
  max-width: 250px;
  transition: transform 0.3s ease;
}

.auth-logo:hover {
  transform: scale(1.05);
}

/* ========================================
   SPECIAL PAGE STYLES
   ======================================== */

/* Coming Soon page */
.coming-soon-container {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 96, 19, 0.1);
}

.coming-soon-icon {
  font-size: 4rem;
  color: var(--brand-orange);
  margin-bottom: 2rem;
}

.coming-soon-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--brand-dark);
}

.coming-soon-container .lead {
  font-size: 1.125rem;
  color: var(--brand-dark);
  margin-bottom: 3rem;
  opacity: 0.8;
  line-height: 1.6;
}

.coming-soon-container .partner-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-subtle);
  border-radius: 12px;
}

.coming-soon-container .partner-logos img {
  max-height: 35px;
  margin: 0 1rem;
}

/* Maintenance page */
.maintenance-container {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 96, 19, 0.1);
}

.maintenance-icon {
  font-size: 4rem;
  color: var(--brand-orange);
  margin-bottom: 2rem;
}

.maintenance-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--brand-dark);
}

.maintenance-container .lead {
  font-size: 1.125rem;
  color: var(--brand-dark);
  margin-bottom: 3rem;
  opacity: 0.8;
  line-height: 1.6;
}

.maintenance-info {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.maintenance-info h3 {
  color: var(--brand-purple);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.maintenance-info ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.maintenance-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(52, 61, 81, 0.1);
}

.maintenance-info li:last-child {
  border-bottom: none;
}

.maintenance-info i {
  color: var(--brand-orange);
  margin-right: 0.5rem;
  width: 20px;
}

.contact-info {
  background: rgba(96, 93, 186, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-info h4 {
  color: var(--brand-purple);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.main-content {
  padding: 0 1rem;
}

/* Partner section improvements */
.partner-section {
  padding: 3rem 0 !important;
  background-color: var(--bg-white);
  border-top: 1px solid #e0e0e0;
}

.partner-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.partner-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logos img {
  max-height: 48px;
  transition: transform 0.3s ease;
  filter: brightness(1);
}

.partner-logos img:hover {
  transform: scale(1.05);
}

/* Disclaimer section */
.disclaimer {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 0.875rem;
  margin-top: 2rem;
  text-align: left;
}

.disclaimer p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--brand-dark);
}

.disclaimer strong {
  color: var(--brand-orange);
}

/* Disclosure text alignment */
.disclosure-text {
  text-align: left !important;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

/* Footer improvements */
.main-footer {
  background-color: #f0f0f8;
  color: var(--brand-dark);
  padding: 3rem 0 1.5rem;
  margin: 0;
}

.main-footer .footer-logo {
  height: 35px;
}

.main-footer a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-footer a:hover {
  color: var(--brand-orange);
}

.main-footer h6 {
  color: var(--brand-dark) !important;
}

.footer-nav-link {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--brand-orange);
  text-decoration: none;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: rgba(52, 61, 81, 0.1);
  margin: 0 5px;
  transition: all 0.3s ease;
  color: var(--brand-dark);
}

.social-links a:hover {
  background: var(--brand-orange);
  color: white;
  transform: translateY(-2px);
}

/* ========================================
   FORM & ALERT STYLES
   ======================================== */

/* Standard error message box - consistent across all auth pages */
.error-message-box {
  background-color: rgba(220, 53, 69, 0.1) !important;
  border: 1px solid #dc3545 !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  color: #dc3545 !important;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.error-message-box .error-icon {
  color: #dc3545;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.error-message-box .error-content {
  flex: 1;
}

.error-message-box .error-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #dc3545;
}

.error-message-box ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #dc3545;
}

.error-message-box li {
  margin-bottom: 0.25rem;
  color: #dc3545;
}

/* Success message box */
.success-message-box {
  background-color: rgba(40, 167, 69, 0.1) !important;
  border: 1px solid #28a745 !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  color: #28a745 !important;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.success-message-box .success-icon {
  color: #28a745;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.success-message-box .success-content {
  flex: 1;
  color: #28a745;
}

/* Warning message box */
.warning-message-box {
  background-color: rgba(255, 193, 7, 0.1) !important;
  border: 1px solid #ffc107 !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  color: #856404 !important;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.warning-message-box .warning-icon {
  color: #856404;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.warning-message-box .warning-content {
  flex: 1;
  color: #856404;
}

/* Alert styling - consistent across all pages, no left borders */
.alert {
  border-radius: 12px !important;
  border: 1px solid !important;
  border-left: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500;
}

/* ========================================
   ENHANCED ALERT STYLING - NO LEFT BORDERS
   ======================================== */

.alert-danger {
  background-color: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid #dc3545 !important;
  color: #721c24 !important;
  border-radius: 8px !important;
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.1) !important;
  border: 1px solid #198754 !important;
  color: #0f5132 !important;
  border-radius: 8px !important;
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid #ffc107 !important;
  color: #664d03 !important;
  border-radius: 8px !important;
}

.alert-info {
  background-color: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid #3b82f6 !important;
  color: #1e40af !important;
  border-radius: 8px !important;
}

/* ========================================
   SUBSCRIPTION PAGE LAYOUT IMPROVEMENTS
   ======================================== */

/* Three-column layout for main info boxes */
.subscription-info-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subscription-info-row .subscription-info-box {
  flex: 1;
  margin-bottom: 0;
}

/* Status text styling without boxes */
.status-text {
  display: flex;
  align-items: center;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
}

.status-text.text-success {
  color: #198754 !important;
}

.status-text.text-danger {
  color: #dc3545 !important;
}

.status-text.text-warning {
  color: #f59e0b !important;
}

.status-text.text-info {
  color: #0ea5e9 !important;
}

.status-text i {
  margin-right: 0.5rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.status-text strong {
  font-weight: 600;
}

/* Clean billing info without borders */
.billing-info {
  padding: 0.5rem 0;
}

/* Remove borders from billing info container */
.billing-info .alert {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ========================================
   SUBSCRIPTION PAGE IMPROVEMENTS
   ======================================== */

/* Purple titles for subscription sections */
.subscription-section-title {
  color: var(--brand-purple) !important;
  font-weight: 600;
}

/* Box styling for subscription information */
.subscription-info-box {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.subscription-info-box:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 2px 8px rgba(123, 58, 237, 0.1);
}

.subscription-info-box .box-title {
  color: var(--brand-purple) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: block;
}

/* Four-column layout for subscription info */
.subscription-info-row-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .subscription-info-row-four {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   DASHBOARD LAYOUT STYLES
   ======================================== */

/* Dashboard layout styles */
.dashboard-sidebar {
  width: 260px;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-right: 1px solid #e0e6ed;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.02);
}

.dashboard-main {
  margin-left: 260px;
  padding: 2rem;
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
  .dashboard-sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    box-shadow: none;
    border-right: none;
    border-bottom: 1px solid #e0e6ed;
  }
  
  .dashboard-main {
    margin-left: 0;
    padding: 1rem;
  }
  
  .top-navbar {
    display: block !important;
  }
  
  .main-content-wrapper {
    padding-top: 70px;
  }
}

/* Sidebar logo and title */
.sidebar-page-title {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid #e0e6ed;
  background: linear-gradient(135deg, rgba(255, 96, 19, 0.02), rgba(96, 93, 186, 0.02));
}

.sidebar-logo {
  max-width: 120px;
  height: auto;
}

/* Sidebar navigation */
.dashboard-sidebar .nav {
  padding: 1rem 0.5rem;
}

.dashboard-sidebar .nav-link {
  color: var(--brand-dark);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.dashboard-sidebar .nav-link:hover {
  background-color: var(--brand-orange-light);
  color: var(--brand-orange);
  text-decoration: none;
  border-color: rgba(255, 96, 19, 0.2);
}

.dashboard-sidebar .nav-link.active {
  background-color: var(--brand-orange);
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 96, 19, 0.3);
}

.dashboard-sidebar .nav-link.active:hover {
  background-color: var(--brand-orange-hover);
  color: white;
}

.dashboard-sidebar .nav-link.text-danger {
  color: #dc3545 !important;
  border-top: 1px solid #e0e6ed;
  margin-top: 1rem;
  padding-top: 1rem;
}

.dashboard-sidebar .nav-link.text-danger:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545 !important;
  border-color: rgba(220, 53, 69, 0.2);
}

/* Top navbar for mobile */
.top-navbar {
  background-color: white !important;
  border-bottom: 1px solid #e0e6ed;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Main content wrapper */
.main-content-wrapper {
  background-color: #f8f9fa;
  min-height: calc(100vh - 4rem);
  padding: 0;
}

/* ========================================
   STATUS BADGE STYLES
   ======================================== */

/* Status badges with consistent styling */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  border: 1px solid;
}

.status-badge.status-active {
  background-color: rgba(34, 197, 94, 0.1);
  color: #059669;
  border-color: rgba(34, 197, 94, 0.2);
}

.status-badge.status-ending-soon {
  background-color: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.status-badge.status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.status-badge.status-cancelled {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.2);
}

.status-badge.status-inactive {
  background-color: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.2);
}

.status-badge.status-open {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.2);
}

.status-badge.status-waiting {
  background-color: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.status-badge.status-resolved {
  background-color: rgba(34, 197, 94, 0.1);
  color: #059669;
  border-color: rgba(34, 197, 94, 0.2);
}

.status-badge.status-closed {
  background-color: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.2);
}

/* ========================================
   ADMIN NAVIGATION SECTIONS
   ======================================== */

.nav-section-header {
  padding: 0.5rem 1rem 0.25rem;
  margin-top: 0.5rem;
}

.nav-section-header small {
  color: var(--brand-purple) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ========================================
   CONVERSATION MESSAGE STYLES
   ======================================== */

.conversation-messages-no-scroll {
  max-height: none;
  padding: 0;
}

.message-item {
  margin-bottom: 1.5rem;
  display: flex;
  clear: both;
}

.message-item.message-left {
  justify-content: flex-start;
}

.message-item.message-right {
  justify-content: flex-end;
}

.message-bubble {
  max-width: 70%;
  padding: 1rem;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message-item.message-left .message-bubble {
  background: linear-gradient(135deg, var(--brand-purple-light), rgba(96, 93, 186, 0.15));
  border: 1px solid rgba(96, 93, 186, 0.2);
  border-bottom-left-radius: 4px;
}

.message-item.message-right .message-bubble {
  background: linear-gradient(135deg, var(--brand-orange-light), rgba(255, 96, 19, 0.15));
  border: 1px solid rgba(255, 96, 19, 0.2);
  border-bottom-right-radius: 4px;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.message-author {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.message-item.message-left .message-author {
  color: var(--brand-purple);
}

.message-item.message-right .message-author {
  color: var(--brand-orange);
}

.message-date {
  color: #6c757d;
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: right;
  flex-shrink: 0;
}

.message-content {
  color: var(--brand-dark);
  line-height: 1.5;
  font-size: 0.9rem;
}

/* ========================================
   ADMIN TABLE IMPROVEMENTS
   ======================================== */

.table {
  margin-bottom: 0;
}

.table th,
.table td {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  border-color: #e9ecef;
}

.table th {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brand-dark);
  background-color: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.table-hover tbody tr:hover {
  background-color: rgba(96, 93, 186, 0.04);
}

/* Button group improvements */
.btn-group .btn {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  margin: 0 0.125rem;
  border-radius: 4px !important;
}

.btn-group .btn:first-child {
  margin-left: 0;
}

.btn-group .btn:last-child {
  margin-right: 0;
}

/* Dropdown button improvements */
.dropdown-toggle {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

/* Small button improvements */
.btn-sm {
  font-size: 0.75rem !important;
  padding: 0.375rem 0.75rem !important;
  margin: 0 0.125rem;
}

/* Table spacing improvements */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
}

.card-body.p-0 .table {
  margin: 0;
}

.card-body.p-0 .table th:first-child,
.card-body.p-0 .table td:first-child {
  padding-left: 1.5rem;
}

.card-body.p-0 .table th:last-child,
.card-body.p-0 .table td:last-child {
  padding-right: 1.5rem;
}

/* ========================================
   CUSTOM COLOR CLASSES
   ======================================== */

/* Card header with purple color */
.card-header-purple {
  color: var(--brand-purple) !important;
}

/* Price with orange color */
.price-orange {
  color: var(--brand-orange) !important;
  font-weight: bold;
}

/* Timezone conversion helper */
.local-time {
  /* Will be styled via JavaScript */
}

/* Time format classes for different display needs */
.time-short {
  /* Short format: MM/dd HH:mm */
}

.time-table {
  /* Table format: MMM dd, yyyy */
}

.time-full {
  /* Full format: MMMM dd, yyyy 'at' h:mm tt */
}

.time-modal {
  /* Modal format: yyyy-MM-dd HH:mm:ss (Local Time) */
}

/* Header title colors */
.header-purple {
  color: var(--brand-purple) !important;
}

/* Card header titles with purple color */
.card-header-title-purple {
  color: var(--brand-purple) !important;
  font-weight: 600;
}