.eazinvoice-admin {
  --ei-navy: #071f60;
  --ei-gold: #d6a11e;
  --ei-blue: #175cd3;
  --ei-green: #067647;
  --ei-ink: #101828;
  --ei-muted: #667085;
}
.eazinvoice-admin .eazinvoice-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 22px 0;
  padding: 24px;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.92)),
    #fff;
  box-shadow: 0 22px 54px rgba(16,24,40,.10);
}
.eazinvoice-admin .eazinvoice-hero img {
  width: min(360px, 100%);
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.eazinvoice-admin .eazinvoice-hero p,
.eazinvoice-admin .eazinvoice-card p,
.eazinvoice-admin .eazinvoice-card li {
  color: var(--ei-muted);
  font-size: 14px;
  line-height: 1.6;
}
.eazinvoice-admin .eazinvoice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 18px;
}
.eazinvoice-admin .eazinvoice-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.eazinvoice-admin .eazinvoice-section-head h1 {
  margin-top: 0;
}
.eazinvoice-admin .eazinvoice-admin-menu-wrap {
  position: relative;
  margin: 18px 0;
}
.eazinvoice-admin .eazinvoice-admin-menu-check,
.eazinvoice-admin .eazinvoice-admin-menu-toggle {
  display: none;
}
.eazinvoice-admin .eazinvoice-admin-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.eazinvoice-admin .eazinvoice-admin-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: var(--ei-ink);
  font-weight: 800;
  text-decoration: none;
}
.eazinvoice-admin .eazinvoice-admin-nav a.is-active {
  background: linear-gradient(135deg, var(--ei-blue), var(--ei-green));
  color: #fff;
  border-color: transparent;
}
.eazinvoice-admin .eazinvoice-plan-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23,92,211,.10);
  color: var(--ei-blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}
