html, body {
  margin: 0;
  padding: 0;
  height: 100dvh;
  overflow: hidden;
  background: black;
  color: white;
  font-family: sans-serif;
}

#container {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

#statusBar {
  flex: 0 0 18%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #000;
}

.statusItem label {
  display: block;
  font-size: 12px;
  color: #aaa;
}

.statusItem span {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

#psdArea {
  flex: 1;
  position: relative;
}

#psdCanvas {
  width: 100%;
  height: 100%;
  background: #000;
}

#controls {
  flex: 0 0 12%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

button {
  font-size: 18px;
  padding: 10px 20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #333;
  padding: 20px;
  margin: 30% auto;
  width: 80%;
  border-radius: 8px;
}

.modal-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

input {
  width: 100%;
  font-size: 20px;
  padding: 5px;
}