/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

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

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #16a34a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f0fdf4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-container {
  width: 100%;
  max-width: 800px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #16a34a;
  border-radius: 50%;
  margin-bottom: 1rem;
  overflow: hidden;
}

.logo-container img {
  width: 100%;
  height: auto;
  color: white;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.brand-accent {
  color: #f97316;
}

.auth-subtitle {
  color: #6b7280;
}

.auth-form-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.auth-form-header {
  margin-bottom: 1.5rem;
}

.auth-form-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.auth-form-header p {
  color: #6b7280;
}

.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-message i {
  width: 20px;
  height: 20px;
  color: #dc2626;
  flex-shrink: 0;
}

.error-message span {
  color: #b91c1c;
  font-size: 0.875rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-container i {
  position: absolute;
  left: 0.75rem;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  pointer-events: none;
}

.input-container input,
.input-container select {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
}

.input-container input:focus,
.input-container select:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #16a34a;
}

.input-container input.error,
.input-container select.error {
  border-color: #fca5a5;
  background-color: #fef2f2;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.password-toggle i {
  width: 20px;
  height: 20px;
  color: #9ca3af;
  position: static;
}

.password-toggle:hover i {
  color: #6b7280;
}

.field-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.password-strength {
  margin-top: 0.5rem;
}

.strength-bars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.strength-bar {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background-color: #e5e7eb;
  transition: background-color 0.2s;
}

.strength-bar.active.weak {
  background-color: #ef4444;
}

.strength-bar.active.medium {
  background-color: #eab308;
}

.strength-bar.active.strong {
  background-color: #16a34a;
}

.strength-text {
  font-size: 0.75rem;
}

.strength-text.weak {
  color: #dc2626;
}

.strength-text.medium {
  color: #d97706;
}

.strength-text.strong {
  color: #16a34a;
}

.password-match {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #16a34a;
  font-size: 0.75rem;
}

.password-match i {
  width: 16px;
  height: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
}

.auth-button {
  width: 100%;
  background-color: #16a34a;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
}

.auth-button:hover:not(:disabled) {
  background-color: #15803d;
}

.auth-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button-loading {
  display: none;
}

.auth-button.loading .button-text {
  display: none;
}

.auth-button.loading .button-loading {
  display: inline;
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-switch p {
  color: #6b7280;
}

.auth-switch button {
  background: none;
  border: none;
  color: #16a34a;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-switch button:hover {
  color: #15803d;
}

.demo-credentials {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
}
.logo-container img {
  width: 100%;
  height: auto;
  color: white;
}
.demo-credentials h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.demo-credentials p {
  font-size: 0.75rem;
  color: #1d4ed8;
  margin-bottom: 0.5rem;
}

.demo-info {
  font-size: 0.75rem;
  color: #2563eb;
}

.demo-info p {
  margin-bottom: 0.25rem;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav {
    flex-direction: row;
    gap: 0;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 40px;
  height: 40px;
  background-color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo i {
  width: 24px;
  height: 24px;
  color: white;
}
.logo-container img {
  width: 100%;
  height: auto;
  color: white;
}
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle i {
  width: 24px;
  height: 24px;
}

.nav-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.nav-menu.active {
  display: flex;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    width: auto;
  }
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.nav-link {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: #374151;
}

.nav-link:hover,
.nav-link.active {
  color: #16a34a;
  background-color: #f0fdf4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-secondary {
  padding: 0.5rem 1rem;
  border: 1px solid #16a34a;
  color: #16a34a;
  background: white;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: #f0fdf4;
}

.btn-primary {
  padding: 0.5rem 1rem;
  background-color: #16a34a;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #15803d;
}
.logo-container img {
  width: 100%;
  height: auto;
  color: white;
}
.subscribe-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f97316;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.subscribe-btn:hover {
  background-color: #ea580c;
}

.subscribe-btn i {
  width: 16px;
  height: 16px;
}

/* Main Content */
.main-content {
  padding: 1.5rem 0;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

/* Profile Hero */
.profile-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.pexels.com/photos/2132178/pexels-photo-2132178.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-size: cover;
  background-position: center;
  min-height: 300px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 1000px;
  padding: 1.5rem;
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hero-stats {
    flex-direction: row;
  }
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat h3 {
    font-size: 2rem;
  }
}

.stat p {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Dashboard Content */
.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .dashboard-content {
    flex-direction: row;
  }
}

/* Sidebar */
.sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .sidebar {
    width: 320px;
    flex-shrink: 0;
  }
}

.user-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.user-avatar-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #16a34a;
  cursor: pointer;
  transition: opacity 0.2s;
}

.user-avatar:hover {
  opacity: 0.8;
}

.avatar-upload-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #16a34a;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.avatar-upload-btn:hover {
  background-color: #15803d;
}

.avatar-upload-btn i {
  width: 12px;
  height: 12px;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.user-name-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-name-container h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}

.edit-name-btn {
  background: none;
  border: none;
  color: #16a34a;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.edit-name-btn:hover {
  color: #15803d;
}

.edit-name-btn i {
  width: 16px;
  height: 16px;
}

.edit-name-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.name-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1rem;
}

