/*
 * Main CSS for WC Request a Quote Pro (Free Features)
 * Responsive, theme-adaptive, and customizable via settings.
 */
.wc-rq-quote-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em 1em;
  background: var(--wc-rq-bg, #fff);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.wc-rq-quote-wrapper .wc-rq-quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}

.wc-rq-quote-wrapper .wc-rq-quote-table th,
.wc-rq-quote-wrapper .wc-rq-quote-table td {
  padding: 0.75em 0.5em;
  border-bottom: 1px solid var(--wc-rq-border, #eee);
  text-align: left;
}

.wc-rq-quote-wrapper .wc-rq-quote-table th {
  background: var(--wc-rq-th-bg, #f8f8f8);
  font-weight: 600;
}

.wc-rq-quote-wrapper .wc-rq-quote-table img {
  max-width: 60px;
  border-radius: 4px;
}

.wc-rq-quote-wrapper .wc-rq-remove-btn {
  background: none;
  border: none;
  color: var(--wc-rq-accent, #d32f2f);
  font-size: 1.2em;
  cursor: pointer;
}

.wc-rq-quote-wrapper .wc-rq-quote-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  background: var(--wc-rq-form-bg, #fafafa);
  padding: 1.5em 1em;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}

.wc-rq-quote-wrapper .wc-rq-quote-form label {
  width: 100%;
  font-weight: 500;
  margin-bottom: 0.25em;
}

.wc-rq-quote-wrapper .wc-rq-quote-form input,
.wc-rq-quote-wrapper .wc-rq-quote-form textarea {
  width: 100%;
  padding: 0.5em;
  border: 1px solid var(--wc-rq-border, #ddd);
  border-radius: 4px;
  font-size: 1em;
  background: #fff;
}

.wc-rq-quote-wrapper .wc-rq-quote-form textarea {
  min-height: 80px;
  resize: vertical;
}

.wc-rq-quote-wrapper .wc-rq-quote-form .wc-rq-form-group {
  flex: 1 1 220px;
  min-width: 180px;
}

.wc-rq-quote-wrapper .wc-rq-quote-form .wc-rq-form-actions {
  flex: 1 1 100%;
  text-align: right;
}

.wc-rq-quote-wrapper .wc-rq-request-quote-btn,
.wc-rq-quote-wrapper .wc-rq-quote-form button[type="submit"] {
  background: var(--wc-rq-accent, #0071a1);
  width:auto !important;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.75em 2em;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
}

.wc-rq-quote-wrapper .wc-rq-request-quote-btn:hover,
.wc-rq-quote-wrapper .wc-rq-quote-form button[type="submit"]:hover {
  background: var(--wc-rq-accent-hover, #005377);
}

@media (max-width: 600px) {
  .wc-rq-quote-wrapper .wc-rq-quote-table th,
  .wc-rq-quote-wrapper .wc-rq-quote-table td {
    font-size: 0.95em;
    padding: 0.5em 0.25em;
  }
  .wc-rq-quote-wrapper .wc-rq-quote-form {
    flex-direction: column;
    gap: 0.5em;
    padding: 1em 0.5em;
  }
}