/* ==========================================================================
   Slick Host — FOSSBilling Theme
   Bootstrap 5.3 overrides + custom components
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --sh-primary: #059669;
  --sh-primary-dark: #047857;
  --sh-primary-light: #d1fae5;
  --sh-primary-lighter: #ecfdf5;
  --sh-accent: #0ea5e9;
  --sh-text-dark: #1e293b;
  --sh-text-body: #475569;
  --sh-text-muted: #94a3b8;
  --sh-bg: #f1f5f9;
  --sh-surface: #ffffff;
  --sh-border: #e2e8f0;
  --sh-footer-bg: #1e293b;
  --sh-success-bg: #d1fae5;
  --sh-success-text: #065f46;
  --sh-warning-bg: #fef3c7;
  --sh-warning-text: #92400e;
  --sh-danger-bg: #fee2e2;
  --sh-danger-text: #991b1b;
  --sh-radius: 8px;
  --sh-radius-sm: 6px;
  --sh-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --sh-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --sh-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* --- Base --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--sh-text-body);
  background-color: var(--sh-bg);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sh-text-dark);
  font-weight: 600;
}

h1 { font-weight: 700; }

a {
  color: var(--sh-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--sh-primary-dark);
}

/* --- Bootstrap Overrides --- */

/* Buttons */
.btn-primary {
  background-color: var(--sh-primary);
  border-color: var(--sh-primary);
  font-weight: 600;
  border-radius: var(--sh-radius-sm);
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--sh-primary-dark);
  border-color: var(--sh-primary-dark);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.btn-primary:active {
  background-color: #065f46;
  border-color: #065f46;
}

.btn-outline-primary {
  color: var(--sh-primary);
  border-color: var(--sh-primary);
  font-weight: 600;
  border-radius: var(--sh-radius-sm);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--sh-primary);
  border-color: var(--sh-primary);
  color: #fff;
}

.btn-success {
  background-color: var(--sh-primary);
  border-color: var(--sh-primary);
}

.btn-success:hover {
  background-color: var(--sh-primary-dark);
  border-color: var(--sh-primary-dark);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
  background: var(--sh-surface);
}

.card-header {
  background: var(--sh-surface);
  border-bottom: 1px solid var(--sh-border);
  border-radius: var(--sh-radius) var(--sh-radius) 0 0 !important;
  padding: 1rem 1.25rem;
}

.card-header h1,
.card-header h5 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* Forms */
.form-control,
.form-select {
  background-color: var(--sh-bg);
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius-sm);
  color: var(--sh-text-dark);
  padding: 0.5rem 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sh-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  background-color: var(--sh-surface);
}

.form-label {
  font-weight: 500;
  color: var(--sh-text-dark);
  font-size: 0.875rem;
}

.form-check-input:checked {
  background-color: var(--sh-primary);
  border-color: var(--sh-primary);
}

/* Tables */
.table {
  border-color: var(--sh-border);
}

.table > thead {
  background-color: var(--sh-bg);
}

.table > thead > tr > th {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sh-text-muted);
  border-bottom-width: 1px;
  padding: 0.75rem 1rem;
}

.table > tbody > tr > td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: #f8fafc;
}

.table-responsive {
  border-radius: var(--sh-radius);
}

/* Navbar */
.navbar {
  background-color: var(--sh-surface) !important;
  box-shadow: var(--sh-shadow);
  padding: 0.75rem 0;
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: var(--sh-shadow-md);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--sh-primary) !important;
}

.navbar-brand img {
  max-height: 36px;
}

.navbar-nav .nav-link {
  color: var(--sh-text-body) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: var(--sh-radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--sh-primary) !important;
  background-color: var(--sh-primary-lighter);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--sh-text-muted);
}

.breadcrumb-item a {
  color: var(--sh-text-muted);
}

.breadcrumb-item a:hover {
  color: var(--sh-primary);
}

.breadcrumb-item.active {
  color: var(--sh-text-dark);
}

/* Badges / Pills */
.badge {
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.35em 0.75em;
  border-radius: 9999px;
}

.badge-active,
.badge-paid,
.badge-open,
.badge.bg-success {
  background-color: var(--sh-success-bg) !important;
  color: var(--sh-success-text) !important;
}

.badge-pending,
.badge-unpaid,
.badge.bg-warning {
  background-color: var(--sh-warning-bg) !important;
  color: var(--sh-warning-text) !important;
}

