/* ===== QUOTE REQUEST SYSTEM ===== */

.op-quote-page {
  padding: var(--op-space-3xl) 0;
}

.op-quote-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--op-card);
  border-radius: var(--op-radius-lg);
  box-shadow: var(--op-shadow-md);
  padding: var(--op-space-2xl);
}

.op-quote-form-wrap h2 {
  text-align: center;
  margin-bottom: var(--op-space-sm);
}

.op-quote-form-wrap > p {
  text-align: center;
  color: var(--op-text-secondary);
  margin-bottom: var(--op-space-xl);
}

/* Pre-filled product info banner */
.op-quote-product-info {
  display: flex;
  align-items: center;
  gap: var(--op-space-md);
  padding: var(--op-space-md);
  background: var(--op-primary-light);
  border-radius: var(--op-radius);
  margin-bottom: var(--op-space-xl);
  border-left: 4px solid var(--op-primary);
}

.op-quote-product-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--op-radius);
}

.op-quote-product-info .product-name {
  font-weight: 600;
  color: var(--op-text);
}

.op-quote-product-info .product-sku {
  font-size: var(--op-text-sm);
  color: var(--op-text-secondary);
}

/* Form grid */
.op-quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--op-space-md);
}

.op-quote-form .full-width {
  grid-column: 1 / -1;
}

/* Form fields */
.op-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--op-space-xs);
}

.op-form-group label {
  font-size: var(--op-text-sm);
  font-weight: 600;
  color: var(--op-text);
}

.op-form-group label .required {
  color: var(--op-danger);
}

.op-form-group input,
.op-form-group select,
.op-form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  font-family: var(--op-font);
  font-size: var(--op-text-base);
  color: var(--op-text);
  background: var(--op-white);
  transition: border-color var(--op-transition), box-shadow var(--op-transition);
}

.op-form-group input:focus,
.op-form-group select:focus,
.op-form-group textarea:focus {
  outline: none;
  border-color: var(--op-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.op-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* File upload */
.op-file-upload {
  position: relative;
  padding: var(--op-space-lg);
  border: 2px dashed var(--op-border);
  border-radius: var(--op-radius);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--op-transition), background var(--op-transition);
}

.op-file-upload:hover {
  border-color: var(--op-primary);
  background: var(--op-primary-light);
}

.op-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.op-file-upload .upload-icon {
  font-size: 2rem;
  margin-bottom: var(--op-space-sm);
  color: var(--op-text-muted);
}

.op-file-upload .upload-text {
  color: var(--op-text-secondary);
  font-size: var(--op-text-sm);
}

.op-file-upload .upload-text strong {
  color: var(--op-primary);
}

/* Branding method checkboxes */
.op-branding-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--op-space-sm);
}

.op-branding-option {
  display: flex;
  align-items: center;
  gap: var(--op-space-xs);
  padding: 0.5rem 1rem;
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-full);
  cursor: pointer;
  transition: all var(--op-transition);
  font-size: var(--op-text-sm);
}

.op-branding-option:has(input:checked) {
  border-color: var(--op-primary);
  background: var(--op-primary-light);
  color: var(--op-primary);
}

.op-branding-option input {
  display: none;
}

/* Submit */
.op-quote-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: var(--op-space-md);
}

.op-quote-submit .op-btn {
  min-width: 240px;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: var(--op-text-lg);
}

/* Success message */
.op-quote-success {
  text-align: center;
  padding: var(--op-space-2xl);
}

.op-quote-success .success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--op-space-lg);
  background: #D1FAE5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-quote-success .success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--op-success);
}

.op-quote-success h3 {
  margin-bottom: var(--op-space-sm);
}

.op-quote-success p {
  color: var(--op-text-secondary);
  margin-bottom: var(--op-space-lg);
}

/* Responsive */
@media (max-width: 768px) {
  .op-quote-form {
    grid-template-columns: 1fr;
  }

  .op-quote-form-wrap {
    padding: var(--op-space-lg);
    margin: 0 var(--op-space-md);
  }

  .op-quote-product-info {
    flex-direction: column;
    text-align: center;
  }
}
