.quote-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e7ebf6;
  padding: 12px 0;
}

.quote-brand {
  color: #082997;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.quote-brand img {
  width: 88px;
  height: auto;
}

.quote-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quote-contact a {
  color: #082997;
  text-decoration: none;
  font-weight: 600;
}

.quote-hero {
  background: linear-gradient(120deg, rgba(8, 41, 151, .93), rgba(25, 113, 228, .88)), url("../img/seguro1.jpg") center/cover;
  color: #ffffff;
  padding: 86px 0 72px;
}

.quote-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.quote-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  max-width: 860px;
  margin-bottom: 22px;
}

.quote-lead {
  font-size: 1.14rem;
  max-width: 690px;
  color: rgba(255, 255, 255, .92);
}

.quote-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.quote-trust span {
  background: #ffffff;
  color: #082997;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.quote-hero-panel {
  background: rgba(255, 255, 255, .94);
  color: #082997;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
  display: grid;
  gap: 14px;
}

.quote-hero-panel div {
  border: 1px solid #e7ebf6;
  border-radius: 8px;
  padding: 16px;
}

.quote-hero-panel small,
.quote-hero-panel strong {
  display: block;
}

.quote-hero-panel small {
  color: #555555;
}

.quote-hero-panel strong {
  font-size: 1.2rem;
}

.quote-main {
  background: #f4f7ff;
  padding: 52px 0;
}

.quote-success {
  background: #e8fff1;
  border: 1px solid #b9edcc;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  color: #0e5b2a;
}

.quote-success i {
  font-size: 2rem;
  margin-top: 4px;
}

.quote-success h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.quote-form,
.quote-side,
.dashboard-card {
  background: #ffffff;
  border: 1px solid #e7ebf6;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(8, 41, 151, .08);
}

.quote-form {
  padding: 24px;
}

.quote-section {
  border-bottom: 1px solid #edf0f7;
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.quote-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 16px;
}

.quote-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.quote-section-head span {
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #355efc;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.quote-section-head h2 {
  color: #082997;
  font-size: 1.5rem;
  margin: 0;
}

.quote-section-head p {
  margin: 4px 0 0;
  color: #666f82;
}

.quote-form label {
  color: #25324b;
  font-weight: 700;
  margin-bottom: 7px;
}

.quote-form .form-control,
.quote-form .form-select {
  min-height: 50px;
  border-color: #dce2f2;
  border-radius: 8px;
}

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4f5c72;
  margin: 18px 0;
}

.quote-consent input {
  margin-top: 5px;
}

.quote-submit {
  border: 0;
  border-radius: 8px;
  background: #e93c05;
  color: #ffffff;
  width: 100%;
  padding: 15px 18px;
  font-size: 1.05rem;
  font-weight: 800;
}

.quote-side {
  padding: 24px;
  position: sticky;
  top: 20px;
}

.quote-side h3 {
  color: #082997;
  margin-bottom: 18px;
}

.quote-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quote-side li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: #333b4d;
}

.quote-side li i {
  color: #1971e4;
  margin-top: 4px;
}

.quote-note {
  margin-top: 20px;
  background: #f4f7ff;
  border-left: 4px solid #355efc;
  padding: 14px;
  color: #3b4660;
}

.dashboard-body {
  background: #eef3ff;
  min-height: 100vh;
  color: #27334c;
}

.dashboard-header {
  background: #102f9a;
  color: #ffffff;
  padding: 24px 0;
  box-shadow: 0 12px 32px rgba(16, 47, 154, .22);
}

.dashboard-card {
  padding: 22px;
}

.dashboard-header-app {
  background:
    linear-gradient(135deg, rgba(16, 47, 154, .98), rgba(25, 113, 228, .92)),
    url("../img/bg.png") center/cover;
}

.dashboard-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dashboard-title-wrap img {
  width: 92px;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px;
}

.dashboard-title-wrap h1 {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 2rem;
  line-height: 1.1;
}

.dashboard-title-wrap p {
  color: rgba(255, 255, 255, .84);
}

