@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap");
/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-font-feature-settings: var(--font-sans--font-feature-settings);
    --default-font-variation-settings: var(--font-sans--font-variation-settings);
    --default-mono-font-family: var(--font-mono);
    --default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
    --default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  body {
    line-height: inherit;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
    color: currentColor;
  }

  @supports (color: color-mix(in lab, red, red)) {
    ::placeholder {
      color: color-mix(in oklab, currentColor 50%, transparent);
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    border-color: oklch(.922 0 0);
    outline-color: color-mix(in oklab, oklch(.708 0 0) 50%, transparent);
  }

  body {
    background-color: oklch(1 0 0);
    color: oklch(.145 0 0);
  }
}

@layer utilities {
  .container {
    width: 100%;
  }

  @media (width >= 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (width >= 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (width >= 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (width >= 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (width >= 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .table {
    display: table;
  }

  .overline {
    text-decoration-line: overline;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}


:root {
  --bg-dark: #101216;
  --text-light: #f4f4f5;
  --accent-wood: #c69a6b;
  --secondary-grey: #a5a5b5;
  --card-bg: #ffffff08;
  --card-border: #ffffff0f;
  --error-red: #ef4444;
  --success-green: #10b981;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  direction: rtl;
  min-height: 100vh;
  font-family: Cairo, sans-serif;
  line-height: 1.6;
}

.app-container {
  min-height: 100vh;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

@media (width >= 768px) {
  .app-container {
    padding: 40px 20px;
  }

  .container {
    max-width: 640px;
  }
}

.logo-section {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.logo {
  object-fit: contain;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  display: block;
}

.brand-text {
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 700;
}

.brand-subtext {
  color: var(--secondary-grey);
  letter-spacing: 1px;
  font-size: 12px;
}

@media (width >= 768px) {
  .logo-section {
    margin-bottom: 50px;
  }
}

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.overline {
  color: var(--accent-wood);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--secondary-grey);
  font-size: 16px;
  line-height: 1.5;
}

@media (width >= 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  margin-bottom: 24px;
  padding: 24px;
}

.card-title {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

@media (width >= 768px) {
  .card {
    padding: 32px;
  }
}

.offer-list {
  margin-bottom: 16px;
  list-style: none;
}

.offer-list li {
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.5;
}

.offer-list li:last-child {
  border-bottom: none;
}

.offer-note {
  color: var(--secondary-grey);
  font-size: 13px;
  font-style: italic;
}

.trust-text {
  text-align: center;
  color: var(--secondary-grey);
  margin-bottom: 32px;
  padding: 0 8px;
  font-size: 15px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.form-input {
  border: 1px solid var(--card-border);
  width: 100%;
  color: var(--text-light);
  direction: rtl;
  background: #ffffff0d;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: Cairo, sans-serif;
  font-size: 16px;
  transition: all .3s;
}

.form-input::placeholder {
  color: var(--secondary-grey);
  opacity: .6;
}

.form-input:focus {
  border-color: var(--accent-wood);
  background: #ffffff14;
  outline: none;
  box-shadow: 0 0 0 1px #c69a6bb3;
}

.phone-input-group {
  direction: ltr;
  gap: 8px;
  display: flex;
}

.country-code {
  border: 1px solid var(--card-border);
  width: 100px;
  color: var(--text-light);
  cursor: pointer;
  text-align: center;
  background: #ffffff0d;
  border-radius: 8px;
  flex-shrink: 0;
  padding: 14px 12px;
  font-family: Cairo, sans-serif;
  font-size: 16px;
  transition: all .3s;
}

.country-code:focus {
  border-color: var(--accent-wood);
  background: #ffffff14;
  outline: none;
  box-shadow: 0 0 0 1px #c69a6bb3;
}

.phone-number-input {
  text-align: left;
  direction: ltr;
  flex: 1;
}

.error-message {
  color: var(--error-red);
  margin-top: 6px;
  font-size: 13px;
  display: none;
}

.error-message.show {
  display: block;
}

.form-input.error {
  border-color: var(--error-red);
}

.btn {
  background: var(--accent-wood);
  color: #fff;
  cursor: pointer;
  text-align: center;
  border: none;
  border-radius: 12px;
  width: 100%;
  padding: 16px 24px;
  font-family: Cairo, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  display: block;
}

.btn:hover {
  background: #d4a876;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #c69a6b4d;
}

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

.btn:disabled {
  opacity: .5;
  cursor: wait;
  transform: none;
}

.btn-secondary {
  border: 1px solid var(--card-border);
  color: var(--text-light);
  background: none;
  margin-top: 16px;
  font-size: 16px;
}

.btn-secondary:hover {
  background: var(--card-bg);
  border-color: var(--accent-wood);
  color: var(--accent-wood);
  box-shadow: none;
}

.form-disclaimer {
  color: var(--secondary-grey);
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-note {
  text-align: center;
  color: #a5a5b580;
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.6;
}

.thank-you-card {
  text-align: center;
}

.thank-you-title {
  color: var(--accent-wood);
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
}

.thank-you-text {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
}

.reminder-list {
  text-align: right;
  background: #c69a6b1a;
  border: 1px solid #c69a6b33;
  border-radius: 12px;
  margin: 24px 0;
  padding: 20px;
  list-style: none;
}

.reminder-list li {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 15px;
}

.reminder-list li:last-child {
  margin-bottom: 0;
}

.warning-text {
  color: #fbbf24;
  background: #fbbf241a;
  border: 1px solid #fbbf2433;
  border-radius: 8px;
  margin-top: 16px;
  padding: 12px;
  font-size: 13px;
  display: none;
}

.warning-text.show {
  display: block;
}

.back-link {
  color: var(--secondary-grey);
  margin-top: 16px;
  font-size: 14px;
  text-decoration: none;
  transition: color .3s;
  display: inline-block;
}

.back-link:hover {
  color: var(--accent-wood);
}

@media (width >= 768px) {
  .thank-you-title {
    font-size: 40px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-login-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding-top: 60px;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 32px;
}

.admin-icon {
  margin-bottom: 16px;
  font-size: 64px;
}

.admin-login-title {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 700;
}

.admin-login-subtitle {
  color: var(--secondary-grey);
  font-size: 16px;
}

.admin-error-message {
  color: var(--error-red);
  text-align: center;
  background: #ef44441a;
  border: 1px solid #ef44444d;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 12px 16px;
  font-size: 14px;
}

.admin-demo-info {
  border-top: 1px solid var(--card-border);
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
}

.admin-demo-title {
  color: var(--secondary-grey);
  margin-bottom: 12px;
  font-size: 14px;
}

.admin-demo-credentials {
  text-align: center;
  direction: ltr;
  background: #ffffff0d;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

.admin-demo-credentials p {
  color: var(--secondary-grey);
  margin: 4px 0;
}

.admin-demo-credentials strong {
  color: var(--text-light);
}

.admin-back-link {
  text-align: center;
  margin-top: 24px;
}

.admin-back-link a {
  color: var(--secondary-grey);
  font-size: 14px;
  text-decoration: none;
  transition: color .3s;
}

.admin-back-link a:hover {
  color: var(--accent-wood);
}

.dashboard-container {
  background-color: var(--bg-dark);
  min-height: 100vh;
}

.dashboard-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 10;
  padding: 20px;
  position: sticky;
  top: 0;
}

.dashboard-header-content {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.dashboard-title {
  color: var(--text-light);
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 700;
}

.dashboard-subtitle {
  color: var(--secondary-grey);
  font-size: 14px;
}

.dashboard-actions {
  gap: 12px;
  display: flex;
}

.dashboard-btn {
  white-space: nowrap;
  padding: 10px 20px;
  font-size: 14px;
}

.btn-logout {
  color: var(--error-red);
  cursor: pointer;
  white-space: nowrap;
  background: #ef44441a;
  border: 1px solid #ef44444d;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: Cairo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
}

.btn-logout:hover {
  border-color: var(--error-red);
  background: #ef444433;
}

.dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  display: grid;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  align-items: center;
  gap: 16px;
  padding: 24px;
  display: flex;
}

.stat-icon {
  background: #c69a6b1a;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 40px;
  display: flex;
}

.stat-info {
  flex: 1;
}

.stat-value {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  color: var(--secondary-grey);
  font-size: 14px;
}

.dashboard-toolbar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  display: flex;
}

.search-box {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}

.search-input {
  border: 1px solid var(--card-border);
  width: 100%;
  color: var(--text-light);
  background: #ffffff0d;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: Cairo, sans-serif;
  font-size: 16px;
  transition: all .3s;
}

.search-input:focus {
  border-color: var(--accent-wood);
  background: #ffffff14;
  outline: none;
}

.toolbar-actions {
  gap: 12px;
  display: flex;
}

.btn-refresh {
  color: var(--text-light);
  border: 1px solid var(--card-border);
  cursor: pointer;
  background: #ffffff0d;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: Cairo, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: all .3s;
}

.btn-refresh:hover {
  border-color: var(--accent-wood);
  background: #ffffff14;
}

.table-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
}

.leads-table {
  min-width: 600px;
}

.leads-table thead {
  background: #ffffff0d;
}

.leads-table th {
  text-align: right;
  color: var(--text-light);
  border-bottom: 1px solid var(--card-border);
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
}

.leads-table td {
  text-align: right;
  color: var(--text-light);
  border-bottom: 1px solid var(--card-border);
  padding: 16px;
  font-size: 14px;
}

.leads-table tbody tr:last-child td {
  border-bottom: none;
}

.leads-table tbody tr:hover {
  background: #ffffff08;
}

.whatsapp-cell {
  text-align: left;
  font-family: monospace;
}

.btn-view {
  background: var(--accent-wood);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-family: Cairo, sans-serif;
  font-size: 14px;
  transition: all .3s;
}

.btn-view:hover {
  background: #d4a876;
}

.loading-state, .error-state, .empty-state {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 60px 20px;
}

.loading-spinner {
  border: 4px solid var(--card-border);
  border-top-color: var(--accent-wood);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  animation: 1s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-icon {
  margin-bottom: 16px;
  font-size: 64px;
}

.empty-title {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.empty-subtitle {
  color: var(--secondary-grey);
  font-size: 14px;
}

.error-state p {
  color: var(--error-red);
  margin-bottom: 16px;
}

.modal-overlay {
  z-index: 100;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #000000b3;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  animation: .3s modalSlideIn;
  overflow-y: auto;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(.95)translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.modal-header {
  border-bottom: 1px solid var(--card-border);
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  display: flex;
}

.modal-header h2 {
  color: var(--text-light);
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  color: var(--secondary-grey);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 24px;
  transition: all .3s;
  display: flex;
}

.modal-close:hover {
  color: var(--text-light);
  background: #ffffff0d;
}

.modal-body {
  padding: 24px;
}

.detail-row {
  border-bottom: 1px solid var(--card-border);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  display: flex;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--secondary-grey);
  font-size: 14px;
  font-weight: 600;
}

.detail-value {
  color: var(--text-light);
  font-size: 16px;
}

.detail-link {
  color: var(--accent-wood);
  font-size: 16px;
  text-decoration: none;
  transition: color .3s;
}

.detail-link:hover {
  color: #d4a876;
}

.modal-footer {
  border-top: 1px solid var(--card-border);
  padding: 24px;
}

@media (width <= 768px) {
  .dashboard-header-content {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-actions {
    justify-content: stretch;
    width: 100%;
  }

  .dashboard-actions button {
    flex: 1;
  }

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

  .leads-table {
    min-width: 600px;
  }
}

.settings-container {
  max-width: 800px;
  margin: 0 auto;
}

.success-message {
  color: var(--success-green);
  text-align: center;
  background: #10b9811a;
  border: 1px solid #10b9814d;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 16px 20px;
  font-size: 16px;
  animation: .3s slideDown;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.settings-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 32px;
}

.settings-section-title {
  color: var(--text-light);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
}

.settings-icon {
  font-size: 28px;
}

.settings-info {
  background: #c69a6b1a;
  border: 1px solid #c69a6b33;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 16px;
}

.settings-info p {
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.settings-info p:last-child {
  margin-bottom: 0;
}

.settings-link {
  color: var(--accent-wood);
  margin-top: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: color .3s;
  display: inline-block;
}

.settings-link:hover {
  color: #d4a876;
  text-decoration: underline;
}

.input-hint {
  color: var(--secondary-grey);
  text-align: left;
  direction: ltr;
  margin-top: 6px;
  font-size: 12px;
}

.info-list {
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  color: var(--text-light);
  border-bottom: 1px solid var(--card-border);
  text-align: left;
  direction: ltr;
  padding: 8px 0;
  font-size: 14px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list strong {
  color: var(--accent-wood);
}

.info-list code {
  background: #ffffff0d;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 13px;
}

.implementation-guide {
  background: linear-gradient(135deg, #c69a6b0d 0%, #c69a6b05 100%);
}

.guide-steps {
  margin-top: 20px;
}

.guide-step {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.step-number {
  background: var(--accent-wood);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
}

.step-content h3 {
  color: var(--text-light);
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.step-content p {
  color: var(--secondary-grey);
  font-size: 14px;
  line-height: 1.6;
}

.step-content code {
  color: var(--accent-wood);
  background: #ffffff0d;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 13px;
}

.qr-container {
  max-width: 900px;
  margin: 0 auto;
}

.qr-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
}

.qr-preview-header {
  text-align: center;
  margin-bottom: 32px;
}

.qr-preview-title {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 600;
}

.qr-preview-url {
  color: var(--accent-wood);
  background: #c69a6b1a;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: monospace;
  font-size: 16px;
  display: inline-block;
}

.qr-preview-wrapper {
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  display: flex;
}

.qr-code-display {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px #0000004d;
}

.qr-branded-wrapper {
  flex-shrink: 0;
}

.qr-branded-card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  max-width: 320px;
  padding: 24px;
  box-shadow: 0 8px 32px #0000004d;
}

.qr-branded-header {
  margin-bottom: 16px;
}

.qr-brand-text {
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
}

.qr-brand-subtext {
  color: var(--accent-wood);
  font-size: 14px;
  font-weight: 600;
}

.qr-scan-text {
  color: #000;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
}

.qr-download-section {
  text-align: center;
  margin-bottom: 40px;
}

.qr-download-title {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
}

.qr-download-buttons {
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  display: flex;
}

.qr-download-btn {
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  display: flex;
}

.qr-btn-icon {
  font-size: 20px;
}

.qr-instructions {
  background: #c69a6b0d;
  border: 1px solid #c69a6b33;
  border-radius: 12px;
  margin-bottom: 24px;
  padding: 32px;
}

.qr-instructions-title {
  color: var(--text-light);
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
}

.qr-instructions-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  display: grid;
}

.qr-instruction-item {
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.qr-instruction-number {
  background: var(--accent-wood);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.qr-instruction-content h4 {
  color: var(--text-light);
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.qr-instruction-content p {
  color: var(--secondary-grey);
  font-size: 14px;
  line-height: 1.5;
}

.qr-tips {
  border: 1px solid var(--card-border);
  background: #ffffff08;
  border-radius: 12px;
  padding: 24px;
}

.qr-tips-title {
  color: var(--accent-wood);
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.qr-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qr-tips-list li {
  color: var(--secondary-grey);
  padding: 8px 0 8px 24px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

.qr-tips-list li:before {
  content: "✓";
  color: var(--accent-wood);
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (width <= 768px) {
  .qr-preview-card {
    padding: 24px;
  }

  .qr-preview-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .qr-code-display svg, .qr-branded-card svg {
    width: 250px !important;
    height: 250px !important;
  }

  .qr-download-buttons {
    flex-direction: column;
  }

  .qr-download-btn {
    width: 100%;
  }

  .qr-instructions-grid {
    grid-template-columns: 1fr;
  }
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}
