* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: url("../img/bg.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CENTRAS */
.center-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(0,0,0,0.45);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.center-box button {
  padding: 14px 20px;
  font-size: 16px;
  color: white;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  cursor: pointer;
}

.center-box button:hover {
  background: rgba(255,255,255,0.25);
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

.modal-content {
  width: min(700px, 95%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 16px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: bold;
}

.modal-content textarea,
.modal-content input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
}

.modal-content button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
}

.modal-content button:hover {
  background: rgba(255,255,255,0.3);
}

.close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

pre {
  white-space: pre-wrap;
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 10px;
  min-height: 120px;
}