.badge-overdue,
.badge-cancelled,
.badge-closed,
.badge.bg-danger {
  background-color: var(--sh-danger-bg) !important;
  color: var(--sh-danger-text) !important;
}

/* Pagination */
.page-link {
  color: var(--sh-primary);
  border-color: var(--sh-border);
  border-radius: var(--sh-radius-sm);
}

.page-item.active .page-link {
  background-color: var(--sh-primary);
  border-color: var(--sh-primary);
}

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: var(--sh-primary-lighter);
  color: var(--sh-primary-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  border-color: var(--sh-primary);
}

.accordion-item {
  border-color: var(--sh-border);
  border-radius: var(--sh-radius) !important;
  margin-bottom: 0.5rem;
}

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow-md);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--sh-primary-lighter);
  color: var(--sh-primary-dark);
}

/* Alerts */
.alert-success {
  background-color: var(--sh-success-bg);
  border-color: #a7f3d0;
  color: var(--sh-success-text);
}

.alert-warning {
  background-color: var(--sh-warning-bg);
  border-color: #fde68a;
  color: var(--sh-warning-text);
}

.alert-danger {
  background-color: var(--sh-danger-bg);
  border-color: #fca5a5;
  color: var(--sh-danger-text);
}

/* --- Custom Components --- */

/* Slick Host Navbar (public pages) */
.sh-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--sh-surface);
  border-bottom: 1px solid var(--sh-border);
}

/* Hero Section — V2 gradient hero */
.sh-navbar-hero {
  background: transparent !important;
  border-bottom: none;
  box-shadow: none;
  position: absolute;
  width: 100%;
  z-index: 1030;
}

.sh-navbar-hero .navbar-brand {
  color: white !important;
}

.sh-navbar-hero .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.sh-navbar-hero .navbar-nav .nav-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.sh-navbar-hero .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.sh-navbar-hero .navbar-toggler-icon {
  filter: invert(1);
}

.sh-navbar-hero.scrolled {
  background: rgba(4, 120, 87, 0.95) !important;
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-shadow-md);
  position: fixed;
}

.sh-hero-v2 {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, #059669 0%, #047857 40%, #065f46 100%);
  position: relative;
  overflow: hidden;
}

.sh-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: white;
}

.sh-hero-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
}

.sh-hero-shapes .shape-2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  left: 10%;
}

.sh-hero-shapes .shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: -30px;
}

.sh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sh-hero-v2 h1 {
  font-size: 3.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.sh-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.sh-hero-v2 .sh-domain-search {
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.sh-hero-v2 .sh-domain-search .input-group {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: var(--sh-radius);
  overflow: hidden;
}

.sh-hero-v2 .sh-domain-search .form-control {
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  background: white;
  border-radius: var(--sh-radius) 0 0 var(--sh-radius);
}

.sh-hero-v2 .sh-domain-search .form-control:focus {
  box-shadow: none;
}

.sh-hero-v2 .sh-domain-search .btn {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0 var(--sh-radius) var(--sh-radius) 0;
  background: var(--sh-text-dark);
  color: white;
  border: none;
}

.sh-hero-v2 .sh-domain-search .btn:hover {
  background: #0f172a;
}

.sh-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.sh-hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.sh-hero-trust i {
  color: #a7f3d0;
}

/* Hero Visual — Server Card */
.sh-hero-visual {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.sh-server-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.75rem;
  width: 320px;
  color: white;
}

.sh-server-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sh-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.sh-server-stats {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.sh-stat-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.sh-stat-row > span:first-child {
  width: 32px;
  opacity: 0.7;
}

.sh-stat-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.sh-stat-fill {
  height: 100%;
  background: #4ade80;
  border-radius: 3px;
  transition: width 1s ease;
}

.sh-stat-val {
  width: 32px;
  text-align: right;
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.8;
}

.sh-server-uptime {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4ade80;
}

/* Stats Bar */
.sh-stats-bar {
  background: var(--sh-surface);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--sh-border);
}

.sh-stat-item {
  padding: 0.5rem;
}

.sh-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sh-primary);
  line-height: 1.2;
}

.sh-stat-label {
  font-size: 0.8125rem;
  color: var(--sh-text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Section Badge */
.sh-section-badge {
  display: inline-block;
  background: var(--sh-primary-light);
  color: var(--sh-primary-dark);
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* Legacy hero (kept for other pages) */
.sh-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: var(--sh-surface);
}

.sh-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--sh-text-dark);
  margin-bottom: 1rem;
}

