/* DIY Order Page Styles */

/* Page Container */
.diy-page-container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

/* Content Wrapper */
.diy-content-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}

/* Description Text */
.diy-description-text {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Divider */
.diy-divider {
  height: 1px;
  background-color: #eee;
  margin-bottom: 30px;
}

/* Step Indicator */
.diy-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.diy-step-item {
  flex: 1;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FCE4D6; /* Light orange for inactive */
  color: #333;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 0 20px;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%, 20px 50%);
}

.diy-step-item:first-child {
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%);
  padding-left: 0;
}

.diy-step-item:last-child {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 20px 50%);
  padding-right: 0;
}

.diy-step-item.active {
  background: var(--primary-orange);
  color: #fff;
}

/* Main Form Area */
.diy-form-container {
  background: transparent;
  padding: 0;
  border: none;
}

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

.form-section-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none; /* Removed border */
  padding-bottom: 0; /* Removed padding */
}

.shipping-calc-btn {
  font-size: 13px;
  color: var(--text-secondary);
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
}

/* Form Items */
.el-form-item__label {
  font-weight: bold;
  color: #333;
  padding-right: 12px;
}

/* Custom required asterisk styling */
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before, 
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before {
  color: #F56C6C;
  margin-right: 4px;
}

/* Fees Info */
.fees-info-section {
  margin-top: 30px;
}

.currency-input .el-input__wrapper {
  padding-left: 8px;
}

.upload-box {
  border: 1px dashed var(--border-color);
  border-radius: 4px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  background-color: #fff;
}

.upload-box:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.uploaded-image-preview {
  width: 100px; 
  height: 100px; 
  border-radius: 4px; 
  overflow: hidden;
  border: 1px solid #ddd;
}

.upload-tip {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  margin-bottom: 4px; /* Align visually with the box content or bottom */
  max-width: 200px;
}

/* Total Bar - Sticky Bottom or Fixed Layout */
.total-bar {
  margin-top: 30px;
  background: #F5F7FA;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0; /* Full width look */
}

.total-price-section {
  display: flex;
  align-items: center;
}

.total-price-section span {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.estimate-link {
  font-size: 12px;
  color: var(--primary-blue);
  text-decoration: underline;
  margin-left: 10px;
  cursor: pointer;
}

.action-buttons {
  display: flex;
  gap: 16px;
}

.btn-add-cart {
  border: 1px solid var(--primary-orange);
  color: var(--primary-orange);
  width: 140px;
  height: 44px;
  font-size: 16px;
  background: #fff;
  font-weight: bold;
}

.btn-buy-now {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #fff;
  width: 140px;
  height: 44px;
  font-size: 16px;
  font-weight: bold;
}

.btn-buy-now:hover {
  background: #E65100;
  border-color: #E65100;
}

/* Right Sidebar */
.info-box {
  background: #fff;
  padding: 0 0 20px 0;
  border-radius: 4px;
  margin-bottom: 20px;
}

.info-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

.info-content {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.info-content a {
  color: #145AFA;
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}
