@import 'https://fonts.googleapis.com/css?family=Arapey|Comfortaa|Orbitron';
@font-face {
  font-family: digital;
  font-style: normal;
  src: url("../font/digital/digital.eot") format('eot'), url("../font/digital/digital.ttf") format('truetype'), url("../font/digital/digital.woff") format('woff');
}
@font-face {
  font-family: radioland;
  font-style: normal;
  src: url("../font/radioland/radioland.eot") format('eot'), url("../font/radioland/radioland.ttf") format('truetype'), url("../font/radioland/radioland.woff") format('woff');
}
@font-face {
  font-family: clubland;
  font-style: normal;
  src: url("../font/clubland/clubland.eot") format('eot'), url("../font/clubland/clubland.ttf") format('truetype'), url("../font/clubland/clubland.woff") format('woff'), url("../font/clubland/clubland.svg#clublandregular") format('svg');
}
@font-face {
  font-family: impact;
  font-style: normal;
  src: url("../font/impact/impact.eot") format('eot'), url("../font/impact/impact.ttf") format('truetype'), url("../font/impact/impact.woff") format('woff');
}
@font-face {
  font-family: priceboard-icon;
  font-style: normal;
  smoothing: antialiased;
  src: url("../font/icon/icomoon.eot") format('eot'), url("../font/icon/icomoon.otf") format('otf'), url("../font/icon/icomoon.ttf") format('truetype'), url("../font/icon/icomoon.woff") format('woff');
}
.input-price_inner {
  transform-origin: top center;
}
.component-price_board_editor,
.price_board_editor {
  width: 100%;
  height: 100%;
}
.component-price_board_editor button,
.price_board_editor button,
.component-price_board_editor input,
.price_board_editor input,
.component-price_board_editor select,
.price_board_editor select,
.component-price_board_editor optgroup,
.price_board_editor optgroup,
.component-price_board_editor textarea,
.price_board_editor textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}
.text_editor {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border: none;
  line-height: 1;
  text-align: center;
  background: transparent;
}
.editor {
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border: none;
  line-height: 1;
  background: transparent;
}
#price_board_layer {
  position: relative;
  z-index: 10;
}
#price_board_bg {
  overflow: hidden;
  height: 100%;
}
#price_board_bg img {
  width: auto;
  height: 100%;
}
.form_parts {
  position: absolute;
  cursor: pointer;
}
.form_parts.is-focus,
.form_parts:hover {
  background: rgba(0,0,0,0.2);
}
.form_parts[data-type^="input_text"] {
  overflow: hidden;
  text-align: right;
}
.form_parts[data-type^="input_text"].is-edit {
  background: rgba(0,0,0,0.2);
}
.form_parts[data-type^="check_box"] label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: rgba(255,255,255,0);
}
.form_parts[data-type^="check_box"] img {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  opacity: 0;
  display: none;
  width: 100%;
  height: 100%;
}
.form_parts[data-type^="check_box"] input {
  display: none;
}
.form_parts[data-value^=true] img {
  opacity: 1;
  display: block;
}
.is_cs_ls #price_board_bg img {
  width: 100%;
  height: auto;
}
.is_cs_ls #price_board_layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.is_cs_ls .component-price_board_editor {
  position: relative;
  overflow-x: auto;
}
.is_cs_ls #print-sample {
  min-height: 1px;
}
.form_uploader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  transition: all ease 0.3s;
  height: 100%;
}
.form_uploader:hover label:before {
  color: #666;
}
.form_uploader:hover img {
  opacity: 0.6;
}
.form_uploader label {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  height: 100%;
}
.form_uploader label:before {
  font-family: priceboard-icon;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  content: "\e900";
  color: #cacaca;
  font-size: 50px;
  transition: all ease 0.3s;
  z-index: 2;
}
.form_uploader input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.form_uploader.is_disable label {
  opacity: 0.8;
}
.form_uploader.is_disable label:before {
  color: #fff;
}
.form_uploader.is_disable:hover label {
  opacity: 0.4;
}
.form_uploader.is_disable:hover label:before {
  color: #fff;
}
.form_upload_image {
  overflow: hidden;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.form_stamp_area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,150,100,0.15) 0%, rgba(255,150,100,0.25) 100%);
  cursor: pointer;
  transition: all ease 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
}
.form_stamp_area:hover {
  background: linear-gradient(135deg, rgba(255,150,100,0.25) 0%, rgba(255,150,100,0.35) 100%);
}
.form_stamp_area:hover .form_stamp_button {
  background: #f73;
  transform: translate(-50%, 50%) scale(1.05);
}
.form_stamp_image {
  overflow: hidden;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form_stamp_image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.form_stamp_button {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 1;
  background: #ff9664;
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 11px;
  pointer-events: none;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all ease 0.3s;
}
#stamp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10050;
}
#stamp-modal .stamp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
#stamp-modal .stamp-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 2;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#stamp-modal .stamp-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
#stamp-modal .stamp-modal-header h3 {
  margin: 0;
  font-size: 18px;
}
#stamp-modal .stamp-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 40px;
  height: 40px;
}
#stamp-modal .stamp-modal-close:hover {
  color: #333;
}
#stamp-modal .stamp-modal-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0;
}
#stamp-modal .stamp-tab-btn {
  flex: 1;
  padding: 12px 20px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all ease 0.2s;
  border-bottom: 3px solid transparent;
}
#stamp-modal .stamp-tab-btn:hover {
  background: #e8e8e8;
}
#stamp-modal .stamp-tab-btn.active {
  background: #fff;
  color: #333;
  font-weight: bold;
  border-bottom-color: #ff9664;
}
#stamp-modal .stamp-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  position: relative;
}
#stamp-modal .stamp-tab-content {
  display: none;
}
#stamp-modal .stamp-tab-content.active {
  display: block;
}
button[data-stamp-upload-open] {
  padding: 12px 24px;
  background: #ff9664;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(255,150,100,0.3);
  transition: all 0.2s ease;
}
button[data-stamp-upload-open]:hover {
  background: #ff8450;
  box-shadow: 0 4px 8px rgba(255,150,100,0.4);
  transform: translateY(-1px);
}
button[data-stamp-upload-open]:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(255,150,100,0.3);
}
.stamp-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}
.stamp-item {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all ease 0.2s;
  text-align: center;
  background: #fff;
}
.stamp-item:hover {
  border-color: #ff9664;
  background: rgba(255,150,100,0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.stamp-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 6px;
  border-radius: 4px;
}
.stamp-item .stamp-name {
  display: block;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stamp-item.stamp-item-clear {
  border-color: #999;
}
.stamp-item.stamp-item-clear .stamp-clear-icon {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #999;
  margin-bottom: 6px;
}
.stamp-item.stamp-item-clear:hover {
  border-color: #666;
  background: rgba(0,0,0,0.05);
}
.stamp-item.stamp-item-clear:hover .stamp-clear-icon {
  color: #333;
}
#stamp-upload-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10060;
}
#stamp-upload-modal .stamp-upload-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
#stamp-upload-modal .stamp-upload-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 2;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#stamp-upload-modal .stamp-upload-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
#stamp-upload-modal .stamp-upload-modal-header h3 {
  margin: 0;
  font-size: 18px;
}
#stamp-upload-modal .stamp-upload-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 40px;
  height: 40px;
}
#stamp-upload-modal .stamp-upload-modal-close:hover {
  color: #333;
}
#stamp-upload-modal .stamp-upload-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
#stamp-upload-area {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
#stamp-upload-area label {
  display: block;
  width: 100%;
  padding: 40px 20px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all ease 0.2s;
  background: #f9f9f9;
  color: #666;
  font-size: 14px;
}
#stamp-upload-area label:hover {
  border-color: #ff9664;
  background: rgba(255,150,100,0.05);
}
#stamp-upload-area label.disabled {
  display: none;
}
#stamp-upload-area .upload-label-text span {
  color: #999;
  font-size: 12px;
}
#stamp-upload-area input[type="file"] {
  display: none;
}
#stamp-upload-area.dragover label {
  border-color: #ff9664;
  background: rgba(255,150,100,0.1);
}
#stamp-upload-inner {
  position: relative;
  width: 100%;
  height: 400px;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}
