/* 
 * Deshora Seller Panel - Stylesheet
 * Custom CSS complementing Bootstrap 5.3 utilities
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-orange: #f95700;
  --primary-orange-hover: #e04e00;
  --primary-orange-gradient: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  --primary-orange-shadow: rgba(249, 87, 0, 0.28);
  --india-saffron: #f97316;
  --india-green: #16a34a;
  --ashoka-blue: #1e3a8a;
  --text-dark: #0f172a;
  --text-heading: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-focus: #f97316;
  --card-bg: #ffffff;
  --bg-page: #fbf9f6;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 237, 213, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(220, 252, 231, 0.35) 0%, transparent 45%),
    linear-gradient(180deg, #fdfbf8 0%, #f7f4ef 100%);
}

/* Background Flowing Tricolor Waves */
.bg-wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tricolor-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

/* Monument Skyline Watermark at bottom */
.monument-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: contain;
}

/* Header & Logo */
.app-header {
  position: relative;
  z-index: 10;
  padding: 10px 0 10px;
}

.brand-logo-container {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s ease;
}

.brand-logo-container:hover .brand-logo-icon {
  transform: scale(1.04);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 3px;
}

.brand-title .reg-mark {
  font-size: 11px;
  font-weight: 700;
  vertical-align: super;
  color: #475569;
}

.brand-subtitle-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #334155;
  text-transform: uppercase;
  margin-top: 3px;
}

.brand-subtitle-line .dash-left {
  width: 18px;
  height: 2px;
  background-color: var(--india-saffron);
  border-radius: 2px;
}

.brand-subtitle-line .dash-right {
  width: 18px;
  height: 2px;
  background-color: var(--india-green);
  border-radius: 2px;
}

/* Left Hero Content */
.hero-content-section {
  position: relative;
  z-index: 5;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 14px;
}

.hero-main-title .highlight-orange {
  display: block;
  color: var(--primary-orange);
  font-weight: 800;
}

.hero-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 28px;
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
  position: relative;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateX(4px);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.feature-icon-wrapper.orange-theme {
  background-color: #ffeedb;
  color: #ea580c;
}

.feature-icon-wrapper.green-theme {
  background-color: #dcfce7;
  color: #16a34a;
}

.feature-icon-wrapper.amber-theme {
  background-color: #fef3c7;
  color: #d97706;
}

.feature-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.feature-text-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.feature-text-block p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Dot Pattern */
.dot-pattern-decor {
  position: absolute;
  top: 15%;
  right: -10px;
  width: 70px;
  height: 90px;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.65;
  pointer-events: none;
}

/* Device & Showcase Composition */
.showcase-composition {
  position: relative;
  margin-top: 30px;
  padding-bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 270px;
}

/* Potted Plant */
.plant-wrapper {
  position: relative;
  z-index: 4;
  margin-right: -25px;
  margin-bottom: 8px;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.15));
}

/* Laptop Mockup */
.laptop-mockup-wrapper {
  position: relative;
  z-index: 3;
  width: 380px;
  max-width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.16));
  transition: transform 0.3s ease;
}

.laptop-mockup-wrapper:hover {
  transform: translateY(-3px);
}

.laptop-screen {
  background: #0f172a;
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  box-shadow: inset 0 0 0 1.5px #475569;
  position: relative;
}

.laptop-camera-dot {
  width: 4px;
  height: 4px;
  background: #64748b;
  border-radius: 50%;
  margin: 0 auto 4px;
}

.dashboard-screen-content {
  background: #f8fafc;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  font-size: 8px;
  color: #1e293b;
  padding: 6px 8px 8px;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
  margin-bottom: 5px;
}

.dash-logo-mini {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 7.5px;
  font-weight: 800;
  color: #0f172a;
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.dash-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px;
  text-align: left;
}

.dash-metric-title {
  font-size: 6.5px;
  color: #64748b;
  margin-bottom: 1px;
}

.dash-metric-val {
  font-size: 8.5px;
  font-weight: 700;
  color: #0f172a;
}

.dash-charts-row {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 5px;
}

.dash-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px 6px;
}

