@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* App.css - Complete Stylesheet for All Components */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FFFFFF;
  color: #1a1a1a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('https://cdn.shopify.com/s/files/1/0840/1154/8949/files/background_with_power_cord.png?v=1750278959');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  /* Desktop background image will be set via media query */
}
/* Desktop background image */
/*
@media (min-width: 1024px) {
  body {
    background-image: url('https://cdn.shopify.com/s/files/1/0840/1154/8949/files/background_with_power_cord.png?v=1750278959');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
}
*/
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.logo-image {
  width: 100%;
  object-fit: contain;
}
.page-title {
  color: #4f46e5; /* Indigo-600 */
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}
.form-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: #fafafa;
}
.form-input:focus {
  outline: none;
  border-color: #666;
  background: white;
}
.form-input::placeholder {
  color: #999;
}
.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background-color: #2d2d2d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 1rem;
}
.btn-primary:hover {
  background-color: #1a1a1a;
}
.btn-primary:active {
  transform: translateY(1px);
}
.help-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: #1a1a1a;
  font-size: 0.95rem;
  text-decoration: underline;
  cursor: pointer;
}
.help-link:hover {
  color: #666;
}
/* Product Selection Styles */
.subtitle {
  text-align: center;
  color: #666;
  font-size: 1.125rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.product-item {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}
.product-item:hover {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.product-item.selected {
  border-color: #2d2d2d;
  background: #f8f8f8;
}
.product-image {
  width: 150px;
  height: auto;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}
.product-image svg {
  width: 30px;
  height: 30px;
  color: #666;
}
.product-info {
  flex: 1;
}
.product-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.product-color {
  font-size: 0.95rem;
  color: #666;
}
.product-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.product-item.selected .product-checkbox {
  background: #2d2d2d;
  border-color: #2d2d2d;
}
.product-item.selected .product-checkbox::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.btn-secondary {
  flex: 1;
  padding: 16px 24px;
  background-color: #2d2d2d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-secondary:hover {
  background-color: #1a1a1a;
}
.btn-secondary:active {
  transform: translateY(1px);
}
/* Contact and Shipping Form Styles */
.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a1a;
}
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}
.form-section {
  margin-bottom: 2.5rem;
}
.form-section h3 {
  font-size: 1.375rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}
/* Responsive adjustments */
@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 1rem;
  }
}
/* Issue Form Styles */
.product-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}
.product-image-large {
  width: 150px;
  height: 150px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #e5e5e5;
}
.product-image-large svg {
  width: 50px;
  height: 50px;
  color: #666;
}
.product-details {
  flex: 1;
}
.product-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.product-subtitle {
  font-size: 1.125rem;
  color: #666;
}
/*
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: #fafafa;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

@media (max-width: 600px) {
  .form-select {
    appearance: auto !important;
    background: white !important;
    background-image: none !important;
    border-radius: 8px;
    box-shadow: none;
  }
}

.form-select:focus {
  outline: none;
  border-color: #666;
  background-color: white;
}
  

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: #fafafa;
  resize: vertical;
  min-height: 120px;
}

.form-textarea:focus {
  outline: none;
  border-color: #666;
  background: white;
}
  */
.file-upload-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.file-upload-button {
  padding: 12px 24px;
  background-color: white;
  color: #1a1a1a;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.file-upload-button:hover {
  border-color: #666;
  background-color: #f8f8f8;
}
.file-upload-text {
  color: #666;
  font-size: 1rem;
}
.hidden-file-input {
  display: none;
}
/* Review and Submit Styles */
.form-card-review {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 50%;
  width: 100%;
  margin: 0 auto;
}
.review-container {
  max-width: 680px;
  margin: 0 auto;
}
.review-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1a1a;
  margin-top: 0;
}
.order-info {
  text-align: center;
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e5e5;
}
.section-header {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}
.review-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.product-review-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-review-left {
 display: flex;
flex-direction: row;
gap: 2rem;
align-items: center;
}
.product-review-image {
  width: 120px;
  height: 120px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 2px solid #e5e5e5;
}
.product-review-image svg {
  width: 60px;
  height: 60px;
  color: #666;
}
.product-review-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.product-review-subtitle {
  font-size: 1rem;
  color: #666;
}
.product-review-right {
  flex: 1;
}
.review-detail {
  margin-bottom: 1rem;
}
.review-detail-label {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.review-detail-value {
  color: #666;
  font-style: italic;
  line-height: 1.5;
}
.attachment-link {
  color: #1a1a1a;
  text-decoration: underline;
  font-style: normal;
}
.customer-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  position: relative;
}
.customer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.customer-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
}
.edit-link {
  color: #1a1a1a;
  text-decoration: underline;
  font-size: 0.95rem;
  cursor: pointer;
}
.edit-link:hover {
  color: #666;
}
.customer-info {
  color: #333;
  line-height: 1.6;
}
.submit-section {
  text-align: center;
  margin-top: 3rem;
}
.btn-submit {
  width: 200px;
  padding: 16px 24px;
  background-color: #2d2d2d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 1rem;
}
.btn-submit:hover {
  background-color: #1a1a1a;
}
.back-link {
  display: inline-block;
  color: #666;
  text-decoration: underline;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 1rem;
}
.back-link:hover {
  color: #333;
}
/* Edit form in review */
.edit-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.edit-form input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}
.edit-form-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.edit-form-buttons button {
  padding: 6px 12px;
  font-size: 0.875rem;
  border-radius: 4px;
  cursor: pointer;
}
.btn-save {
  background-color: #2d2d2d;
  color: white;
  border: none;
}
.btn-cancel {
  background-color: white;
  color: #666;
  border: 1px solid #ccc;
}
@media (max-width: 640px) {
  .product-review-layout {
    flex-direction: column;
    gap: 1rem;
  }
  
  .product-review-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .product-review-image {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
  }
}
.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
/* Step indicator */
.step-indicator {
  text-align: center;
  margin-bottom: 10px;
  color: #666;
  font-size: 0.875rem;
}
/* Additional form styles for other steps */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}
/*form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  /*box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);*/
/*
  max-width: 600px;
  margin: 2rem auto;
} */
label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-top: 0.25rem;
}
input[type="file"] {
  margin-top: 0.5rem;
}
textarea {
  resize: vertical;
}
button {
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}
button:hover {
  background-color: #2563eb;
}
.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.review-field {
  margin-bottom: 1rem;
}
.review-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.edit-btn {
  background: none;
  border: none;
  font-size: 1rem;
  color: #3b82f6;
  cursor: pointer;
}
.edit-btn:hover {
  color: #1d4ed8;
}
img.preview {
  max-width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 6px;
}
#error {
  color: red;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
  .form-card {
    padding: 16px;
    border-radius: 12px;
  }

    .form-card-review {
    padding: 16px;
    border-radius: 12px;
    min-width: 100%;
  }

  .product-list {
    flex-direction: row;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .product-item {
    flex-direction: row;
    align-items: center;
    max-width: 480px;
    width: 100%;
  }

  .product-image {
    margin-bottom: 1rem;
  }
}