.sh-hero p {
  font-size: 1.125rem;
  color: var(--sh-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.sh-domain-search {
  max-width: 580px;
  margin: 0 auto;
}

.sh-domain-search .input-group {
  box-shadow: var(--sh-shadow-md);
  border-radius: var(--sh-radius);
  overflow: hidden;
}

.sh-domain-search .form-control {
  border: 2px solid var(--sh-border);
  border-right: none;
  padding: 0.875rem 1.25rem;
  font-size: 1.05rem;
  background: var(--sh-surface);
  border-radius: var(--sh-radius) 0 0 var(--sh-radius);
}

.sh-domain-search .form-control:focus {
  border-color: var(--sh-primary);
  box-shadow: none;
}

.sh-domain-search .btn {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  border-radius: 0 var(--sh-radius) var(--sh-radius) 0;
}

/* Pricing Cards */
.sh-pricing-card {
  background: var(--sh-surface);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  border: 2px solid transparent;
}

.sh-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-shadow-lg);
}

.sh-pricing-card.featured {
  border-color: var(--sh-primary);
}

.sh-pricing-card .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sh-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sh-pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sh-text-dark);
  line-height: 1.2;
}

.sh-pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--sh-text-muted);
}

.sh-pricing-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.sh-pricing-card .feature-list li {
  padding: 0.4rem 0;
  color: var(--sh-text-body);
  font-size: 0.9rem;
}

.sh-pricing-card .feature-list li i {
  color: var(--sh-primary);
  margin-right: 0.5rem;
}

/* Features Section */
.sh-features {
  padding: 4rem 0;
}

.sh-feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.sh-feature-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--sh-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--sh-primary);
}

.sh-feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sh-feature-card p {
  color: var(--sh-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Features V2 — enhanced cards */
.sh-features-v2 {
  padding: 5rem 0;
  background: var(--sh-surface);
}

.sh-feature-card-v2 {
  background: var(--sh-bg);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--sh-border);
  height: 100%;
}

.sh-feature-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-shadow-lg);
  border-color: var(--sh-primary-light);
}

.sh-feature-card-v2 .icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sh-primary-light), var(--sh-primary-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--sh-primary);
}

.sh-feature-card-v2 h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.sh-feature-card-v2 p {
  color: var(--sh-text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Testimonials */
.sh-testimonials {
  padding: 4rem 0;
  background: var(--sh-surface);
}

.sh-testimonial {
  background: var(--sh-bg);
  border-radius: var(--sh-radius);
  padding: 1.75rem;
}

.sh-testimonial .stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
}

.sh-testimonial blockquote {
  font-style: italic;
  color: var(--sh-text-body);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.sh-testimonial .author {
  font-weight: 600;
  color: var(--sh-text-dark);
  font-size: 0.875rem;
}

.sh-testimonial .author span {
  font-weight: 400;
  color: var(--sh-text-muted);
}

/* Testimonials V2 — avatar cards */
.sh-testimonials-v2 {
  padding: 5rem 0;
  background: var(--sh-bg);
}

.sh-testimonial-v2 {
  background: var(--sh-surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--sh-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sh-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sh-testimonial-v2:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-shadow-md);
}

.sh-testimonial-v2 .stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.sh-testimonial-v2 blockquote {
  font-style: normal;
  color: var(--sh-text-body);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  flex-grow: 1;
}

.sh-testimonial-v2 .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sh-testimonial-v2 .author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sh-primary-light);
  color: var(--sh-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sh-testimonial-v2 .author strong {
  display: block;
  color: var(--sh-text-dark);
  font-size: 0.875rem;
}

.sh-testimonial-v2 .author span {
  font-size: 0.75rem;
  color: var(--sh-text-muted);
}

/* FAQ */
.sh-faq {
  padding: 4rem 0;
}

/* CTA Banner */
.sh-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-primary-dark));
  color: white;
  text-align: center;
}

.sh-cta h2 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.sh-cta .btn {
  background: white;
  color: var(--sh-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--sh-radius-sm);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sh-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--sh-primary-dark);
}

