/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  background: #000;
  font-family: 'Outfit', sans-serif;
}

canvas {
  display: block;
  margin: 0 auto;
}

/* GD-themed Account Modal Styles */
.webdash-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

.webdash-modal-card {
  background: #bf6a30; /* GD brown panel */
  border: 4px solid #ffd700; /* GD gold border */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), inset 0 0 15px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 400px;
  padding: 24px;
  position: relative;
  text-align: center;
  transform: scale(0.7);
  animation: scaleUp 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  to { transform: scale(1); }
}

.webdash-modal-title {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
  letter-spacing: 1px;
}

.webdash-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.webdash-input-group {
  position: relative;
  text-align: left;
}

.webdash-input {
  width: 100%;
  padding: 12px 16px;
  background: #5c2b0c; /* Darker brown input background */
  border: 3px solid #7a3a10;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.webdash-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.webdash-input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.webdash-error-msg {
  color: #ff4a4a;
  font-size: 14px;
  min-height: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 0px #000;
  text-align: center;
}

.webdash-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.webdash-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.8);
  box-shadow: 0 4px 0px rgba(0,0,0,0.3);
  transition: transform 0.1s, filter 0.2s;
}

.webdash-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0px rgba(0,0,0,0.3);
}

.webdash-btn-submit {
  background: #5fa300; /* GD green button */
  border-bottom: 4px solid #3d6a00;
}

.webdash-btn-submit:hover {
  filter: brightness(1.15);
}

.webdash-btn-cancel {
  background: #cf3030; /* GD red/brown button */
  border-bottom: 4px solid #8e2020;
}

.webdash-btn-cancel:hover {
  filter: brightness(1.15);
}

.webdash-btn:disabled {
  background: #666 !important;
  border-bottom-color: #444 !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