#stamp-upload-image {
  position: absolute;
  z-index: 10;
  overflow: hidden;
}
#stamp-upload-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
}
#stamp-crop-area {
  position: absolute;
  z-index: 20;
  border: 3px solid #007bff;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
  cursor: move;
  display: none;
}
#stamp-crop-area::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #007bff;
  font-size: 24px;
  font-weight: bold;
  pointer-events: none;
}
#stamp-crop-buttons,
#stamp-upload-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
#stamp-crop-buttons button,
#stamp-upload-buttons button {
  padding: 10px 30px !important;
  font-size: 14px !important;
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer;
  transition: all ease 0.2s;
  min-width: 100px;
  height: auto !important;
  line-height: 1.5 !important;
}
#stamp-crop-buttons button.btn-primary,
#stamp-upload-buttons button.btn-primary {
  background: #ff9664 !important;
  color: #fff !important;
}
#stamp-crop-buttons button.btn-primary:hover,
#stamp-upload-buttons button.btn-primary:hover {
  background: #ff8450 !important;
}
#stamp-crop-buttons button.btn-secondary,
#stamp-upload-buttons button.btn-secondary {
  background: #6c757d !important;
  color: #fff !important;
}
#stamp-crop-buttons button.btn-secondary:hover,
#stamp-upload-buttons button.btn-secondary:hover {
  background: #5a6268 !important;
}
#stamp-crop-buttons button.btn-danger,
#stamp-upload-buttons button.btn-danger {
  background: #dc3545 !important;
  color: #fff !important;
}
#stamp-crop-buttons button.btn-danger:hover,
#stamp-upload-buttons button.btn-danger:hover {
  background: #c82333 !important;
}
#stamp-upload-loading {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
}
.moveable-stamp .moveable-control-box {
  z-index: 100 !important;
}