.eazinvoice-admin .eazinvoice-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.eazinvoice-admin .eazinvoice-plan-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 300px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #d0d5dd;
  background: #fff;
}
.eazinvoice-admin .eazinvoice-plan-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.eazinvoice-admin .eazinvoice-plan-head h2 {
  margin: 0;
}
.eazinvoice-admin .eazinvoice-plan-head span {
  white-space: nowrap;
  color: var(--ei-muted);
  font-weight: 800;
  font-size: 12px;
}
.eazinvoice-admin .eazinvoice-plan-card strong {
  color: var(--ei-ink);
}
.eazinvoice-admin .eazinvoice-plan-card ul {
  margin: 0;
  padding-left: 18px;
}
.eazinvoice-admin .eazinvoice-plan-card code {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(23,92,211,.08);
}
.eazinvoice-admin .eazinvoice-plan-free {
  border-color: rgba(6,118,71,.28);
  background: linear-gradient(180deg, rgba(236,253,243,.88), #fff);
}
.eazinvoice-admin .eazinvoice-plan-standard {
  border-color: rgba(23,92,211,.26);
  background: linear-gradient(180deg, rgba(239,246,255,.92), #fff);
}
.eazinvoice-admin .eazinvoice-plan-pro {
  border-color: rgba(214,161,30,.32);
  background: linear-gradient(180deg, rgba(255,251,235,.92), #fff);
}
.eazinvoice-admin .eazinvoice-plan-business {
  border-color: rgba(105,65,198,.28);
  background: linear-gradient(180deg, rgba(245,243,255,.92), #fff);
}
.eazinvoice-admin .eazinvoice-workflow-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(240,253,250,.92)),
    #fff;
}
.eazinvoice-admin .eazinvoice-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.eazinvoice-admin .eazinvoice-workflow-grid article {
  padding: 16px;
  border: 1px solid rgba(23,92,211,.16);
  border-radius: 14px;
  background: #fff;
}
.eazinvoice-admin .eazinvoice-workflow-grid span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ei-blue), var(--ei-green));
  color: #fff;
  font-weight: 900;
}
.eazinvoice-admin .eazinvoice-workflow-grid strong {
  display: block;
  color: var(--ei-navy);
  font-size: 15px;
}
.eazinvoice-admin .eazinvoice-workflow-grid p {
  margin-bottom: 0;
}
.eazinvoice-admin .eazinvoice-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.eazinvoice-admin .eazinvoice-steps article {
  padding: 16px;
  border: 1px solid rgba(6,118,71,.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(236,253,243,.88), #fff);
}
.eazinvoice-admin .eazinvoice-steps span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--ei-gold);
  color: #101828;
  font-weight: 900;
}
.eazinvoice-admin .eazinvoice-steps strong {
  display: block;
  color: var(--ei-navy);
  font-size: 15px;
}
.eazinvoice-admin .eazinvoice-steps p {
  margin-bottom: 0;
}
.eazinvoice-admin .eazinvoice-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16,24,40,.07);
}
.eazinvoice-admin .eazinvoice-card h1,
.eazinvoice-admin .eazinvoice-card h2 {
  color: var(--ei-navy);
}
.eazinvoice-admin .eazinvoice-workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.eazinvoice-admin .eazinvoice-workspace-tile {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: var(--ei-ink);
  text-decoration: none;
}
.eazinvoice-admin .eazinvoice-workspace-tile strong {
  color: var(--ei-navy);
  font-size: 18px;
}
.eazinvoice-admin .eazinvoice-workspace-tile span {
  color: var(--ei-muted);
}
.eazinvoice-admin .eazinvoice-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.eazinvoice-admin .eazinvoice-metric-grid article {
  padding: 16px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f8fafc;
}
.eazinvoice-admin .eazinvoice-metric-grid span {
  display: block;
  color: var(--ei-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.eazinvoice-admin .eazinvoice-metric-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ei-navy);
  font-size: 24px;
}
.eazinvoice-admin .eazinvoice-mini-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin-top: 18px;
}
.eazinvoice-admin .eazinvoice-mini-form label {
  display: grid;
  gap: 8px;
  color: var(--ei-ink);
  font-weight: 800;
}
.eazinvoice-admin .eazinvoice-mini-form input,
.eazinvoice-admin .eazinvoice-mini-form select {
  min-height: 42px;
  max-width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
}
.eazinvoice-admin .eazinvoice-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.eazinvoice-admin .eazinvoice-notice-soft {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(23,92,211,.18);
  border-radius: 12px;
  background: rgba(239,246,255,.82);
  color: var(--ei-navy);
  font-weight: 700;
}
.eazinvoice-admin .eazinvoice-record-list {
  display: grid;
  gap: 12px;
}
.eazinvoice-admin .eazinvoice-record-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
}
.eazinvoice-admin .eazinvoice-record-list strong,
.eazinvoice-admin .eazinvoice-record-list span {
  display: block;
}
.eazinvoice-admin .eazinvoice-record-list span {
  color: var(--ei-muted);
}
.eazinvoice-admin .eazinvoice-record-list mark {
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}
.eazinvoice-admin .eazinvoice-status-draft {
  background: #fff7e6;
  color: #b54708;
}
.eazinvoice-admin .eazinvoice-status-created {
  background: #ecfdf3;
  color: #067647;
}
.eazinvoice-admin .eazinvoice-pro-card {
  background: linear-gradient(145deg, rgba(7,31,96,.96), rgba(23,92,211,.88));
}
.eazinvoice-admin .eazinvoice-pro-card h2,
.eazinvoice-admin .eazinvoice-pro-card li {
  color: #fff;
}
.eazinvoice-admin .eazinvoice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
}
.eazinvoice-admin .eazinvoice-button-primary {
  background: linear-gradient(135deg, var(--ei-blue), var(--ei-green));
  color: #fff;
}
.eazinvoice-admin .eazinvoice-button-secondary {
  background: var(--ei-gold);
  color: #101828;
}
.eazinvoice-shortcode {
  margin: 18px 0;
}
.eazinvoice-shortcode-button {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #175cd3, #067647);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.eazinvoice-floating-cta {
  position: fixed;
  z-index: 99999;
  top: 92px;
  max-width: calc(100vw - 24px);
}
.eazinvoice-floating-cta-bottom-right {
  right: 14px;
}
.eazinvoice-floating-cta-bottom-left {
  left: 14px;
}
.eazinvoice-floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #175cd3, #067647);
  box-shadow: 0 10px 24px rgba(23,92,211,.20);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.1;
  text-decoration: none;
}
.eazinvoice-floating-cta a:hover,
.eazinvoice-floating-cta a:focus {
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 960px) {
  .eazinvoice-admin .eazinvoice-hero,
  .eazinvoice-admin .eazinvoice-grid {
    display: block;
  }
  .eazinvoice-admin .eazinvoice-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eazinvoice-admin .eazinvoice-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eazinvoice-admin .eazinvoice-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eazinvoice-admin .eazinvoice-workspace-grid,
  .eazinvoice-admin .eazinvoice-mini-form,
  .eazinvoice-admin .eazinvoice-metric-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .eazinvoice-admin {
    margin-right: 10px;
  }
  .eazinvoice-admin .eazinvoice-card,
  .eazinvoice-admin .eazinvoice-hero {
    padding: 16px;
    border-radius: 14px;
  }
  .eazinvoice-admin .eazinvoice-admin-menu-wrap {
    margin: 14px 0;
  }
  .eazinvoice-admin .eazinvoice-admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: var(--ei-ink);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(16,24,40,.08);
  }
  .eazinvoice-admin .eazinvoice-admin-menu-icon {
    display: grid;
    gap: 4px;
  }
  .eazinvoice-admin .eazinvoice-admin-menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  .eazinvoice-admin .eazinvoice-admin-menu-toggle strong {
    margin-left: 2px;
  }
  .eazinvoice-admin .eazinvoice-admin-nav {
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
  }
  .eazinvoice-admin .eazinvoice-admin-menu-check:checked + .eazinvoice-admin-menu-toggle + .eazinvoice-admin-nav {
    display: grid;
  }
  .eazinvoice-admin .eazinvoice-admin-nav a,
  .eazinvoice-admin .eazinvoice-button {
    width: 100%;
  }
  .eazinvoice-admin .eazinvoice-record-list article {
    display: grid;
    align-items: start;
  }
  .eazinvoice-admin .form-table,
  .eazinvoice-admin .form-table tbody,
  .eazinvoice-admin .form-table tr,
  .eazinvoice-admin .form-table th,
  .eazinvoice-admin .form-table td {
    display: block;
    width: 100%;
  }
  .eazinvoice-admin .regular-text {
    width: 100%;
    max-width: 100%;
  }
  .eazinvoice-admin .eazinvoice-plan-grid,
  .eazinvoice-admin .eazinvoice-workflow-grid,
  .eazinvoice-admin .eazinvoice-section-head {
    display: block;
  }
  .eazinvoice-admin .eazinvoice-plan-card {
    margin-bottom: 14px;
  }
  .eazinvoice-admin .eazinvoice-workflow-grid article {
    margin-bottom: 14px;
  }
  .eazinvoice-admin .eazinvoice-steps {
    display: block;
  }
  .eazinvoice-admin .eazinvoice-steps article {
    margin-bottom: 14px;
  }
  .eazinvoice-floating-cta {
    top: 76px;
    right: 10px;
    left: auto;
  }
  .eazinvoice-floating-cta a {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 12px;
  }
}
