/* Checkout Preview Page Styles */
.checkout-preview-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

.checkout-preview-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
}

.checkout-preview-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.checkout-preview-header h1 {
  margin: 0;
  font-size: 2.5em;
  font-weight: 300;
}

.checkout-preview-header p {
  margin: 10px 0 0 0;
  opacity: 0.9;
  font-size: 1.1em;
}

.checkout-preview-content {
  padding: 30px;
}

.checkout-preview-section {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  background: #f8f9fa;
}

.checkout-preview-section h2 {
  margin-top: 0;
  color: #495057;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.checkout-preview-order-summary {
  background: #e8f4fd;
  border-color: #bee5eb;
}

.checkout-preview-redirect-info {
  background: #fff3cd;
  border-color: #ffeaa7;
}

.checkout-preview-url-display {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 15px;
  margin: 15px 0;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #495057;
}

.checkout-preview-param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}

.checkout-preview-param-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: white;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.checkout-preview-param-label {
  font-weight: 600;
  color: #495057;
}

.checkout-preview-param-value {
  color: #6c757d;
  text-align: right;
}

.checkout-preview-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.checkout-preview-button:hover {
  transform: translateY(-2px);
}

.checkout-preview-button-secondary {
  background: #6c757d;
  margin-left: 10px;
}

