:root {
  --filgo-green: #0c5a46;
  --filgo-green-dark: #084737;
  --filgo-border: #b8b8b0;
  --filgo-ink: #0f172a;
  --filgo-muted: #667085;
  --filgo-soft: #f4f5f7;
  --filgo-sidebar: #f1f2f5;
}
/*styles sidebar*/
* {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--filgo-ink);
  font-size: 17px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  height: 56px;
  background: var(--filgo-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 16px;
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: space-between;
}

.quick-action {
  border: 0;
  background: #ffffff;
  color: var(--filgo-green-dark);
  border-radius: 10px;
  padding: 8px 26px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 56px);
}

.fontFamily {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.layout-page {
    --filgo-green: #0c5a46;
    --filgo-ink: #0f172a;
    --filgo-muted: #677489;
    --filgo-sidebar: #f1f2f5;
    --filgo-line: #d4dae3;
    --filgo-frame: #5f6368;
    --filgo-font: "Nunito Sans", "Segoe UI", Arial, sans-serif;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    border: 1px solid #d6d9df;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    color: var(--filgo-ink);
    margin: 8px 0 24px;
    font-family: var(--filgo-font);
}

.filgo-sidebar {
  background: var(--filgo-sidebar);
  padding: 10px 18px 20px;
  border-right: 1px solid #d6d9df;
}

.company-logo-card {
  background: #ffffff;
  border: 1px solid #cfd5df;
  border-radius: 12px;
  min-height: 126px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.company-logo-card img {
  width: 100%;
  max-width: 250px;
  max-height: 100px;
  object-fit: contain;
}

.account-pill {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border: 2px solid #1f2937;
  border-radius: 16px;
  font-size: 17px;
  background: #ffffff;
}

.account-pill-select {
  border: 0;
  background: transparent;
  color: #0f172a;
  min-width: 112px;
  outline: 0;
}

.account-pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #98a2b3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #344054;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 26px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 500;
}

.sidebar-link.active {
  background: #dfe1e8;
}

.sidebar-icon {
  width: 28px;
  text-align: center;
  color: #475467;
  font-size: 22px;
  line-height: 1;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 42px;
  padding-left: 46px;
  font-size: 16px;
  text-decoration: underline;
  color: #111827;
}

.content {
  overflow: auto;
  background: #ffffff;
}

.filgo-header h1 {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  font-weight: 800;
}

.rainville-pay-button {
  border: 0;
  border-radius: 10px;
  background: var(--filgo-green);
  color: #ffffff;
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 700;
  padding: 9px 24px;
  min-width: 260px;
}

.filgo-header p {
  margin: 6px 0 14px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-style: italic;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid #d6d9df;
  }

  .topbar {
    height: auto;
    padding: 12px 16px;
  }

  .topbar-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}