.name-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #16a34a;
}

.edit-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.save-btn,
.cancel-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.save-btn {
  background-color: #16a34a;
  color: white;
  border: none;
}

.save-btn:hover {
  background-color: #15803d;
}

.cancel-btn {
  border: 1px solid #d1d5db;
  color: #374151;
  background: white;
}

.cancel-btn:hover {
  background-color: #f9fafb;
}

.save-btn i,
.cancel-btn i {
  width: 16px;
  height: 16px;
}

.verification-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.verification-badge.verified {
  background-color: #dcfce7;
  color: #166534;
}

.verification-badge.not-verified {
  background-color: #fef3c7;
  color: #92400e;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc2626;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.logout-btn:hover {
  color: #b91c1c;
}

.logout-btn i {
  width: 16px;
  height: 16px;
}

.sidebar-menu {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.menu-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-weight: 500;
  color: #374151;
}

.menu-item:hover,
.menu-item.active {
  background-color: #f0fdf4;
  color: #166534;
}

.menu-item i {
  width: 20px;
  height: 20px;
}

/* Weather Widget */
.weather-widget {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.weather-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.weather-header h4 {
  font-weight: 600;
}

.weather-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.weather-location i {
  width: 16px;
  height: 16px;
}

.weather-main {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.weather-icon {
  margin-right: 1rem;
}

.weather-icon i {
  width: 48px;
  height: 48px;
}

.temperature {
  font-size: 1.875rem;
  font-weight: 700;
}

.description {
  font-size: 0.875rem;
  opacity: 0.9;
  text-transform: capitalize;
}

.weather-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.weather-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weather-detail i {
  width: 16px;
  height: 16px;
}

.weather-error {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.75;
  text-align: center;
}

.weather-actions {
  margin-top: 1rem;
  text-align: center;
}

.refresh-weather {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.refresh-weather:hover {
  background: rgba(255, 255, 255, 0.3);
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Main Content Area */
.main-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #16a34a;
}

.view-all-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.view-all-btn:hover {
  color: #15803d;
}

.view-all-btn i {
  width: 16px;
  height: 16px;
}

/* Market Highlights */
.market-highlights {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.market-table-container {
  overflow-x: auto;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
}

.market-table th,
.market-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.market-table th {
  font-weight: 500;
  color: #6b7280;
  font-size: 0.875rem;
}

.market-table tr:hover {
  background-color: #f9fafb;
}

.change-up {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #dcfce7;
  color: #166534;
}

.change-neutral {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #fef3c7;
  color: #92400e;
}

.change-down {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #fee2e2;
  color: #991b1b;
}

.demand-high {
  color: #f97316;
}

.demand-moderate {
  color: #16a34a;
}

.market-table td .demand-high,
.market-table td .demand-moderate {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

/* AI Recommendations */
.ai-recommendations {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .recommendations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.recommendation-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 0.5rem;
  padding: 1rem;
  border-left: 4px solid #16a34a;
}

.recommendation-card h4 {
  font-weight: 600;
  color: #166534;
  margin-bottom: 0.5rem;
}

.recommendation-card p {
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.recommendation-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.recommendation-action:hover {
  color: #15803d;
}

.recommendation-action i {
  width: 16px;
  height: 16px;
}

/* Recent Activity */
.recent-activity {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.empty-state {
  text-align: center;
  padding: 2rem;
}

.empty-state p {
  color: #6b7280;
}

/* Section Container */
.section-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  max-width: 1500px;
  margin: 0 auto;
}

.section-header-with-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.section-header-with-back h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #16a34a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.back-btn:hover {
  color: #1f2937;
}

.back-btn i {
  width: 16px;
  height: 16px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 192px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

.product-info h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.product-info .price {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.product-info .quantity {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.product-info .location {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.edit-product-btn,
.delete-product-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.edit-product-btn {
  background-color: #2563eb;
  color: white;
}

.edit-product-btn:hover {
  background-color: #1d4ed8;
}

.delete-product-btn {
  background-color: #dc2626;
  color: white;
}

.delete-product-btn:hover {
  background-color: #b91c1c;
}

.edit-product-btn i,
.delete-product-btn i {
  width: 16px;
  height: 16px;
}

.contact-seller-btn {
  width: 100%;
  background-color: #16a34a;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-seller-btn:hover {
  background-color: #15803d;
}

/* Settings Styles */
.settings-content {
  padding: 1.5rem;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings-section {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
}

.settings-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.settings-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #16a34a;
}

.profile-picture-upload {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.current-picture img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #16a34a;
}

.upload-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #16a34a;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.upload-btn:hover {
  background-color: #15803d;
}

.upload-btn i {
  width: 16px;
  height: 16px;
}

.settings-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.save-settings-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #16a34a;
  color: white;
}

.save-settings-btn:hover {
  background-color: #15803d;
}

.save-settings-btn i {
  width: 16px;
  height: 16px;
}

/* Transactions Styles */
.transactions-content {
  padding: 1.5rem;
}

.transactions-table-container {
  overflow-x: auto;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
}

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

.transactions-table th {
  font-weight: 500;
  color: #6b7280;
}

.transactions-table tr:hover {
  background-color: #f9fafb;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge.completed {
  background-color: #dcfce7;
  color: #166534;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge.cancelled {
  background-color: #fee2e2;
  color: #991b1b;
}

.view-transaction-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #16a34a;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 0.875rem;
}

.view-transaction-btn:hover {
  color: #15803d;
}

.view-transaction-btn i {
  width: 16px;
  height: 16px;
}

/* Payments Styles */
.payments-content {
  padding: 1.5rem;
}

.payment-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .payment-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}

.summary-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #bbf7d0;
}

.summary-card h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #166534;
  margin-bottom: 0.5rem;
}

.summary-card .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #16a34a;
}

.payment-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.withdraw-btn,
.payment-history-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.withdraw-btn {
  background-color: #16a34a;
  color: white;
}

.withdraw-btn:hover {
  background-color: #15803d;
}

.payment-history-btn {
  background-color: #6b7280;
  color: white;
}

.payment-history-btn:hover {
  background-color: #4b5563;
}

.withdraw-btn i,
.payment-history-btn i {
  width: 16px;
  height: 16px;
}

/* Subscription Styles */
.subscription-content {
  padding: 1.5rem;
}

.current-subscription {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #bfdbfe;
}

.current-subscription h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 1rem;
}

.subscription-details p {
  color: #374151;
  margin-bottom: 0.5rem;
}

.subscription-plans h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.plan-card.featured {
  border-color: #16a34a;
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.plan-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.plan-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.plan-savings {
  color: #f97316;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.plan-features li {
  padding: 0.25rem 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.subscribe-plan-btn {
  width: 100%;
  background-color: #16a34a;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.subscribe-plan-btn:hover {
  background-color: #15803d;
}

.plan-card.featured .subscribe-plan-btn {
  background-color: #f97316;
}

.plan-card.featured .subscribe-plan-btn:hover {
  background-color: #ea580c;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 0.75rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.close-modal {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #6b7280;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #1f2937;
}

.close-modal i {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 1.5rem;
}

.payment-summary-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #bbf7d0;
}

.payment-summary-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 1rem;
}

.payment-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.detail-row span:first-child {
  color: #6b7280;
}

.detail-row .amount {
  font-weight: 700;
  color: #16a34a;
  font-size: 1.125rem;
}

.payment-methods h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

.payment-option input[type="radio"] {
  margin-right: 1rem;
  accent-color: #16a34a;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.option-content i {
  width: 24px;
  height: 24px;
  color: #16a34a;
}

.option-content strong {
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.option-content p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.payment-form {
  margin-top: 1rem;
}

.bank-details {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.bank-details h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.bank-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-detail span:first-child {
  color: #6b7280;
  font-size: 0.875rem;
}

.bank-detail span:last-child {
  font-weight: 500;
  color: #1f2937;
}

.copy-btn {
  background: none;
  border: none;
  color: #16a34a;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.copy-btn:hover {
  color: #15803d;
}

.copy-btn i {
  width: 16px;
  height: 16px;
}

.payment-instructions {
  margin-top: 1rem;
  padding: 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
}

.payment-instructions h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.payment-instructions ol {
  color: #1d4ed8;
  font-size: 0.875rem;
  padding-left: 1rem;
}

.payment-instructions li {
  margin-bottom: 0.25rem;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.cancel-payment-btn,
.proceed-payment-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cancel-payment-btn {
  background-color: #6b7280;
  color: white;
}

.cancel-payment-btn:hover {
  background-color: #4b5563;
}

.proceed-payment-btn {
  background-color: #16a34a;
  color: white;
}

.proceed-payment-btn:hover {
  background-color: #15803d;
}

.proceed-payment-btn i {
  width: 16px;
  height: 16px;
}

/* KYC Styles */
.kyc-form-container {
  padding: 1.5rem;
}

.kyc-form-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.kyc-form-container > p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.kyc-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
}

.form-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.kyc-form input,
.kyc-form select,
.kyc-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.kyc-form input:focus,
.kyc-form select:focus,
.kyc-form textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #16a34a;
}

.upload-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.upload-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upload-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: #16a34a;
}

.file-upload-area i {
  width: 32px;
  height: 32px;
  color: #9ca3af;
  margin: 0 auto 0.5rem;
}

.file-upload-area p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.file-upload-area input {
  display: none;
}

.upload-preview {
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
}

.upload-preview img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid #16a34a;
}

