/* Import a rugged, condensed font similar to Rust's UI */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

:root {
  --rust-orange: #cd412b;
  --rust-orange-hover: #b03623;
  --rust-bg-dark: #141414;
  --rust-panel-bg: rgba(36, 36, 36, 0.95);
  --rust-panel-border: #383838;
  --rust-text-main: #dfdfdf;
  --rust-text-muted: #888888;
  --rust-success: #709e3d; /* In-game green */
  --rust-error: #c83737;   /* Blood red */
}

body {
  background-color: var(--rust-bg-dark); /* Replace with a background image of Rust if desired */
  font-family: 'Roboto Condensed', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: var(--rust-text-main);
}

.rust-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.rust-panel {
  background-color: var(--rust-panel-bg);
  border: 1px solid var(--rust-panel-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.panel-header {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 15px 20px;
  border-bottom: 2px solid var(--rust-orange);
}

.panel-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.panel-body {
  padding: 25px 20px;
}

.description {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--rust-text-muted);
}

.input-group {
  margin-bottom: 20px;
}

input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #111;
  color: #fff;
  padding: 12px 15px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

input[type="text"]:focus {
  border-color: var(--rust-orange);
}

input[type="text"]::placeholder {
  color: #555;
  font-weight: 700;
}

.rust-btn {
  width: 100%;
  background-color: var(--rust-orange);
  color: #fff;
  border: none;
  padding: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.2s, transform 0.1s;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.rust-btn:hover {
  background-color: var(--rust-orange-hover);
}

.rust-btn:active {
  transform: scale(0.98);
}

.status-message {
  margin-top: 15px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  min-height: 20px; /* Prevents layout shifting */
  text-transform: uppercase;
}