/* Memory Photo Wizard v3.0 - Professional Styles */

.mpw-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Title */
.mpw-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 10px;
}

.mpw-subtitle {
  text-align: center;
  color: #718096;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Progress Bar */
.mpw-progress {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 30px 0;
}

.mpw-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
}

/* Steps */
.mpw-step {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.mpw-step.active {
  display: block;
}

.mpw-step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Upload Box */
.mpw-upload-box {
  position: relative;
  border: 3px dashed #cbd5e0;
  border-radius: 16px;
  background: #f7fafc;
  padding: 60px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 30px;
}

.mpw-upload-box:hover,
.mpw-upload-box.dragover {
  border-color: #667eea;
  background: #edf2f7;
}

.mpw-upload-label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mpw-upload-icon {
  font-size: 3rem;
}

.mpw-upload-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5568;
}

.mpw-upload-hint {
  font-size: 0.875rem;
  color: #a0aec0;
}

#mpw-files {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  top: 0;
  left: 0;
}

/* Preview */
.mpw-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.mpw-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mpw-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mpw-remove-file {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}

.mpw-remove-file:hover {
  background: rgba(220, 38, 38, 0.9);
}

.mpw-file-count {
  text-align: center;
  color: #718096;
  margin-top: 15px;
  font-weight: 500;
}

/* Services */
.mpw-services {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mpw-service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mpw-service-item:hover {
  border-color: #667eea;
  background: #f7fafc;
}

.mpw-service-checkbox {
  margin-top: 5px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #667eea;
}

.mpw-service-content {
  flex: 1;
}

.mpw-service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mpw-service-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: #2d3748;
}

.mpw-service-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: #667eea;
}

.mpw-service-description {
  color: #718096;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Notes */
#mpw-notes {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s;
}

#mpw-notes:focus {
  outline: none;
  border-color: #667eea;
}

/* Summary */
.mpw-summary {
  background: #f7fafc;
  border-radius: 12px;
  padding: 30px;
}

.mpw-summary-section {
  margin-bottom: 25px;
}

.mpw-summary-section:last-child {