.api-landing {
    background-color: #f9f9f9;
    padding: 3rem 1rem;
    font-family: 'Chivo', sans-serif;
    color: #333;
}

.api-landing .container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.button.primary {
    background-color: #74b72e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.button.primary:hover {
    background-color: #689f38;
}

.button.secondary {
    background-color: transparent;
    border: 2px solid #74b72e;
    color: #74b72e;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.button.secondary:hover {
    background-color: #74b72e;
    color: #fff;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 1rem;
    border-left: 4px solid #74b72e;
    padding-left: 0.75rem;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
}

.section a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: underline;
}

.section a:hover {
    text-decoration: none;
}

.partner-login-hint {
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: #444;
    font-family: 'Chivo', sans-serif;
}

.partner-login-hint a {
    color: #2e7d32;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.partner-login-hint a:hover {
    color: #74b72e;
    text-decoration: none;
}

.partner-login-section {
  background-color: #f4f4f4;
  padding: 3rem 1rem;
  font-family: 'Chivo', sans-serif;
}

.login-container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.login-form .form-group {
  text-align: left;
  margin-bottom: 1.25rem;
}

.login-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  color: #333;
}

.login-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.button.primary.full-width {
  width: 100%;
  background-color: #74b72e;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.button.primary.full-width:hover {
  background-color: #689f38;
}

.login-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #444;
}

.login-note a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: underline;
}

.login-note a:hover {
  text-decoration: none;
}

.dashboard-page {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  font-family: 'Chivo', sans-serif;
  color: #333;
}

.dashboard-page h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2e7d32;
  margin-bottom: 1.5rem;
  text-align: center;
}

.sidebar {
  position: sticky;
  top: 80px;
  padding: 1.5rem;
  background-color: #f5f8f6;
  border-right: 1px solid #e0e0e0;
  min-height: 100vh;
  width: 220px;
  font-family: 'Inter', sans-serif;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar nav li a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  transition: all 0.2s ease;
}

.sidebar nav li a:hover,
.sidebar nav li a:focus,
.sidebar nav li a.active {
  background-color: rgba(21, 156, 78, 0.1);
  color: #159c4e;
}

.sidebar-container {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.sidebar {
  position: sticky;
  top: 80px;
  width: 220px;
  min-height: 100vh;
  padding: 1.5rem;
  background-color: #f5f8f6;
  border-right: 1px solid #e0e0e0;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease;
  z-index: 1;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.sidebar-toggle {
  position: absolute;
  top: calc(var(--navbar-height) - var(--toggle-offset));
  left: 0;
  transform: translateX(var(--sidebar-total));
  width: 28px;
  height: 52px;
  background: #f5f8f6;
  border: none;
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.sidebar-caret {
  width: 20px;
  height: 20px;
  fill: #74b72e;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.sidebar-container.collapsed .sidebar-caret {
  transform: rotate(180deg);
}

.sidebar-container:not(.collapsed) .sidebar-caret {
  transform: rotate(0deg);
}

.sidebar-container.collapsed .sidebar-toggle {
  transform: translateX(0);
}

.partner-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fafafa;
  border: 1px solid #4c8c2b;
  border-radius: 8px;
  overflow: hidden;
}

.partner-table thead {
  background-color: #4c8c2b;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}

.partner-table th,
.partner-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.partner-table tbody tr:hover {
  background-color: #f0f8ea;
}

.partner-table td code {
  background-color: #eee;
  padding: 0.2rem 0.4rem;
  font-size: 0.9rem;
  border-radius: 4px;
  color: #2e7d32;
  word-break: break-all;
}

.partner-dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dashboard-section {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 0 0 1px #ddd;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
}

.button.green {
  background-color: #2e7d32;
  color: white;
}

.button.green:hover {
  background-color: #1b5e20;
}

.button.gray {
  background-color: #ccc;
  color: black;
}

.partner-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.integration-panel {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.integration-panel h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.integration-form input,
.integration-form select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

.integration-form button {
    background-color: #ffffff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
}

.dashboard-panel {
  background-color: #f9fbfc;
  border: 1px solid #74b72e;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dashboard-panel h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  color: #333;
}

.dashboard-panel p {
  font-size: 0.95rem;
  margin: 0.25rem 0;
  color: #555;
}

.dashboard-panel strong {
  color: #222;
}

.dashboard-panel span {
  font-weight: 500;
  color: #2c7a7b;
}

