/* ═══════════════════════════════════
   POST RFQ CSS
   ═══════════════════════════════════ */
:root {
  --mp-red: #E53935;
  --mp-red-dark: #C62828;
  --text-dark: #ffffff;
  --text-gray: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.12);
  --bg-light: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
}

body { background: var(--bg-light) !important; font-family: 'Inter', sans-serif; }

.rfq-hero {
  background: linear-gradient(135deg, #1B5E20 0%, #0a3d0c 100%), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070') center/cover;
  background-blend-mode: overlay;
  color: #fff; padding: 4rem 0 6rem 0; text-align: center;
}
.rfq-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.rfq-subtitle { font-size: 1.1rem; color: #a5d6a7; max-width: 600px; margin: 0 auto; }

.rfq-container {
  margin-top: -3rem; position: relative; z-index: 10;
  padding-bottom: 4rem;
}

.rfq-card {
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(10px); border-radius: 16px; padding: 2.5rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--border-color);
}

.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 6px; }
.form-label .req { color: var(--mp-red); }
.form-control, .form-select {
  border-radius: 8px; border: 1px solid var(--border-color);
  padding: 12px 14px; transition: all 0.2s; background: rgba(255, 255, 255, 0.05); font-size: 0.95rem;
  color: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--mp-red); box-shadow: 0 0 0 4px rgba(229,57,53,0.1); outline: none;
}
.form-control::placeholder { color: #94A3B8; }

.upload-area {
  border: 2px dashed var(--border-color); border-radius: 12px;
  padding: 2rem; text-align: center; background: rgba(255, 255, 255, 0.02);
  cursor: pointer; transition: all 0.2s;
}
.upload-area:hover { border-color: var(--mp-red); background: rgba(229, 57, 53, 0.1); }
.upload-area i { font-size: 2rem; color: #94A3B8; margin-bottom: 10px; }
.upload-area input[type="file"] { display: none; }

.btn-red {
  background: var(--mp-red); color: #fff; padding: 14px 30px;
  border-radius: 8px; font-weight: 700; font-size: 1rem; border: none;
  transition: all 0.2s;
}
.btn-red:hover { background: var(--mp-red-dark); box-shadow: 0 4px 15px rgba(229,57,53,0.3); transform: translateY(-2px); }

/* How it works boxes */
.hiw-box {
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(10px); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 1.5rem; text-align: center;
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hiw-icon {
  width: 60px; height: 60px; background: #E8F5E9; color: #2E7D32;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.hiw-title { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.hiw-desc { font-size: 0.85rem; color: var(--text-gray); margin: 0; }

@media (max-width: 768px) {
  .rfq-hero { padding: 3rem 0 5rem 0; }
  .rfq-title { font-size: 1.8rem; }
  .rfq-card { padding: 1.5rem; }
}
