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

/* ==========================================================================
   DIGITAL BULL — GET QUOTATION PAGE STYLESHEET
   Theme: Digital Bull Brand (Navy #00275b, Red #ea262a, Focus Blue #0055ff)
   ========================================================================== */

/* 1. HERO BANNER + BREADCRUMB */
.db-quote-hero {
  position: relative;
  background-color: #00275b;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(234, 38, 42, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(0, 85, 204, 0.26) 0%, transparent 50%),
    url('../img/breadcrumb.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3.75rem 0 3.15rem;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 3px solid #ea262a;
}

.db-quote-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 39, 91, 0.78);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.db-quote-hero-inner {
  position: relative;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.db-quote-hero-title {
  font-size: clamp(2.1rem, 4.2vw, 2.9rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.db-quote-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.db-quote-breadcrumb a,
.db-quote-breadcrumb .db-bc-muted {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.db-quote-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.db-quote-breadcrumb .db-bc-sep {
  color: rgba(255, 255, 255, 0.55);
}

.db-quote-breadcrumb .active {
  color: #ea262a;
  font-weight: 700;
}

/* 2. MAIN QUOTATION FORM SECTION */
.db-quote-section {
  padding: 4rem 0 5rem;
  background-color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.db-quote-wrap {
  max-width: 960px;
  margin: 0 auto;
}

/* Form Controls */
.db-quote-input {
  width: 100%;
  height: 46px;
  padding: 0.625rem 0.95rem;
  font-size: 0.94rem;
  font-weight: 400;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.db-quote-input::placeholder {
  color: #64748b;
  opacity: 1;
}

.db-quote-input:focus {
  border-color: #0055ff;
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.12);
}

.db-quote-textarea {
  height: auto;
  min-height: 46px;
  line-height: 1.5;
  resize: vertical;
}

.db-quote-label {
  display: block;
  font-size: 0.94rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.5rem;
}

/* 3. RICH TEXT EDITOR BOX */
.db-rte-box {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.db-rte-box:focus-within {
  border-color: #0055ff;
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.12);
}

.db-rte-box.is-maximized {
  position: fixed;
  inset: 16px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 39, 91, 0.28);
}

.db-rte-box.is-maximized .db-rte-editor {
  flex: 1;
  max-height: none;
  resize: none;
}

.db-rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  background-color: #f8fafc;
  border-bottom: 1px solid #cbd5e1;
}

.db-rte-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background-color: #cbd5e1;
  margin: 0 6px;
}

.db-rte-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.db-rte-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.db-rte-btn:hover,
.db-rte-btn.is-active {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
  color: #00275b;
}

.db-rte-select {
  height: 28px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background-color: #ffffff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.db-rte-select:focus {
  border-color: #0055ff;
}

.db-rte-editor {
  min-height: 260px;
  max-height: 520px;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  overflow-y: auto;
  resize: vertical;
}

.db-rte-editor:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}

.db-rte-editor blockquote {
  margin: 0.5rem 0;
  padding: 0.4rem 0.9rem;
  border-left: 3px solid #00275b;
  background-color: #f8fafc;
  color: #334155;
}

.db-rte-editor table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.65rem 0;
}

.db-rte-editor th,
.db-rte-editor td {
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.65rem;
  min-width: 60px;
}

/* 4. SUBMIT BUTTON */
.db-quote-submit-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 6px;
  background-color: #ea262a;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.db-quote-submit-btn:hover {
  background-color: #d31e22;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 38, 42, 0.25);
}

.db-quote-submit-btn:active {
  transform: translateY(0);
}

.db-quote-submit-btn:disabled {
  opacity: 0.78;
  cursor: not-allowed;
  transform: none;
}

/* 5. SUCCESS BANNER */
.db-quote-success {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  border-left: 4px solid #059669;
  border-radius: 8px;
  color: #064e3b;
}

.db-quote-success-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.db-quote-success-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #059669;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.db-quote-success-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.db-quote-success-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #065f46;
}

.db-quote-success-text {
  font-size: 0.9rem;
  margin: 0;
  color: #064e3b;
}

@media (max-width: 767.98px) {
  .db-quote-section {
    padding: 2.75rem 0 3.5rem;
  }

  .db-rte-editor {
    min-height: 210px;
  }
}