/* CTA V2 — enhanced banner */
.sh-cta-v2 {
  padding: 5rem 0;
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sh-cta-v2::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.sh-cta-v2::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.sh-cta-v2 h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.sh-cta-v2 p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.sh-cta-v2 .btn {
  background: white;
  color: var(--sh-primary-dark);
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  border-radius: var(--sh-radius);
  border: none;
  font-size: 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.sh-cta-v2 .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--sh-primary-dark);
}

/* Footer */
.sh-footer {
  background: var(--sh-footer-bg);
  color: #cbd5e1;
  padding: 3rem 0 0;
}

.sh-footer h5 {
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sh-footer a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.sh-footer a:hover {
  color: white;
}

.sh-footer ul {
  list-style: none;
  padding: 0;
}

.sh-footer ul li {
  margin-bottom: 0.5rem;
}

.sh-footer-bottom {
  border-top: 1px solid #334155;
  padding: 1.25rem 0;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.sh-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #334155;
  color: #94a3b8;
  margin-right: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.sh-footer-social a:hover {
  background: var(--sh-primary);
  color: white;
}

/* Dashboard Cards */
.sh-dashboard-card {
  background: var(--sh-surface);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.sh-dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-shadow-md);
  color: inherit;
}

.sh-dashboard-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sh-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--sh-primary);
  flex-shrink: 0;
}

.sh-dashboard-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.sh-dashboard-card p {
  font-size: 0.8125rem;
  color: var(--sh-text-muted);
  margin: 0;
}

/* Sidebar Overrides */
.sh-sidebar .list-group-item {
  border: none;
  border-radius: var(--sh-radius-sm) !important;
  padding: 0.6rem 1rem;
  margin-bottom: 2px;
  color: var(--sh-text-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sh-sidebar .list-group-item:hover,
.sh-sidebar .list-group-item.active {
  background-color: var(--sh-primary-lighter);
  color: var(--sh-primary);
}

.sh-sidebar .list-group-item.active {
  font-weight: 600;
}

.sh-sidebar .list-group-item i {
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
}

/* Support Ticket Chat */
.sh-ticket-message {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--sh-radius);
  max-width: 85%;
}

.sh-ticket-message.client {
  background: var(--sh-primary-light);
  margin-left: auto;
}

.sh-ticket-message.staff {
  background: var(--sh-bg);
  margin-right: auto;
}

.sh-ticket-message .meta {
  font-size: 0.75rem;
  color: var(--sh-text-muted);
  margin-bottom: 0.5rem;
}

.sh-ticket-message .body {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Login Page */
.sh-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sh-bg);
}

.sh-login-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  background: var(--sh-surface);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow-md);
}

.sh-login-card .logo {
  text-align: center;
  margin-bottom: 2rem;
}

.sh-login-card .logo img {
  max-height: 48px;
}

.sh-login-card .logo h2 {
  font-size: 1.5rem;
  color: var(--sh-primary);
}

/* Invoice Detail */
.sh-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sh-invoice-total {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sh-text-dark);
}

/* Utility Classes */
.sh-section {
  padding: 4rem 0;
}

.sh-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.sh-section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.sh-section-title p {
  color: var(--sh-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Print Styles */
@media print {
  .sh-navbar,
  .sh-footer,
  .sh-sidebar,
  .btn,
  .breadcrumb {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .sh-hero-v2 {
    padding: 7rem 0 3.5rem;
    text-align: center;
  }

  .sh-hero-v2 h1 {
    font-size: 2.25rem;
  }

  .sh-hero-subtitle {
    max-width: 100%;
  }

  .sh-hero-v2 .sh-domain-search {
    margin-left: auto;
    margin-right: auto;
  }

  .sh-hero-trust {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .sh-hero h1,
  .sh-hero-v2 h1 {
    font-size: 1.875rem;
  }

  .sh-hero p {
    font-size: 1rem;
  }

  .sh-hero-v2 {
    padding: 6rem 0 3rem;
  }

  .sh-hero-subtitle {
    font-size: 1rem;
  }

  .sh-hero-trust {
    gap: 0.75rem;
  }

  .sh-hero-trust span {
    font-size: 0.8125rem;
  }

  .sh-stat-number {
    font-size: 1.375rem;
  }

  .sh-pricing-card {
    margin-bottom: 1.5rem;
  }

  .sh-dashboard-card {
    margin-bottom: 1rem;
  }

  .sh-ticket-message {
    max-width: 95%;
  }

  .sh-invoice-header {
    flex-direction: column;
  }

  .sh-footer .row > div {
    margin-bottom: 1.5rem;
  }
}
