#hgm-form-builder {
    margin-top: 20px;
}
#hgm-steps-container {
    margin-top: 20px;
}
.hgm-step-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.hgm-step-card h4 {
    margin-top: 0;
}
.hgm-step-card label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}
.hgm-step-card input[type="text"],
.hgm-step-card select,
.hgm-step-card textarea {
    width: 100%;
    max-width: 600px;
}
.hgm-answer-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.hgm-answer-row input[type="text"],
.hgm-answer-row input[type="number"] {
    flex: 1;
}
.hgm-remove-answer {
    color: red;
    font-weight: bold;
    font-size: 18px;
    border: none;
    background: none;
    cursor: pointer;
}
.hgm-step-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px 15px 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
}

.hgm-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.hgm-step-header h4 {
    margin: 0;
}

.hgm-remove-step {
    color: #d63638;
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
}
.hgm-answer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.hgm-answer-label {
    flex: 1 1 200px;
}

.hgm-price-input {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.hgm-price-input label {
    font-weight: 600;
    margin-bottom: 3px;
}

.hgm-price-hint {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.hgm-remove-answer {
    color: red;
    font-weight: bold;
    font-size: 18px;
    border: none;
    background: none;
    cursor: pointer;
}
.hgm-dollar-wrapper {
    position: relative;
}

.hgm-dollar-wrapper .dollar-sign {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-weight: bold;
}

.hgm-dollar-wrapper input {
    padding-left: 20px !important;
}
.hgm-cropper-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.hgm-cropper-overlay {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}
.hgm-cropper-container img {
    max-width: 100%;
    height: auto;
}
.tablenav-pages .page-numbers {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border: 1px solid #ccc;
  background: #f1f1f1;
  text-decoration: none;
  color: #0073aa;
  border-radius: 3px;
  font-size: 13px;
}

.tablenav-pages .page-numbers.current {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
  border-color: #0073aa;
}

.tablenav-pages .page-numbers:hover {
  background: #e5f5ff;
  border-color: #0073aa;
  color: #0073aa;
}
/* Modal Overlay */
.hgm-preview-modal {
    display: none; /* hidden by default */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* Modal Content Box */
.hgm-preview-modal-content {
    background: #fff;
    padding: 20px;
     max-width: 900px !important;
  width: 900px !important;
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Close Button */
.hgm-preview-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eee;
    border: none;
    padding: 6px 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

.hgm-shortcode-box {
  max-width: 400px;
}

.hgm-shortcode-box input[type="text"] {
  width: 100%;
}

