.ticketVoucher {
  width: 1100px !important;
  height: 600px !important;
  min-width: 1100px !important;
  min-height: 600px !important;
  max-width: none !important;
  overflow: visible !important;
}

.ticketVoucher .pic-container {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}

.ticketVoucher .pic-container img {
  width: 380px !important;
  height: 250px !important;
  max-width: 380px !important;
  max-height: 250px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}

.ticketVoucher .logo {
  width: 260px !important;
  height: 140px !important;
  object-fit: cover !important;
}

.box-display .img-container {
  width: 216px !important;
  height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.box-display .box-content img {
  width: 216px !important;
  height: 120px !important;
  max-width: 216px !important;
  max-height: 120px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.ticket-info img {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.change-ticket-folder-wrap {
  position: fixed;
  top: 8px;
  right: 220px;
  z-index: 2147483000;
}

.change-ticket-folder-wrap.is-header {
  position: static;
  top: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.change-ticket-folder-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d9e2f6;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  color: #1c274c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 12px rgba(28, 39, 76, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.change-ticket-folder-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eaf0ff 100%);
  border-color: #b9c9f2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 16px rgba(53, 92, 228, 0.14);
  transform: translateY(-1px);
}

.change-ticket-folder-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 2px 6px rgba(28, 39, 76, 0.08);
}

.change-ticket-folder-icon {
  display: block;
  color: #355ce4;
  flex-shrink: 0;
}

.change-ticket-folder-label {
  display: inline-block;
}

.ticket-download-success {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 23, 45, 0.55);
  backdrop-filter: blur(6px);
}

.ticket-download-success-card {
  width: min(460px, 100%);
  padding: 32px 28px 24px;
  border: 1px solid #e4ebff;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 24px 64px rgba(28, 39, 76, 0.28);
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
}

.ticket-download-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e8f8ee;
  color: #03ac2d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(3, 172, 45, 0.08);
}

.ticket-download-success-kicker {
  margin: 0 0 4px !important;
  color: #03ac2d !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-download-success-card h3 {
  margin: 0 0 8px;
  color: #1c274c;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ticket-download-success-card p {
  margin: 0 0 8px;
  color: #5d6682;
  font-size: 14px;
  line-height: 1.6;
}

.ticket-download-success-pathbox {
  margin: 18px 0 6px;
  padding: 12px 14px;
  border: 1px solid #d7e0f6;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.ticket-download-success-pathlabel {
  display: block;
  margin-bottom: 6px;
  color: #7b849d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticket-download-success-path {
  display: block;
  color: #1c274c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-all;
  user-select: text;
  -webkit-user-select: text;
}

.ticket-folder-path-input {
  display: block;
  width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid #d7e0f6;
  border-radius: 10px;
  background: #fff;
  color: #1c274c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  box-sizing: border-box;
  user-select: text;
  -webkit-user-select: text;
}

.ticket-download-success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.ticket-download-success-copy,
.ticket-download-success-ok {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ticket-download-success-copy {
  border: 1px solid #d7e0f6;
  background: #fff;
  color: #1c274c;
}

.ticket-download-success-ok {
  border: 0;
  background: #03ac2d;
  color: #fff;
}

.lottery-form img,
form img[src*="uploaded_images"] {
  max-width: 240px !important;
  max-height: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