.dashboard-eyebrow {
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.dashboard-back {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 8px;
  text-decoration: none;
}

.dashboard-back:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.dashboard-action {
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  padding: 11px 15px;
  text-decoration: none;
}

.dashboard-action-light {
  background: #ffffff;
  color: #102f9a;
}

.dashboard-action-outline {
  border: 1px solid rgba(255, 255, 255, .7);
  color: #ffffff;
}

.dashboard-action:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.dashboard-main {
  padding-top: 30px;
  padding-bottom: 46px;
}

.dashboard-stat {
  background: #ffffff;
  border: 1px solid #e7ebf6;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(8, 41, 151, .08);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
}

.dashboard-stat span,
.dashboard-stat strong {
  display: block;
}

.dashboard-stat span {
  color: #66738a;
  font-weight: 700;
  margin-bottom: 6px;
}

.dashboard-stat strong {
  color: #102f9a;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-blue {
  color: #102f9a;
  background: rgba(16, 47, 154, .10);
}

.stat-orange {
  color: #e93c05;
  background: rgba(233, 60, 5, .10);
}

.stat-green {
  color: #177245;
  background: rgba(23, 114, 69, .10);
}

.dashboard-filter-card label {
  color: #34425c;
  font-weight: 800;
}

.dashboard-field-icon {
  position: relative;
}

.dashboard-field-icon i {
  color: #72809a;
  left: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.dashboard-field-icon .form-control {
  padding-left: 42px;
}

.dashboard-filter-card .form-control,
.dashboard-filter-card .form-select,
.detail-card .form-select {
  min-height: 48px;
  border: 1px solid #dbe3f6;
  border-radius: 8px;
}

.dashboard-filter-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #355efc;
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dashboard-filter-btn:hover {
  background: #102f9a;
}

.dashboard-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.dashboard-card-head h2 {
  color: #102f9a;
  font-size: 1.35rem;
  margin: 0 0 4px;
}

.dashboard-card-head p {
  color: #6b7890;
  margin: 0;
}

.dashboard-table-card {
  padding-top: 24px;
}

.dashboard-table {
  margin-bottom: 0;
}

.dashboard-table thead th {
  color: #5b6880;
  font-size: .78rem;
  text-transform: uppercase;
  border-bottom: 1px solid #dfe6f5;
  padding: 14px 12px;
}

.dashboard-table tbody td {
  border-bottom: 1px solid #edf1fb;
  padding: 16px 12px;
  vertical-align: middle;
}

.dashboard-table tbody tr:hover {
  background: #f8faff;
}

.quote-code {
  background: #edf2ff;
  color: #102f9a;
  display: inline-block;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-link {
  color: #102f9a;
  font-weight: 800;
  text-decoration: none;
}

.date-stack {
  display: block;
  white-space: nowrap;
}

.date-stack small {
  color: #7a879b;
  display: block;
}

.dashboard-row-action {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #102f9a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dashboard-row-action:hover {
  background: #e93c05;
  color: #ffffff;
}

.login-page {
  min-height: 100vh;
  background: url("../img/seguro1.jpg") center/cover fixed;
  position: relative;
  font-family: "Open Sans", Arial, sans-serif;
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .80), rgba(244, 247, 255, .72));
}

.login-shell {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 42px 0;
}

.login-card {
  background: #ffffff;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(8, 41, 151, .17);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 41, 151, .20);
}

.login-card-body {
  padding: 42px;
}

.login-header-block {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 132px;
  margin-bottom: 18px;
}

.login-title {
  color: #102f9a;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-subtitle {
  color: #e93c05;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-subtitle-small {
  color: #68758d;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.login-input-wrap {
  position: relative;
  margin-bottom: 18px;
}

.login-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #102f9a;
  z-index: 2;
}

