/* ==========================
   VistaCreate Editor Modal
   ========================== */

/* Overlay */
#vcd-modal-overlay.vcd-modal-overlay,
#vcd-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.65);
  z-index: 999999;
}

/* Modal */
.vcd-modal {
  width: 100%;
  max-width: 2500px;
  height: 90vh;
  margin: 1.5vh auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* Modal header */
.vcd-modal-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

/* Modal close button */
#vcd-modal-close {
  padding: 6px 14px;
  cursor: pointer;
}

/* Editor container */
.vcd-editor-container {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

/* ==========================
   Cart UI (Buttons / Saved)
   ========================== */

/* Wrapper around customize/edit buttons */
.vcd-customize-wrap {
  margin-top: 8px;
}

/* Inner wrapper to store vcd-data */
.vcd-data {
  margin-top: 8px;
}
a.button.vcd-download {
    background: #426994;
    color: white;
    border-radius: 5px;
    font-weight: 600;
}
a.button.vcd-edit-design {
    background: #27783d;
    color: white;
    border-radius: 5px;
    font-weight: 600;
}
button.button.vcd-remove-design {
    background: red;
    color: white;
    border-radius: 5px;
    font-weight: 600;
}



/* Buttons inside saved area */
.vcd-saved .button {
  margin-right: 6px;
}

/* ==========================
   Order Page Button
   ========================== */
.vcd-order-meta .button {
  margin-top: 5px;
}

/* ==========================
   Responsive
   ========================== */
@media (max-width: 600px) {
  .vcd-modal {
    width: 98%;
    height: 95vh;
  }
}
