/* --- SUPPLIER DASHBOARD MODERN STYLES --- */
.main-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.07);
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 1.2rem;
}
.logo {
  height: 2.2rem;
  width: auto;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
.main-nav {
  display: flex;
  gap: 1.2rem;
}
.main-nav a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.9rem;
  border-radius: 0.7rem;
  transition: background 0.15s;
}
.main-nav a.active, .main-nav a:hover {
  background: #e0e7ef;
}
.dashboard-content {
  max-width: 1100px;
  margin: 2.5rem auto 0 auto;
  padding: 0 1.2rem 2rem 1.2rem;
}
.dashboard-welcome {
  background: #f1f5f9;
  border-radius: 1.1rem;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}
.add-product-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(37,99,235,0.08);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
}
.add-product-form h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1.2rem;
  text-align: center;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
  }
  .form-row {
    display: flex;
    flex-direction: column;
  }
}
.form-row label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #1e293b;
  font-size: 1.05rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  border: 1.5px solid #cbd5e1;
  border-radius: 0.6rem;
  padding: 0.6rem 0.9rem;
  font-size: 1.05rem;
  background: #f8fafc;
  transition: border 0.2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border: 1.5px solid #2563eb;
  outline: none;
  background: #f1f5f9;
}
.form-row textarea {
  min-height: 2.5rem;
  resize: vertical;
}
.form-actions-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 1rem;
}
@media (max-width: 599px) {
  .add-product-form-wrapper {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .form-actions-row {
    flex-direction: column;
    gap: 0.7rem;
  }
}
.dashboard-products {
  margin-top: 2.5rem;
}
.product-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px rgba(37,99,235,0.07);
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.product-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 0.7rem;
  background: #f1f5f9;
  border: 1.5px solid #e0e7ef;
}
.product-info {
  flex: 1;
}
.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.3rem;
}
.product-desc {
  color: #334155;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.product-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.98rem;
  color: #64748b;
  margin-bottom: 0.7rem;
}
.product-actions {
  display: flex;
  gap: 0.7rem;
}
.dashboard-orders {
  margin-top: 2.5rem;
}
.order-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px rgba(37,99,235,0.07);
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  margin-bottom: 1.5rem;
}
.order-info h4 {
  color: #2563eb;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.order-status {
  font-weight: 600;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #eab308;
}
.order-status.pending {
  color: #eab308;
}
.order-status.confirmed {
  color: #22c55e;
}
.order-status.shipped {
  color: #2563eb;
}
.order-status.cancelled {
  color: #ef4444;
}
.footer {
  background: #f1f5f9;
  color: #64748b;
  text-align: center;
  padding: 1.2rem 0;
  font-size: 1rem;
  margin-top: 2.5rem;
  border-top: 1.5px solid #e0e7ef;
}
/* Language Switcher Styles */
.lang-switcher-en {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.2rem 0.7rem 0.2rem 0.7rem;
  margin-left: 1.5rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.07);
}
.lang-select-en {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2563eb;
  outline: none;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}
.lang-select-en option {
  color: #1e293b;
}
.lang-select-en:focus {
  background: #e0e7ef;
}
/* Signup (Register) Page Modern Layout */
.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #f8fafc 60%, #e0e7ef 100%);
}
.auth-card {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
  border-radius: var(--radius);
  padding: 2.7rem 2rem 2.2rem 2rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  text-align: center;
}
.auth-card .modern-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.auth-card .modern-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.auth-card input,
.auth-card select {
  padding: 0.9rem 1rem;
  border: 1.5px solid #dbeafe;
  border-radius: 0.7rem;
  font-size: 1.08rem;
  background: #f1f5f9;
  transition: border 0.18s;
}
.auth-card input:focus,
.auth-card select:focus {
  outline: none;
  border: 1.5px solid var(--primary);
  background: #fff;
}
.auth-card button.btn-modern-primary {
  margin-top: 0.7rem;
  width: 100%;
}
.auth-card .form-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .auth-card { padding: 1.2rem 0.5rem 1.2rem 0.5rem; }
}
/* Auth Main Centering */
.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
}
.auth-card {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem 2rem;
  background: #fff;
}
/* modern.css - Modern, bold, and clean design system for Made in Middle-East */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #22d3ee;
  --amber: #fbbf24;
  --success: #10b981;
  --surface: #fff;
  --background: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --shadow: 0 4px 24px rgba(37,99,235,0.08);
  --radius: 1.2rem;
}

