/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --app-accent: #1f7a8c;
  --app-accent-strong: #0f4c5c;
  --app-warm: #b45f06;
  --app-soft: #f6f8fb;
}

[data-bs-theme="dark"] {
  --app-accent: #43b0c9;
  --app-accent-strong: #7ac7d8;
  --app-warm: #f0a84b;
  --app-soft: #151a21;
}

.app-body {
  background: var(--app-soft);
  min-height: 100vh;
}

.app-navbar {
  background: var(--bs-body-bg);
}

.page-title {
  color: var(--app-accent-strong);
}

.status-pill {
  border: 1px solid color-mix(in srgb, var(--app-accent) 55%, transparent);
  color: var(--app-accent-strong);
}

.table-card,
.form-panel,
.detail-panel {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
}

.money {
  color: var(--app-warm);
}

.email-row + .email-row {
  margin-top: .5rem;
}

.table > tbody > tr.lead-row-confirmed > * {
  background-color: #dff3e4;
  color: #17492a;
}

.table > tbody > tr.lead-row-lost > * {
  background-color: #f8dddd;
  color: #6f1d1b;
}

.table > tbody > tr.lead-row-confirmed a,
.table > tbody > tr.lead-row-confirmed .money {
  color: #0f3f24;
}

.table > tbody > tr.lead-row-lost a,
.table > tbody > tr.lead-row-lost .money {
  color: #5f1615;
}

.table > tbody > tr.lead-row-confirmed .status-pill {
  background-color: #c6ead0;
  border-color: #4b9662;
  color: #17492a;
}

.table > tbody > tr.lead-row-lost .status-pill {
  background-color: #f2c4c4;
  border-color: #bc6262;
  color: #6f1d1b;
}

.lead-history-toggle {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.lead-history-toggle:hover,
.lead-history-toggle:focus {
  color: inherit;
  text-decoration: underline;
}

.lead-history-panel {
  background: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
}