.remove-upload {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #dc2626;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.remove-upload:hover {
  background-color: #b91c1c;
}

.remove-upload i {
  width: 12px;
  height: 12px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.submit-kyc-btn,
.cancel-kyc-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-kyc-btn {
  background-color: #16a34a;
  color: white;
}

.submit-kyc-btn:hover {
  background-color: #15803d;
}

.cancel-kyc-btn {
  background-color: #6b7280;
  color: white;
}

.cancel-kyc-btn:hover {
  background-color: #4b5563;
}

.submit-kyc-btn i,
.cancel-kyc-btn i {
  width: 16px;
  height: 16px;
}

.kyc-completed {
  text-align: center;
  padding: 3rem 1.5rem;
}

.kyc-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.kyc-icon.success {
  background-color: #dcfce7;
}

.kyc-icon.success i {
  color: #16a34a;
  width: 48px;
  height: 48px;
}

.kyc-completed h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 1rem;
}

.kyc-completed p {
  color: #6b7280;
  max-width: 448px;
  margin: 0 auto;
}

.kyc-not-started {
  text-align: center;
  padding: 3rem 1.5rem;
}

.kyc-not-started .kyc-icon {
  background-color: #dcfce7;
}

.kyc-not-started .kyc-icon i {
  width: 48px;
  height: 48px;
  color: #16a34a;
}