.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.laptop-notch {
  width: 44px;
  height: 4px;
  background: #64748b;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Smartphone Mockup */
.phone-mockup-wrapper {
  position: relative;
  z-index: 5;
  width: 85px;
  margin-left: -35px;
  margin-bottom: -4px;
  filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.phone-mockup-wrapper:hover {
  transform: translateY(-4px) scale(1.02);
}

.phone-body {
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 14px;
  padding: 4px 3px 3px;
}

.phone-screen {
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 4px;
  font-size: 7px;
}

/* Cardboard Shipping Boxes */
.boxes-wrapper {
  position: relative;
  z-index: 4;
  margin-left: 10px;
  margin-bottom: 2px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

.box-item {
  background: linear-gradient(135deg, #d4a373 0%, #bc6c25 100%);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-top {
  width: 65px;
  height: 52px;
  margin-bottom: -10px;
  z-index: 2;
  margin-left: 8px;
}

.box-bottom {
  width: 78px;
  height: 60px;
  z-index: 1;
}

.box-tape {
  position: absolute;
  background: rgba(188, 108, 37, 0.6);
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
  border-right: 1px dashed rgba(255, 255, 255, 0.4);
}

.box-top .box-tape {
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
}

.box-bottom .box-tape {
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
}

.box-stamp-icon {
  color: #78350f;
  opacity: 0.75;
  font-size: 14px;
}

/* RIGHT COLUMN - SELLER LOGIN CARD */
.login-card-container {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.seller-login-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(226, 232, 240, 0.8),
    0 10px 20px -5px rgba(0, 0, 0, 0.03);
  width: 100%;
  max-width: 480px;
  transition: box-shadow 0.3s ease;
}

.seller-login-card:hover {
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.11),
    0 0 0 1px rgba(226, 232, 240, 0.9),
    0 12px 24px -5px rgba(0, 0, 0, 0.04);
}

/* Card Header & Tricolor Badge */
.card-header-block {
  text-align: center;
  margin-bottom: 30px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.card-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 400;
}

.tricolor-divider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  max-width: 220px;
}

.saffron-bar {
  flex: 1;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, #f97316 100%);
  border-radius: 4px;
}

.green-bar {
  flex: 1;
  height: 2.5px;
  background: linear-gradient(90deg, #16a34a 0%, transparent 100%);
  border-radius: 4px;
}

.chakra-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

/* Form Styles */
.form-group-custom {
  margin-bottom: 20px;
}

.form-label-custom {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.password-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.forgot-password-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.forgot-password-link:hover {
  color: var(--primary-orange-hover);
  text-decoration: underline;
}

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

.input-icon-left {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.input-icon-right {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.input-icon-right:hover {
  color: #475569;
  background-color: #f1f5f9;
}

.form-control-custom {
  width: 100%;
  height: 52px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px 12px 46px;
  font-size: 14.5px;
  color: #1e293b;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.form-control-custom.with-right-icon {
  padding-right: 48px;
}

.form-control-custom::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.15);
}

.form-control-custom:focus + .input-icon-left,
.form-group-custom:focus-within .input-icon-left {
  color: var(--primary-orange);
}

/* Custom Checkbox */
.remember-row {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.custom-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  background-color: #ffffff;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.15s ease;
  position: relative;
}

.custom-checkbox-wrap input[type="checkbox"]:checked {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.custom-checkbox-wrap input[type="checkbox"]:checked::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.custom-checkbox-wrap input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.custom-checkbox-wrap .checkbox-text {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

/* Submit Login Button */
.btn-primary-orange {
  width: 100%;
  height: 52px;
  background: var(--primary-orange-gradient);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px var(--primary-orange-shadow);
  transition: all 0.2s ease;
}

.btn-primary-orange:hover {
  background: linear-gradient(135deg, #f95700 0%, #d94e05 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 10px 24px rgba(249, 87, 0, 0.35);
  color: #ffffff;
}

.btn-primary-orange:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px var(--primary-orange-shadow);
}

.btn-primary-orange svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

/* OR Divider */
.or-divider-wrap {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
}

.or-divider-wrap::before,
.or-divider-wrap::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.or-divider-text {
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Google Login Button */
.btn-google-auth {
  width: 100%;
  height: 52px;
  background-color: #ffffff;
  color: #1e293b;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-google-auth:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  color: #0f172a;
}

.btn-google-auth:active {
  transform: translateY(0);
}

.google-icon-svg {
  width: 20px;
  height: 20px;
}

/* Register Link Footer */
.card-bottom-register {
  text-align: center;
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-body);
}

.card-bottom-register a {
  color: var(--primary-orange);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.card-bottom-register a:hover {
  color: var(--primary-orange-hover);
  text-decoration: underline;
}

/* Global Footer */
.app-footer {
  position: relative;
  z-index: 10;
  padding: 30px 0 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-link-item {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link-item:hover {
  color: #0f172a;
  text-decoration: underline;
}

.footer-separator {
  color: #cbd5e1;
}

/* Interactive Feedback Toast */
.custom-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.custom-toast.success {
  border-left: 4px solid var(--india-green);
}

.custom-toast.info {
  border-left: 4px solid var(--primary-orange);
}

/* Modal Custom Styling */
.modal-content-custom {
  border-radius: 18px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header-custom {
  border-bottom: 1px solid #f1f5f9;
  padding: 20px 24px;
}

.modal-body-custom {
  padding: 24px;
}

.modal-footer-custom {
  border-top: 1px solid #f1f5f9;
  padding: 16px 24px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-main-title {
    font-size: 32px;
  }
  .seller-login-card {
    padding: 34px 28px;
    margin-top: 20px;
  }
  .showcase-composition {
    justify-content: center;
    margin-top: 20px;
  }
  .laptop-mockup-wrapper {
    width: 320px;
  }
}

@media (max-width: 767.98px) {
  .app-header {
    padding: 18px 0 10px;
  }
  .hero-main-title {
    font-size: 28px;
  }
  .hero-description {
    font-size: 14px;
  }
  .seller-login-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .card-title {
    font-size: 24px;
  }
  .showcase-composition {
    transform: scale(0.9);
    transform-origin: center bottom;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 25px;
  }
  .showcase-composition {
    transform: scale(0.78);
    margin-left: -20px;
  }
  .footer-links-wrap {
    flex-direction: column;
    gap: 6px;
  }
  .footer-separator {
    display: none;
  }
}
