:root {
  --bg: #2b2a29;
  --card-bg: #3a2f2e;
  --header-bg: #251f1f;
  --accent: #ff6a00; /* Orange */
  --accent-2: #ff8c00; /* Darker Orange */
  --text: #ffffff;
  --text-light: #e0dede;
  --border: #4a3a39;
}

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

/* Body Styling */
body {
  position: relative;
  background: url("/img/background.png") center center / cover no-repeat fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Logo Overlay */
body::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: url("/img/Logo.png") center center / contain no-repeat;
  z-index: 2;
}

/* Default Container */
.container {
  width: 95%;
  max-width: 520px;
  background-color: rgba(0, 0, 0, 0.82);
  padding: 20px 15px;
  border-radius: 14px;
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.45); /* orange glow */
  box-sizing: border-box;
  margin: 10px 0;
}

/* Headers */
h1 {
  text-align: center;
  color: var(--accent); /* orange */
  margin-bottom: 15px;
}

/* Form Elements */
form input,
form button,
form select,
form textarea {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  border: none;
}

form input[type="file"] {
  background-color: #222;
  color: #fff;
}

/* Terms Box */
.terms-box {
  max-height: 300px;
  overflow-y: auto;
  background-color: #1a1a1a;
  padding: 15px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  margin-bottom: 10px;
  white-space: pre-wrap;
}

/* Labels */
label {
  margin: 6px 0;
  display: inline-block;
}

/* Play Container */
#play-container {
  width: 300px;
  margin: 30px auto 10px;
  padding: 20px;
  text-align: center;
}

/* Monster Can Icon */
.can-img {
  width: 150px;
  margin-bottom: 15px;
}

/* Reels Layout */
#reels {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}
.reel img {
  width: 80px;
  height: auto;
}

/* Register Container */
#register-container {
  width: 300px;
  margin: 0 auto -100px;
  padding: 10px 10px;
  box-sizing: border-box;
}

/* Dashboard Styles */
.dashboard-container {
  width: 100%;
  max-width: 1200px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.dashboard-header {
  background: var(--header-bg);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-header h1 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text);
}
.logout-btn {
  background-color: var(--accent); /* orange */
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}
.logout-btn:hover {
  background-color: var(--accent-2); /* darker orange */
  color: #fff;
}

.dashboard-search {
  padding: 20px 30px;
}
.dashboard-search input {
  width: 100%;
  max-width: 400px;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

.dashboard-table-wrapper {
  padding: 0 30px 30px;
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.dashboard-table th,
.dashboard-table td {
  padding: 14px 16px;
  text-align: left;
}
.dashboard-table thead th {
  background: var(--accent); /* orange */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dashboard-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.dashboard-table tbody tr:hover {
  background: rgba(255, 106, 0, 0.12); /* orange tint */
}
.dashboard-table td img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.action-btn {
  background-color: transparent;
  border: 2px solid #ff6a00; /* orange border */
  color: #ff6a00;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.action-btn:hover {
  background-color: #ff6a00;
  color: #fff;
}

@media (max-width: 768px) {
  .dashboard-header h1 {
    font-size: 1.4rem;
  }
  .dashboard-table th,
  .dashboard-table td {
    padding: 10px;
  }
}

/* === Orange & White Themed Overrides === */

/* Orange container glow */
.container {
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.45) !important;
}

/* Orange button style (with white outline) */
.button,
.btn {
  background: linear-gradient(180deg, #ff9a3d, #ff6a00) !important;
  border: 2px solid #ffffff !important; /* white outline */
  color: #ffffff !important;
  border-radius: 9999px !important; /* pill shape */
  font-weight: bold;
  box-shadow: 0 0 16px rgba(255, 122, 0, 0.6) !important; /* orange glow */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 12px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.button:hover,
.btn:hover {
  background: linear-gradient(180deg, #ff6a00, #e65c00) !important;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.85) !important;
  transform: translateY(-1px);
}

.button:active,
.btn:active {
  transform: scale(0.98);
}