html, body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--background);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Header */
.main-header {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 0;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2rem 0.5rem 2rem;
}
.logo {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #e0e7ef;
}
.main-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin: 0;
}
.header-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 2rem 1rem 2rem;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.active, .main-nav a:hover {
  background: var(--primary);
  color: #fff;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  position: relative;
  margin-top: 0.5rem;
}
.hero-container {
  max-width: 700px;
  margin: 0 auto;
}
.hero-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}
.hero-section p {
  font-size: 1.15rem;
  color: #e0f2fe;
  margin-bottom: 2rem;
}

/* Modern Buttons */
.btn-modern-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(37,99,235,0.10);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-modern-primary:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, #06b6d4 100%);
  box-shadow: 0 4px 24px rgba(37,99,235,0.18);
}
.btn-modern-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: 0.8rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-modern-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Card Styles */
.modern-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 2rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.modern-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  margin: 0 0 0.7rem 0;
  font-size: 1.25rem;
  color: var(--primary);
}
.card-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.card-body .price {
  font-weight: 700;
  color: var(--success);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  display: block;
}

/* Section Containers */
.section {
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  background: var(--background);
}

/* Contact & About */
.contact-section, .about-section {
  padding: 4rem 1.5rem;
  background: var(--background);
}
.contact-section h2, .about-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.2rem;
  color: var(--primary);
}
.contact-section p, .about-section .intro {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  font-size: 1.15rem;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info {
  flex: 1 1 280px;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info h4 {
  margin-top: 0;
  color: var(--primary);
}
.contact-form {
  flex: 1 1 380px;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1.5px solid #dbeafe;
  border-radius: 0.7rem;
  font-size: 1.08rem;
  background: #f1f5f9;
  transition: border 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1.5px solid var(--primary);
  background: #fff;
}
.contact-form button.btn-modern-primary {
  margin-top: 0.7rem;
  width: 100%;
}

/* About Us Modern Layout */
.about-section {
  padding: 4.5rem 1.5rem 4rem 1.5rem;
  background: linear-gradient(120deg, #f8fafc 60%, #e0e7ef 100%);
}
.about-section h2 {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.about-intro {
  text-align: center;
  margin-bottom: 2.7rem;
  color: var(--text-muted);
  font-size: 1.18rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.7rem 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  border-left: 6px solid var(--primary);
}
.about-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
  transform: translateY(-4px) scale(1.02);
}
.about-card h4 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.22rem;
  font-weight: 600;
}
.about-card p {
  color: var(--text-muted);
  font-size: 1.09rem;
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .about-section { padding: 2.5rem 0.5rem; }
  .about-grid { gap: 1.2rem; }
  .about-card { padding: 1.3rem 0.7rem 1.1rem 0.7rem; }
}

/* Footer */
.footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  padding: 1.5rem 0 2rem 0;
  background: var(--surface);
  border-top: 1px solid #e0e7ef;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid, .about-grid { flex-direction: column; align-items: stretch; }
  .header-container { padding: 0 1rem 1rem 1rem; }
}
@media (max-width: 600px) {
  .main-header h1 { font-size: 1.3rem; }
  .logo-area { padding: 1rem 1rem 0.5rem 1rem; }
  .hero-modern h1 { font-size: 2rem; }
  .section, .contact-section, .about-section { padding: 2rem 0.5rem; }
  .card-body { padding: 1rem; }
  .contact-info, .contact-form, .about-box { padding: 1.2rem 0.7rem; }
}
