/* 스펙시트 PDF 모달 스타일 */
.specsheet-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.specsheet-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.specsheet-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.specsheet-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.specsheet-modal-header .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.specsheet-modal-header .close-btn:hover {
  background: #eee;
  color: #333;
}

.specsheet-modal-body {
  padding: 24px;
}

.spec-form-group {
  margin-bottom: 16px;
}

.spec-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-form-group input,
.spec-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.spec-form-group input:focus,
.spec-form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.spec-form-group input::placeholder,
.spec-form-group textarea::placeholder {
  color: #aaa;
}

.spec-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.specsheet-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.specsheet-modal-footer .btn-cancel {
  padding: 12px 24px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.specsheet-modal-footer .btn-cancel:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.specsheet-modal-footer .btn-download {
  padding: 12px 24px;
  border: none;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.specsheet-modal-footer .btn-download:hover {
  background: linear-gradient(135deg, #0056b3, #004094);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 제품 상세에 추가할 PDF 버튼 */
.btn-specsheet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-specsheet:hover {
  background: linear-gradient(135deg, #1e7e34, #155724);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-specsheet svg {
  width: 18px;
  height: 18px;
}

/* 반응형 */
@media (max-width: 600px) {
  .specsheet-modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .spec-form-row {
    grid-template-columns: 1fr;
  }
  
  .specsheet-modal-footer {
    flex-direction: column;
  }
  
  .specsheet-modal-footer button {
    width: 100%;
  }
}
