:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #1b2440;
  --muted: #63708f;
  --primary: #295cff;
  --primary-dark: #1e48cd;
  --ring: rgba(41, 92, 255, 0.25);
  --border: #e5ebff;
  --success: #1d9f6e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at 85% 0%, rgba(41, 92, 255, 0.16), transparent 32%),
    radial-gradient(circle at 10% 30%, rgba(29, 159, 110, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(229, 235, 255, 0.95);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(35, 65, 156, 0.08);
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.2px;
}

.topbar-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.hero {
  padding: 2.6rem 1.2rem 2.2rem;
  margin-top: 1.1rem;
  margin-bottom: 1.4rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.9));
  border: 1px solid rgba(229, 235, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(41, 92, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  inset: -140px auto auto -80px;
  background: radial-gradient(circle, rgba(41, 92, 255, 0.12), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr;
  gap: 1.2rem;
  align-items: center;
}

.hero-content {
  text-align: right;
}

.hero-badge {
  display: inline-block;
  padding: 0.38rem 1rem;
  border-radius: 99px;
  background: #e8eeff;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid #dce6ff;
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.3;
}

.hero p {
  max-width: 690px;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-panel {
  background: linear-gradient(180deg, #f9fbff, #edf3ff);
  border: 1px solid #dbe5ff;
  border-radius: 20px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px rgba(41, 92, 255, 0.09);
}

.hero-panel h3 {
  margin: 0 0 0.6rem;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  color: #314066;
  display: grid;
  gap: 0.4rem;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-inline-start: 1.25rem;
}

.hero-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #295cff, #1d9f6e);
  position: absolute;
  inset-inline-start: 0.2rem;
  top: 0.6rem;
}

.hero-stats {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat-box {
  border: 1px solid #dce6ff;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.6rem 0.7rem;
}

.stat-box strong {
  display: block;
  font-size: 0.95rem;
}

.stat-box span {
  color: var(--muted);
  font-size: 0.82rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.68rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(41, 92, 255, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--surface);
  background: var(--primary);
}

.btn-outline:hover {
  border-color: #ccd7ff;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: transparent;
  background: #edf2ff;
  color: var(--primary-dark);
}

.btn-ghost:hover {
  background: #e3ebff;
  transform: translateY(-1px);
}

.features {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 2.2rem;
}

.section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.section-heading p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.promo-banner {
  margin-top: 1.1rem;
  margin-bottom: 2rem;
  border: 1px solid #d8e3ff;
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(125deg, #f8faff, #eaf1ff 65%, #e5f5ee);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 28px rgba(41, 92, 255, 0.1);
}

.promo-content h2 {
  margin: 0;
  font-size: 1.25rem;
}

.promo-content p {
  margin: 0.45rem 0 0;
  color: #4a5a83;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 8px 25px rgba(37, 66, 146, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(37, 66, 146, 0.1);
}

.card.decorated {
  position: relative;
  overflow: hidden;
}

.card.decorated::after {
  content: "";
  position: absolute;
  inset: auto -25px -35px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(41, 92, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.card-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: #edf2ff;
  border: 1px solid #dbe5ff;
  margin-bottom: 0.55rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  padding: 1.8rem 1rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 10px 26px rgba(37, 66, 146, 0.07);
}

.contact h2,
.contact p {
  margin: 0;
}

.contact p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.contact-link {
  margin-top: 0.8rem;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
}

.contact-link:hover {
  background: #ecf1ff;
}

.workflow {
  margin-bottom: 2rem;
}

.workflow-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 16px;
  padding: 1rem;
}

.step-no {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.03rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.highlight {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(240, 245, 255, 0.9));
  border: 1px solid #dae4ff;
  border-radius: 20px;
  padding: 1.3rem 1.1rem;
  margin-bottom: 2rem;
}

.highlight h2 {
  margin: 0;
}

.highlight p {
  margin: 0.5rem 0 0;
  color: #4a5a83;
}

.highlight ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.highlight li {
  position: relative;
  padding-inline-start: 1.2rem;
}

.highlight li::before {
  content: "✓";
  color: #1d9f6e;
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  font-weight: 800;
}

.footer {
  border-top: 1px solid #dde6ff;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1.1rem 0 1.4rem;
}

.pricing-page {
  padding-bottom: 2.2rem;
}

.pricing-header {
  text-align: center;
  margin-top: 1.5rem;
}

.soft-panel {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(237, 243, 255, 0.88));
  border: 1px solid #dbe5ff;
  border-radius: 20px;
  padding: 1.3rem 1rem;
  box-shadow: 0 12px 35px rgba(41, 92, 255, 0.08);
}

.pricing-header p {
  color: var(--muted);
  margin-bottom: 0;
}

.billing-toggle {
  width: fit-content;
  margin: 1rem auto 1.4rem;
  background: #eaf0ff;
  border-radius: 16px;
  padding: 0.35rem;
  display: flex;
  gap: 0.25rem;
  border: 1px solid #dae4ff;
}

.toggle-btn {
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.toggle-btn.active {
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(27, 46, 111, 0.09);
}

.discount-chip {
  display: inline-block;
  margin-inline-start: 0.4rem;
  background: #daf8ea;
  color: var(--success);
  border-radius: 99px;
  font-size: 0.78rem;
  padding: 0.08rem 0.45rem;
}

.pricing-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(37, 66, 146, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan-card.selected {
  border-color: #87a4ff;
  box-shadow: 0 16px 36px rgba(41, 92, 255, 0.2);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(37, 66, 146, 0.12);
}

.plan-card.featured {
  border-color: #b9c9ff;
  box-shadow: 0 16px 35px rgba(41, 92, 255, 0.16);
  transform: translateY(-4px);
}

.plan-card .tag {
  position: absolute;
  top: -10px;
  inset-inline-start: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
}

.plan-card h2 {
  margin: 0;
}

.price {
  margin: 0.55rem 0 0.12rem;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.billing-label {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-card ul {
  margin: 0;
  padding: 0 1rem 0 0;
  color: #2b3760;
  display: grid;
  gap: 0.25rem;
  flex-grow: 1;
}

.select-plan-btn {
  margin-top: 0.9rem;
  width: 100%;
  align-self: stretch;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.payment-section {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
  border: 1px solid #dbe5ff;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #f3f7ff);
  padding: 1rem;
  box-shadow: 0 14px 32px rgba(36, 66, 148, 0.1);
}

.payment-summary h2 {
  margin: 0;
}

.payment-note {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
}

.payment-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.payment-badges span {
  background: #edf2ff;
  border: 1px solid #d8e3ff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.85rem;
  color: #2e3f74;
  font-weight: 700;
}

.payment-plan-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.payment-plan-meta div {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.payment-plan-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.payment-plan-meta span {
  display: block;
  font-weight: 800;
  margin-top: 0.15rem;
}

.payment-form-shell {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 14px;
  padding: 0.65rem;
}

.customer-form {
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  padding: 0.65rem;
  margin-bottom: 0.8rem;
  background: #f9fbff;
}

.customer-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-grid label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #465583;
}

.customer-grid input {
  border: 1px solid #cfdbff;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  font-family: inherit;
  background: #fff;
}

.invoice-sheet {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 255, 0.9));
  border: 1px solid #dbe5ff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 14px 36px rgba(34, 64, 146, 0.1);
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  border-bottom: 1px dashed #dbe5ff;
  padding-bottom: 0.8rem;
  margin-bottom: 0.9rem;
}

.invoice-head h1 {
  margin: 0;
}

.invoice-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.invoice-meta {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  min-width: 220px;
}

.invoice-meta span {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
}

.invoice-meta strong {
  display: block;
  margin-top: 0.15rem;
}

.invoice-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.invoice-company {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.invoice-company article {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  padding: 0.7rem;
}

.invoice-company h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.invoice-company p {
  margin: 0.25rem 0 0;
}

.invoice-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invoice-qr {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border: 1px dashed #dbe5ff;
  border-radius: 10px;
  background: #fff;
}

.invoice-two-col article {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  padding: 0.7rem;
}

.invoice-two-col h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.invoice-two-col p {
  margin: 0.25rem 0 0;
}

.invoice-lines {
  border: 1px solid #dbe5ff;
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem;
}

.invoice-lines div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #e3ebff;
}

.invoice-lines div:last-child {
  border-bottom: 0;
}

.invoice-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-paid {
  color: #0f6f4c;
  background: #daf8ea;
}

.status-failed {
  color: #a43333;
  background: #ffe3e3;
}

.status-pending {
  color: #7a5b15;
  background: #fff3cf;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(36, 66, 148, 0.1);
}

.auth-card h1 {
  margin: 0;
}

.auth-card p {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 0.65rem;
}

.auth-form label {
  display: grid;
  gap: 0.3rem;
}

.auth-form input {
  border: 1px solid #cfdbff;
  border-radius: 10px;
  padding: 0.6rem;
  font-family: inherit;
  width: 100%;
}

.auth-form .btn {
  width: 100%;
  margin-top: 0.2rem;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.admin-head h1 {
  margin: 0;
}

.admin-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.admin-stats article {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 14px;
  padding: 0.7rem;
}

.admin-stats strong {
  display: block;
  font-size: 1.15rem;
}

.admin-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-search {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.admin-search input {
  flex: 1;
  border: 1px solid #cfdbff;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-family: inherit;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0 2rem;
}

.admin-sidebar {
  position: sticky;
  top: 14px;
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 12px 28px rgba(36, 66, 148, 0.09);
}

.admin-brand {
  font-weight: 800;
  font-size: 1.15rem;
}

.admin-welcome {
  color: var(--muted);
  margin: 0.3rem 0 0.8rem;
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav a {
  text-decoration: none;
  color: #2a3864;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
}

.admin-nav a:hover {
  background: #eef3ff;
}

.admin-nav a.active {
  background: #e7eeff;
  color: #183793;
  font-weight: 800;
}

.admin-side-actions {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.admin-content {
  display: grid;
  gap: 0.8rem;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.8rem;
}

.settings-form {
  display: grid;
  gap: 0.6rem;
}

.settings-form label {
  display: grid;
  gap: 0.3rem;
}

.settings-form input[type="text"] {
  border: 1px solid #cfdbff;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
}

.settings-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  text-align: right;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid #edf2ff;
  font-size: 0.92rem;
  white-space: nowrap;
}

.admin-table thead th {
  background: #f6f9ff;
}

.checkout-layout {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.95fr 1.2fr;
  align-items: start;
}

.checkout-head h1 {
  margin: 0;
}

.checkout-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.checkout-subtitle {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
}

.invoice-card {
  background: #fff;
  border: 1px solid #dbe5ff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(37, 66, 146, 0.08);
}

.invoice-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.invoice-rows {
  display: grid;
  gap: 0.5rem;
}

.invoice-rows div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed #dbe5ff;
}

.invoice-rows span {
  color: var(--muted);
}

.invoice-rows strong {
  text-align: left;
}

.invoice-rows .invoice-total {
  border-bottom: 0;
  padding-top: 0.2rem;
  font-size: 1.06rem;
}

.payment-missing-key {
  background: #fff7f0;
  border: 1px solid #ffd8b4;
  color: #875731;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.payment-missing-key p {
  margin: 0;
}

.payment-missing-key p + p {
  margin-top: 0.25rem;
}

.compact {
  margin-top: 1.3rem;
}

@media (max-width: 700px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.8rem;
  }

  .topbar-actions {
    width: 100%;
  }

  .topbar-actions .btn {
    flex: 1;
  }

  .hero {
    padding-top: 2.3rem;
    border-radius: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .promo-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-banner .btn {
    width: 100%;
  }

  .payment-plan-meta {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .customer-grid {
    grid-template-columns: 1fr;
  }

  .invoice-head {
    flex-direction: column;
  }

  .invoice-meta {
    min-width: 0;
    width: 100%;
  }

  .invoice-two-col {
    grid-template-columns: 1fr;
  }

  .invoice-company {
    grid-template-columns: 1fr;
  }

  .admin-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-search {
    flex-direction: column;
  }
}