.kyc-not-started h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.kyc-not-started p {
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
}

.start-kyc-btn {
  background-color: #16a34a;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.start-kyc-btn:hover {
  background-color: #15803d;
}

/* Logistics Table */
.logistics-table-container {
  padding: 1.5rem;
  overflow-x: auto;
}

.logistics-table {
  width: 100%;
  border-collapse: collapse;
}

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

.logistics-table th {
  font-weight: 500;
  color: #6b7280;
}

.logistics-table tr:hover {
  background-color: #f9fafb;
}

.logistics-table a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #16a34a;
  text-decoration: none;
  transition: color 0.2s;
}

.logistics-table a:hover {
  color: #15803d;
}

.logistics-table a i {
  width: 12px;
  height: 12px;
}

.shipments-section {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.shipments-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 1rem;
}

/* Financing Grid */
.financing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .financing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .financing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.financing-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #bbf7d0;
}

.financing-card h4 {
  font-weight: 600;
  color: #166534;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.financing-card p {
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.financing-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.detail-value {
  font-weight: 500;
  color: #166534;
}

.apply-btn {
  width: 100%;
  background-color: #16a34a;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.apply-btn:hover {
  background-color: #15803d;
}

/* Analytics Grid */
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.analytics-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border-left: 4px solid #2563eb;
}

