
*,
*::before,
*::after {
  box-sizing: border-box;
}

label {
  color: #f60;
  font-weight: bold;
}

input, textarea, select {
  background-color: #282828;
  color: #eee;
  border: 2px solid #f60;
  border-radius: 4px;
  padding: 6px 10px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

input[type="date"],
input[type="time"] {
  color: #eee;
}

#inputFields {
  flex-grow: 1;
  overflow-y: hidden !important;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

#blogContent {
  min-height: 500px;
}

#otherContent {
  min-height: 500px;
}

button {
  background-color: #f60;
  color: #181818;
  border: none;
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  margin-top: 8px;
}

button:hover {
  background-color: #e05500;
}

.field-group {
  margin-bottom: 15px;
}

#downloadLink {
  background-color: #f60;
  color: #181818;
  padding: 8px 12px;
  border-radius: 4px;
  display: none;
  text-decoration: none;
  font-weight: bold;
}

.popupModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal-content {
  border: 2px #f60 solid;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #181818;
  width: 80%;
  max-width: 700px;
  height: 35%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  overflow: hidden;
}

.closebutton {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.closebutton:hover {
  color: #f60;
  transform: scale(1.5);
}

.showTemplate {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 8px 8px;
}

.editor-preview-container {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  height: 90vh;
}

.editor-pane {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #1a1a1a;
  color: #eee;
  overflow: hidden;
  width: 50% !important;
  border: 2px solid #f60;
  overflow-y: visible;
}

.preview-pane {
  overflow: hidden;
  width: 50% !important;
  border: 2px solid #f60;
  overflow-y: visible;
}

.live-preview {
  width: 100%;
  height: 100%;
  border: none;
}