.checkout-preview-instructions {
  background: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.checkout-preview-instructions ul {
  margin: 15px 0;
  padding-left: 20px;
}

.checkout-preview-instructions li {
  margin-bottom: 8px;
}

.checkout-preview-price-display {
  font-size: 1.5em;
  font-weight: bold;
  color: #28a745;
  text-align: center;
  margin: 20px 0;
}

.checkout-preview-button-container {
  text-align: center;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .checkout-preview-param-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-preview-header h1 {
    font-size: 2em;
  }
  
  .checkout-preview-content {
    padding: 20px;
  }
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Artist's Feedback Section */
.feedback-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.feedback-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #E1DFD7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feedback-option:hover,
.feedback-option.selected {
  border-color: #807C6F;
  background-color: #F5F3EB;
}

.feedback-option input[type="radio"] {
  margin-right: 10px;
  accent-color: #807C6F;
}

.feedback-option label {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #2C301F;
  cursor: pointer;
}

.feedback-input-section {
  margin-top: 15px;
}

.feedback-input-section textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 100px;
}

.feedback-input-section textarea:focus {
  outline: none;
  border-color: #4a90e2;
}

.character-count {
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.feedback-error {
  color: white;
  font-size: 12px;
  margin-top: 5px;
}

.error-feedback {
  border-color: #ff6b6b !important;
}

body {
  font-family: 'Georgia', serif;
  background-color: white;
  color: #333;
}

/* Alert styles */
.alert {
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Upload container */
.portrait-upload-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 20px;
  background: #F5F3EB;
}

.portrait-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.upload-section {
  background: transparent;
  height: 100%;
}

/* Page title */
.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h1 {
  font-size: 42px;
  color: #2c2c2c;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 0;
}

/* Upload area */
.upload-area {
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  margin-bottom: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  word-break: break-word;
}

/* Image preview in upload area */
.upload-image-preview {
  width: 300px;
  /* height: 168.75px; /* 16:9 aspect ratio (200 * 9/16) */
  object-fit: fill;
  object-position: center;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none; /* Hidden by default */
  max-width: 100%;
}

.upload-area.has-image .upload-image-preview {
  display: block;
}

.upload-area h2 {
  font-size: 20px;
  line-height: 110%;
  color: #333;
  margin-bottom: 25px;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
}

.upload-icon {
  font-size: 32px;
  color: #666;
  margin-bottom: 15px;
  display: block;
}

.upload-icon-image {
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.7;
}

.upload-area p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.upload-area:hover {
  border-color: #999;
  background-color: #fafafa;
}

/* Form styles */
.file-input {
  display: none;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  margin-bottom: 12px;
  color: #000;
  font-size: 18px;
  font-weight: normal;
  line-height: 130%;
  font-family: 'Arbutus Slab', serif;
}

.form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #999;
}

/* Submit button */
.form-actions {
  margin-bottom: 30px;
}

.submit-btn {
  background: #2C301F;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  width: 160px;
  height: 52px;
  transition: all 0.2s ease;
}



.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.submit-btn:disabled:hover {
  background: #ccc;
  transform: none;
}

/* Shipping info */
.shipping-info {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #2C301F;
  font-size: 14px;
  line-height: 20px;
  justify-content: start;
  font-family: 'Lato', sans-serif;
}

.shipping-icon {
  height: 32px;
  width: 32px;
}

.truck-icon {
  height: 13px;
  width: 18px;
}

/* Portrait display styles */
.portrait-display-container {
  max-width: 500px;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-out;
}

.portrait-frame {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-bottom: 30px;
  border: 8px solid #f8f9fa;
}

.portrait-image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.portrait-text {
  padding: 30px;
  color: white;
  text-align: center;
}

.text-line {
  font-size: 1.3em;
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.text-line:last-child {
  margin-bottom: 0;
}

.first-line {
  font-weight: 600;
}

.second-line {
  opacity: 0.9;
}

/* Actions */
.portrait-actions {
  text-align: center;
}

.create-another-btn {
  display: inline-block;
  padding: 15px 30px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.create-another-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
  text-decoration: none;
  color: #667eea;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Portrait Show Page Styles */
.portrait-display {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  background: #f5f5f5;
  min-height: 100vh;
}

.portrait-frame {
  display: inline-block;
  background: #1a1a1a;
  padding: 25px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid #333;
}

.portrait-content {
  background: white;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 20px;
  padding-bottom: 10px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #e0e0e0;
}

.portrait-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

/* Format-specific styles for portrait vs landscape images */
.portrait-image.portrait-format {
  max-height: 600px;
  object-fit: contain;
}

.portrait-image.landscape-format {
  max-width: 100%;
  object-fit: contain;
}

/* Format-specific styles for portrait-content frames */
.portrait-content.portrait-format {
  /* Portrait frame - taller than wide */
  aspect-ratio: 4/5;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portrait-content.landscape-format {
  /* Landscape frame - wider than tall */
  aspect-ratio: 4/3;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Portrait images within portrait-content frames */
.portrait-content.portrait-format .portrait-image {
  background-color: white;
  max-width: 100%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: auto;
  flex-shrink: 1;
}

.portrait-content.landscape-format .portrait-image {
  background-color: white;
  max-width: 100%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: auto;
}

/* Style images also get format classes */
.style-image.portrait-format {
  max-height: 200px;
  object-fit: contain;
}

.style-image.landscape-format {
  max-width: 200px;
  max-height: 150px;
  object-fit: contain;
}

/* Format-specific styles for style-preview containers */
.style-preview.portrait-format {
  /* Portrait preview - taller than wide */
  aspect-ratio: 4/5;
  min-height: 120px;
}

.style-preview.landscape-format {
  /* Landscape preview - wider than tall */
  aspect-ratio: 4/3;
  min-height: 90px;
}

.portrait-text {
  text-align: center;
  margin-top: auto;
  padding: 10px;
}

.line-one {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.line-two {
  font-family: 'Georgia', serif;
  font-size: 12px;
  color: #000000;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.action-section {
  margin-top: 40px;
}

.create-another-btn {
  display: inline-block;
  background: #2c2c2c;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.create-another-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

/* Loading states */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-content p {
  margin: 20px 0 10px 0;
  font-size: 18px;
  font-weight: 500;
}

.loading-subtext {
  font-size: 14px !important;
  opacity: 0.8;
  font-weight: normal !important;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-left: 8px;
}

.loading-spinner-large {
  width: 40px;
  height: 40px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn.loading:hover {
  background-color: #5a6c57 !important;
}

/* Loading and processing overlays */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: white;
  padding: 40px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.9);
}

.loading-content p {
  font-size: 18px;
  margin: 20px 0 0 0;
  font-family: 'Lato', sans-serif;
}

.loading-subtext {
  font-size: 14px !important;
  opacity: 0.8;
  margin-top: 10px !important;
}

.processing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 243, 235, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  z-index: 100;
}

.processing-content {
  text-align: center;
  color: #2C301F;
  padding: 20px;
}

.processing-content p {
  font-size: 16px;
  margin: 15px 0 0 0;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
}

.processing-content .loading-subtext {
  font-size: 14px !important;
  opacity: 0.7;
  margin-top: 8px !important;
}

/* Style feedback */
.style-feedback {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(44, 48, 31, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  z-index: 50;
  animation: fadeInUp 0.3s ease-out;
}

.feedback-cached {
  color: #4CAF50;
}

.feedback-processed {
  color: #2196F3;
}

.feedback-error {
  color: white;
  font-weight: 600;
}

.error-feedback {
  background: rgba(244, 67, 54, 0.9) !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Preview section positioning */
.preview-section {
  position: relative;
  display: block;
  justify-content: center;
  align-items: center;
  background-color: #F5F3EB;
  padding: 60px 40px;
  border-radius: 8px;
}

/* Responsive design */
@media (max-width: 950px) {
  .portrait-upload-container {
    margin: 0 auto;
    padding: 20px;
  }
  
  .portrait-form {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .page-title {
    margin-bottom: 30px;
  }
  
  .page-title h1 {
    font-size: 28px;
  }
  
  .upload-section {
    padding: 30px 20px;
    border-radius: 12px;
  }
  
  .upload-area {
    padding: 40px 20px;
    margin-bottom: 30px;
  }
  
  .upload-area h2 {
    size: 20px;
    line-height: 110%;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-actions {
    margin-bottom: 25px;
  }

  .portrait-frame {
    padding: 15px;
  }
  
  .portrait-content {
    padding: 25px;
  }
  
  .line-one {
    font-family: 'Dancing Script', cursive;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
  }
  
  .line-two {
    font-size: 10px;
    letter-spacing: 1px;
  }
}

/* Style Selection Page */
.style-selection-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: white;
  min-height: 100vh;
}

.step-header {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #F5F3EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arbutus Slab', serif;
  font-weight: 700;
  font-size: 24px;
  color: #2C301F;
  flex-shrink: 0;
}

.step-header h1 {
  font-family: 'Arbutus Slab', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 58px;
  letter-spacing: -1.6px;
  color: #2C301F;
  margin: 0;
}

.style-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.preview-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F5F3EB;
  padding: 30px 20px;
  border-radius: 8px;
}

.portrait-frame {
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.portrait-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 2px;
  object-fit: contain;
  object-position: center;
}

.portrait-text {
  background-color: white;
  padding: 20px;
  text-align: center;
  margin-top: 10px;
  border-radius: 2px;
}

/* Ensure portrait content has proper layout in style selection */
.style-content .portrait-content {
  background-color: white;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 5/4;
}

/* Format-specific styles for style selection portrait-content */
.style-content .portrait-content.portrait-format {
  aspect-ratio: 4/5;
  max-width: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.style-content .portrait-content.landscape-format {
  aspect-ratio: 4/3;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Make portrait image take most of the space */
.style-content .portrait-image {
  display: block;
  border-radius: 2px;
  object-position: center;
  background-color: white;
}

/* Format-specific styles for style selection portrait images */
.style-content .portrait-image.portrait-format {
  max-width: 100%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: auto;
  flex-shrink: 1;
}

.style-content .portrait-image.landscape-format {
  max-width: 100%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: auto;
}

/* Minimal padding for text in style selection */
.style-content .portrait-text {
  background-color: white;
  padding: 8px 12px;
  text-align: center;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.text-line-one {
  font-family: 'Dancing Script', cursive;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.2;
}

.text-line-two {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.style-options {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 10px;
}

.style-option {
  text-align: center;
  cursor: pointer;
  padding: 20px 20px 0 20px;
  border-radius: 8px;
  border: 1px solid #E1DFD7;
  transition: all 0.3s ease;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.style-option:hover {
  border-color: #807C6F;
}

.style-option.selected {
  border-color: #807C6F;
  background-color: #F5F3EB;
}

.style-preview {
  width: 120px;
  height: 90px;
  margin: 0 auto 15px auto;
  border: 2px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.style-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Format-specific styles for style grid images */
.style-image.portrait-format {
  object-fit: contain;
  max-height: 100%;
}

.style-image.landscape-format {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* Format-specific styles for style grid containers */
.style-option .style-preview.portrait-format {
  aspect-ratio: 4/5;
  min-height: 120px;
}

.style-option .style-preview.landscape-format {
  aspect-ratio: 4/3;
  min-height: 90px;
}

.style-name {
  font-family: 'Arbutus Slab', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.9px;
  text-align: center;
  color: #2C301F;
  padding: 15px 0 20px 0;
  margin-top: auto;
}

/* Original Style Section - simple text-based option */
.original-style-section {
  margin-bottom: 30px;
  text-align: center;
}

.original-style-option-wrapper {
  display: inline-block;
}

.original-style-option {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #2C301F;
  cursor: pointer;
  padding: 15px 30px;
  border: 2px solid #807C6F;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: white;
  display: inline-block;
}

.original-style-option:hover {
  background-color: #F5F3EB;
  transform: translateY(-2px);
}

.original-style-option.selected {
  border-color: #2C301F;
  background-color: #F5F3EB;
}

.continue-section {
  margin-top: 40px;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.back-to-start-btn,
.continue-btn {
  font-family: 'Lato', sans-serif;
  padding: 15px 30px;
  border: 2px solid #807C6F;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-to-start-btn {
  background-color: white;
  color: #6c757d;
  border-color: #6c757d;
}

.back-to-start-btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.continue-btn {
  background-color: #2C301F !important;
  color: white !important;
  border-color: #2C301F !important;
}

.continue-btn:hover {
  background-color: #1a1d13 !important;
  transform: translateY(-2px);
}

.continue-btn:disabled {
  background-color: #ccc !important;
  color: white !important;
  border-color: #ccc !important;
  cursor: not-allowed;
  transform: none;
}

.shipping-info {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #2C301F;
  font-size: 14px;
  line-height: 20px;
  justify-content: center;
  font-family: 'Lato', sans-serif;
}

.back-to-start-btn {
  background-color: white;
  color: #6c757d;
  border-color: #6c757d;
}

.back-to-start-btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}



.continue-btn {
  background-color: #2C301F !important;
  color: white !important;
  border-color: #2C301F !important;
}

.continue-btn:hover {
  background-color: #1a1d13 !important;
  transform: translateY(-2px);
}

.continue-btn:disabled {
  background-color: #ccc !important;
  color: white !important;
  border-color: #ccc !important;
  cursor: not-allowed;
  transform: none;
}

.shipping-info {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #2C301F;
  font-size: 14px;
  line-height: 20px;
  justify-content: start;
  font-family: 'Lato', sans-serif;
}

/* Style Selection Responsive */
@media (max-width: 950px) {
  .style-selection-container {
    padding: 20px 0;
  }
  
  .step-header {
    padding: 0 20px;
    margin-bottom: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .step-header h1 {
    font-size: 24px;
  }
  
  .format-selection {
    margin-left: 0;
    width: 100%;
  }
  
  .style-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .preview-section {
    padding: 40px 20px;
    margin: 0 20px;
  }
  
  .portrait-frame {
    max-width: 300px;
  }
  
  .style-options {
    padding: 10px 0;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
  }
  
  .style-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
  }
  
  .style-option {
    background-color: white;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .style-preview {
    width: 100px;
    height: 75px;
    margin: 0 auto 15px auto;
    border-radius: 8px;
    border: 1px solid #ddd;
  }
  
  .style-name {
    font-size: 14px;
    font-weight: 500;
  }
  
  .original-style-section {
    padding: 0 20px;
    margin-bottom: 20px;
  }
  
  .original-style-option-wrapper {
    display: block;
    width: 100%;
  }
  
  .continue-section {
    padding: 0 20px;
    margin-top: 20px;
  }
  
  .back-to-start-btn,
  .continue-btn {
    width: 100%;
    margin-bottom: 10px;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .button-row {
    flex-direction: column;
    align-items: center;
  }
  
  .original-style-option {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  
  .continue-btn {
    margin-bottom: 15px;
  }
  
  .shipping-info {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .style-selection-container {
    padding: 15px 0;
  }
  
  .step-header {
    padding: 0 15px;
    margin-bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .step-header h1 {
    font-size: 22px;
  }
  
  .format-selection {
    margin-left: 0;
    width: 100%;
  }
  
  .format-options {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .format-option {
    padding: 12px;
    font-size: 14px;
  }
  
  .preview-section {
    padding: 30px 15px;
    margin: 0 15px;
    margin-bottom: 25px;
  }
  
  .portrait-frame {
    max-width: 280px;
  }
  
  .style-grid {
    padding: 0 15px;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .style-option {
    padding: 15px 12px;
  }
  
  .style-preview {
    width: 90px;
    height: 68px;
  }
  
  .original-style-section {
    padding: 0 15px;
    margin-bottom: 20px;
  }
  
  .original-style-option-wrapper {
    display: block;
    width: 100%;
  }
  
  .continue-section {
    padding: 0 15px;
  }
  
  .original-style-option {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  
  .continue-btn {
    padding: 16px;
    font-size: 16px;
  }
}

/* Photo Details Page */
.photo-details-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: white;
}

.step-header {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #F5F3EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arbutus Slab', serif;
  font-weight: 700;
  font-size: 24px;
  color: #2C301F;
  flex-shrink: 0;
}

.step-header h1 {
  font-family: 'Arbutus Slab', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 58px;
  letter-spacing: -1.6px;
  color: #2C301F;
  margin: 0;
}

.details-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Preview section */
.preview-section {
  display: block;
  justify-content: center;
  align-items: center;
  background-color: #F5F3EB;
  padding: 30px 20px;
  border-radius: 8px;
}

.portrait-frame {
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
}

.portrait-content {
  background-color: white;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 5/4;
  position: relative;
}

.portrait-image {
  display: block;
  border-radius: 2px;;
  object-position: center;
}

.portrait-text {
  background-color: white;
  padding: 8px 12px;
  text-align: center;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.text-line-one {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.text-line-two {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #666;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.details-options {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
  margin-bottom: 30px;
}

.product-info h2 {
  font-family: 'Arbutus Slab', serif;
  font-size: 28px;
  font-weight: 400;
  color: #2C301F;
  margin: 0 0 10px 0;
}

.product-info .price {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2C301F;
}

.option-section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.option-section:last-of-type {
  border-bottom: none;
}

.option-section h3 {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #2C301F;
  margin: 0 0 20px 0;
}

/* Size Options */
.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.size-option {
  text-align: center;
  cursor: pointer;
  border: 2px solid #E1DFD7;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.size-option:hover,
.size-option.selected {
  border-color: #807C6F;
}

.size-preview {
  width: 100%;
  margin-bottom: 15px;
  background-color: #f8f8f8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.size-preview img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.size-label {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2C301F;
}

/* Format Selection */
.format-selection {
  margin-left: auto;
}

.format-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.format-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #E1DFD7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.format-option:hover,
.format-option.selected {
  border-color: #807C6F;
  background-color: #F5F3EB;
}

.format-option input[type="radio"] {
  margin-right: 10px;
  accent-color: #807C6F;
}

.format-option label {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #2C301F;
  cursor: pointer;
}

/* Framing Options */
.framing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.framing-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 2px solid #E1DFD7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.framing-option:hover,
.framing-option.selected {
  border-color: #807C6F;
  background-color: #F5F3EB;
}

.framing-option input[type="radio"] {
  margin-right: 10px;
  accent-color: #807C6F;
}

.framing-option label {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #2C301F;
  cursor: pointer;
}

/* Frame Styles */
.frame-styles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.frame-style {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 2px solid #E1DFD7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.frame-style:hover,
.frame-style.selected {
  border-color: #807C6F;
  background-color: #F5F3EB;
}

.frame-sample {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  border-radius: 4px;
  object-fit: fill;
  object-position: center;
  display: block;
}

.style-info {
  flex: 1;
}

.style-name {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #2C301F;
}

/* Pricing Section */
.pricing-section {
  margin: 30px 0;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.price-line {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2C301F;
  margin-bottom: 5px;
}

.shipping-note {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #666;
}

/* Action Section */
.action-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.back-btn,
.next-btn {
  font-family: 'Lato', sans-serif;
  padding: 15px 30px;
  border: 2px solid #807C6F;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn {
  background-color: white;
  color: #807C6F;
}

.back-btn:hover {
  background-color: #F5F3EB;
}

.next-btn {
  background-color: #807C6F;
  color: white;
}

.next-btn:hover {
  background-color: #6d6a5e;
}

.delivery-info {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #666;
  gap: 8px;
}

.delivery-icon {
  font-size: 16px;
}

/* Portrait Frame Styles for Preview */
.portrait-frame.frame-matte-black {
  background: #2c2c2c;
}

.portrait-frame.frame-white {
  background: #f8f8f8;
  border: 1px solid #ddd;
}

.portrait-frame.frame-birch {
  background: linear-gradient(45deg, #f4e6d3 0%, #e8d5b7 100%);
  border: none;
}

.portrait-frame.frame-walnut {
  background: linear-gradient(45deg, #8b4513 0%, #654321 100%);
  border: none;
}

.portrait-frame.no-frame {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* Remove height constraints to prevent image cutoff */

/* Photo Details Responsive */
@media (max-width: 950px) {
  .photo-details-container {
    padding: 20px 15px;
  }
  
  .details-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .preview-section {
    padding: 30px 15px;
    margin: 0;
  }
  
  .details-options {
    padding: 30px 20px;
  }
  
  .size-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .size-option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 15px;
    text-align: left;
  }
  
  .size-preview {
    width: 60px;
    height: 60px;
    margin: 0;
    overflow: hidden;
  }
  
  .size-preview img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
  }
  
  .action-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .back-btn,
  .next-btn {
    padding: 18px;
    font-size: 16px;
  }
  
  .shipping-info {
    font-size: 14px;
  }
}

/* HORIZONTAL LAYOUT TO MATCH PROVIDED IMAGE */
.portrait-upload-container-horizontal {
  max-width: 900px;
  margin: 60px auto;
  padding: 0;
  background-color: #f0f0f0;
}

.portrait-form-horizontal {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-content-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

/* Left side - Upload area */
.upload-section-left {
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  border-right: 1px solid #e9ecef;
}

.upload-area-horizontal {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area-horizontal:hover {
  transform: translateY(-2px);
}

.upload-area-horizontal h2 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 16px;
}

.upload-area-horizontal .upload-icon {
  font-size: 32px;
  color: #666;
  margin-bottom: 0;
}

/* Right side - Form fields */
.form-section-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-size: 28px;
  font-weight: 400;
  color: #000;
  margin-bottom: 32px;
  text-align: left;
  font-family: 'Arbutus Slab', serif;
  line-height: 120%;
}

.form-group-horizontal {
  margin-bottom: 24px;
}

.form-label-horizontal {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-input-horizontal {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Georgia', serif;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.form-input-horizontal:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-actions-horizontal {
  margin: 24px 0 16px 0;
}

.submit-btn-horizontal {
  padding: 14px 28px;
  background-color: #2d4a2f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Georgia', serif;
}

.submit-btn-horizontal:hover {
  background-color: #1a2e1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 74, 47, 0.3);
}

.shipping-info-horizontal {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.shipping-info-horizontal .shipping-icon {
  margin-right: 6px;
}

/* Hide the file input */
.file-input {
  display: none;
}

/* Error messages */
.error-messages {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 20px;
  margin-bottom: 0;
}

.error-messages h4 {
  margin-bottom: 8px;
  font-size: 14px;
}

.error-messages ul {
  margin: 0;
  padding-left: 20px;
}

.error-messages li {
  font-size: 13px;
  margin-bottom: 4px;
}

/* Mobile responsive */
@media (max-width: 950px) {
  .portrait-upload-container-horizontal {
    margin: 20px;
  }
  
  .form-content-horizontal {
    grid-template-columns: 1fr;
  }
  
  .upload-section-left {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 40px 20px;
  }
  
  .form-section-right {
    padding: 30px 20px;
  }
  
  .form-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
}

/* Waiting Page Styles */
.waiting-container {
  background: linear-gradient(135deg, #F5F3EB 0%, #E1DFD7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Lato', sans-serif;
}

.waiting-content {
  max-width: 600px;
  width: 100%;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(44, 48, 31, 0.1);
  text-align: center;
}

.waiting-header {
  margin-bottom: 40px;
}

.waiting-title {
  font-family: 'Arbutus Slab', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2C301F;
  margin-bottom: 10px;
  line-height: 1.2;
}

.waiting-subtitle {
  font-size: 1.1rem;
  color: #807C6F;
  font-weight: 300;
}

.processing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 30px;
}

.house-preview {
  flex-shrink: 0;
}

.house-preview-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(44, 48, 31, 0.15);
}

.processing-animation {
  display: flex;
  align-items: center;
}

.processing-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #667eea;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.styles-progress {
  margin: 0;
}

.styles-title {
  font-family: 'Arbutus Slab', serif;
  font-size: 1.3rem;
  color: #2C301F;
  margin: 0 0 15px 0;
  text-align: left;
}

.style-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.style-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background: #F8F7F4;
  border-radius: 8px;
  border: 2px solid #E1DFD7;
  transition: all 0.3s ease;
}

.style-item.completed {
  background: #F0F8F0;
  border-color: #4CAF50;
}

.style-icon {
  flex-shrink: 0;
  margin-right: 15px;
}

.style-icon-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.style-info {
  flex: 1;
  text-align: left;
}

.style-name {
  font-weight: 600;
  color: #2C301F;
  font-size: 1rem;
  width: 120px;
  text-align: left;
}

.style-status {
  font-size: 0.9rem;
  color: #807C6F;
  font-weight: 400;
  text-align: center;
  flex: 1;
}

.style-status.complete {
  color: #4CAF50;
  font-weight: 600;
}

.style-check {
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.style-check.visible {
  opacity: 1;
  transform: scale(1);
}

.check-icon {
  width: 24px;
  height: 24px;
  color: #4CAF50;
}

.waiting-message {
  margin-top: 30px;
  margin-bottom: 30px;
}

.waiting-message p {
  color: #807C6F;
  font-size: 0.95rem;
  font-style: italic;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #E1DFD7;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 4px;
}

.refresh-button {
  background: #E67E22;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.refresh-button:hover {
  background: #D35400;
}

/* Error State */
.error-message {
  text-align: center;
  padding: 40px 20px;
}

.error-icon {
  margin-bottom: 20px;
}

.error-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.8rem;
  color: #2C3E50;
  margin-bottom: 12px;
}

.error-detail {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  color: #7F8C8D;
  margin-bottom: 8px;
}

.error-suggestion {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #95A5A6;
  margin-bottom: 30px;
}

.try-again-button {
  display: inline-block;
  background: #2C3E50;
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.try-again-button:hover {
  background: #1A252F;
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .waiting-content {
    padding: 30px 20px;
  }
  
  .waiting-title {
    font-size: 2rem;
  }
  
  .processing-visual {
    flex-direction: column;
    gap: 20px;
  }
  
  .style-item {
    padding: 12px;
  }
  
  .style-icon-image {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .waiting-title {
    font-size: 1.8rem;
  }
  
  .waiting-subtitle {
    font-size: 1rem;
  }
  
  .styles-title {
    font-size: 1.1rem;
  }
}