.analytics-card h4 {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.75rem;
}

.analytics-card p {
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.analytics-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2563eb;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.analytics-action:hover {
  color: #1d4ed8;
}

.analytics-action i {
  width: 16px;
  height: 16px;
}

/* List Produce Form */
.produce-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.produce-form .form-group {
  display: flex;
  flex-direction: column;
}

.produce-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.produce-form input,
.produce-form select,
.produce-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.produce-form input:focus,
.produce-form select:focus,
.produce-form textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #16a34a;
}

.submit-btn {
  width: 100%;
  background-color: #16a34a;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #15803d;
}

/* Footer */
.footer {
  background-color: #166534;
  color: white;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #bbf7d0;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-links a {
  color: #bbf7d0;
  transition: color 0.2s;
}

.social-links a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section ul li button,
.footer-section ul li a {
  color: #bbf7d0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-section ul li button:hover,
.footer-section ul li a:hover {
  color: white;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.contact-info li i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid #15803d;
  padding: 2rem 0;
  text-align: center;
}

.footer-bottom p {
  color: #bbf7d0;
  font-size: 0.875rem;
}

/* Notification Container */
.notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notification {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #16a34a;
  max-width: 400px;
  animation: slideIn 0.3s ease-out;
}

.notification.success {
  border-left-color: #16a34a;
}

.notification.error {
  border-left-color: #dc2626;
}

.notification.warning {
  border-left-color: #f59e0b;
}

.notification.info {
  border-left-color: #3b82f6;
}

.notification h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.notification p {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat h3 {
    font-size: 1.25rem;
  }

  .dashboard-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .market-table-container,
  .logistics-table-container,
  .transactions-table-container {
    overflow-x: auto;
  }

  .products-grid,
  .financing-grid,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .plan-card.featured {
    transform: none;
  }

  .settings-actions,
  .form-actions {
    flex-direction: column;
  }

  .payment-actions {
    flex-direction: column;
    align-items: center;
  }

  .profile-picture-upload {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.loading {
  opacity: 0.5;
  pointer-events: none;
}

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

.text-left {
  text-align: left;
}

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

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-green-600 {
  color: #16a34a;
}

.text-red-600 {
  color: #dc2626;
}

.text-gray-600 {
  color: #6b7280;
}

.bg-green-50 {
  background-color: #f0fdf4;
}

.bg-red-50 {
  background-color: #fef2f2;
}

.border-green-500 {
  border-color: #22c55e;
}

.border-red-500 {
  border-color: #ef4444;
}

/* Notification Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