.login-input {
  width: 100%;
  border: 2px solid #dfe5f5;
  border-radius: 10px;
  padding: 13px 46px;
  color: #27334c;
  font-weight: 700;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.login-input:focus {
  border-color: #102f9a;
  box-shadow: 0 0 0 4px rgba(16, 47, 154, .12);
}

.toggle-password {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #68758d;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.toggle-password:hover {
  background: #f1f4ff;
  color: #102f9a;
}

.login-btn {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #102f9a;
  color: #ffffff;
  font-weight: 800;
  padding: 14px 22px;
  overflow: hidden;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 18px rgba(16, 47, 154, .26);
}

.login-btn:hover {
  background: #e93c05;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(233, 60, 5, .24);
}

.login-security {
  margin-top: 20px;
  background: rgba(16, 47, 154, .07);
  border: 1px solid rgba(16, 47, 154, .14);
  border-radius: 12px;
  padding: 13px 15px;
  color: #59677d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

.login-security i {
  color: #102f9a;
  margin-right: 6px;
}

.login-footer {
  text-align: center;
  color: #7b879a;
  font-size: 13px;
  margin-top: 26px;
}

.status-pill {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: .84rem;
  font-weight: 800;
  background: #e9eefc;
  color: #082997;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.status-new {
  background: #fff1e8;
  color: #b63b09;
}

.status-contacted {
  background: #eaf1ff;
  color: #1749b7;
}

.status-quoted {
  background: #eef4ff;
  color: #102f9a;
}

.status-sold {
  background: #e8fff1;
  color: #14713f;
}

.status-lost {
  background: #f2f4f8;
  color: #667085;
}

.plan-card {
  border: 1px solid #e2e8f5;
  border-radius: 8px;
  padding: 18px;
  height: 100%;
  background: #ffffff;
}

.plan-card strong {
  color: #082997;
}

.plan-label {
  display: inline-block;
  color: #102f9a;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.plan-price {
  color: #e93c05;
  font-size: 1.65rem;
  font-weight: 900;
  margin: 14px 0 8px;
}

.plan-price small {
  color: #7a879b;
  font-size: .85rem;
  margin-left: 2px;
}

.quote-detail-summary {
  background: #ffffff;
  border: 1px solid #e7ebf6;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(8, 41, 151, .08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
  overflow: hidden;
}

.quote-detail-summary div {
  padding: 18px;
  border-right: 1px solid #edf1fb;
}

.quote-detail-summary div:last-child {
  border-right: 0;
}

.quote-detail-summary span {
  color: #748199;
  display: block;
  font-weight: 800;
  font-size: .8rem;
  margin-bottom: 7px;
}

.quote-detail-summary strong {
  color: #102f9a;
  display: block;
}

.detail-card {
  padding: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-item {
  background: #f8faff;
  border: 1px solid #e6ecfa;
  border-radius: 8px;
  padding: 15px;
}

.detail-wide {
  grid-column: 1 / -1;
}

.detail-item span,
.detail-notes span {
  color: #6a778f;
  display: block;
  font-size: .82rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.detail-item strong {
  color: #27334c;
  overflow-wrap: anywhere;
}

.detail-item a {
  color: #102f9a;
  text-decoration: none;
}

.vehicle-panel {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #f8faff;
  border: 1px solid #e6ecfa;
  border-radius: 8px;
  padding: 18px;
}

.vehicle-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(16, 47, 154, .10);
  color: #102f9a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex: 0 0 auto;
}

.vehicle-panel h3 {
  color: #102f9a;
  margin: 0 0 4px;
}

.vehicle-panel p {
  color: #6b7890;
  margin: 0 0 8px;
}

.vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vehicle-tags span {
  background: #ffffff;
  border: 1px solid #dfe6f5;
  border-radius: 999px;
  color: #34425c;
  font-weight: 800;
  padding: 6px 10px;
}

.detail-notes {
  margin-top: 14px;
  background: #fffaf7;
  border: 1px solid #f5ded0;
  border-radius: 8px;
  padding: 15px;
}

.detail-notes p {
  color: #36435a;
  margin: 0;
}

.quick-actions {
  display: grid;
  gap: 10px;
}

.quick-actions a {
  background: #f8faff;
  border: 1px solid #e6ecfa;
  border-radius: 8px;
  color: #102f9a;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  padding: 13px 14px;
  text-decoration: none;
}

.quick-actions a:hover {
  background: #102f9a;
  color: #ffffff;
}

.commercial-box {
  background: linear-gradient(135deg, #102f9a, #1971e4);
  border-radius: 8px;
  color: #ffffff;
  padding: 20px;
}

.commercial-box span {
  color: rgba(255, 255, 255, .78);
  display: block;
  font-weight: 800;
}

.commercial-box strong {
  color: #ffffff;
  display: block;
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 8px 0;
}

.commercial-box p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

@media (max-width: 767px) {
  .quote-form,
  .quote-side {
    padding: 18px;
  }

  .quote-hero {
    padding: 54px 0 46px;
  }

  .dashboard-title-wrap {
    align-items: flex-start;
  }

  .dashboard-title-wrap img {
    width: 72px;
  }

  .dashboard-title-wrap h1 {
    font-size: 1.45rem;
  }

  .dashboard-action {
    flex: 1 1 auto;
    justify-content: center;
  }

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

  .quote-detail-summary div {
    border-right: 0;
    border-bottom: 1px solid #edf1fb;
  }

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

  .vehicle-panel {
    align-items: flex-start;
  }
}
