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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-container {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.auth-container h1 {
  color: #00c853;
  font-size: 28px;
  margin-bottom: 8px;
  text-align: center;
}

.auth-container .subtitle {
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: #00c853;
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #00c853;
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: #00c853;
  border: 1px solid #00c853;
  margin-top: 12px;
}

.btn-danger {
  background: #ff1744;
  color: #fff;
}

.error-message {
  background: #2d1515;
  border: 1px solid #ff1744;
  color: #ff6b6b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.link-row {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.link-row a {
  color: #00c853;
  cursor: pointer;
  text-decoration: none;
}

.link-row a:hover {
  text-decoration: underline;
}

/* Dashboard */
.dashboard {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}

.dashboard-header h1 {
  color: #00c853;
  font-size: 20px;
}

.dashboard-header .user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-header .username {
  color: #888;
  font-size: 14px;
}

.dashboard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  overflow-x: auto;
}

.odds-status {
  color: #888;
  font-size: 14px;
  margin-bottom: 16px;
}

.odds-status.error {
  color: #ff6b6b;
}

/* Match cards */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.match-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
}

.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #111;
  border-bottom: 1px solid #2a2a2a;
}

.match-card-header .match-event {
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
}

.match-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-card-header .match-end-date {
  font-size: 12px;
  color: #666;
}

.btn-reject {
  background: transparent;
  border: 1px solid #444;
  color: #888;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reject:hover {
  border-color: #ff1744;
  color: #ff1744;
}

.match-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 100px;
}

/* Platform panels (left + right) */
.platform-panel {
  padding: 16px 20px;
}

.platform-panel .platform-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #666;
  margin-bottom: 8px;
}

.platform-panel .platform-link {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.platform-panel .platform-link:hover {
  color: #00c853;
  text-decoration: underline;
}

.platform-panel .platform-name {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 12px;
  line-height: 1.4;
}

.platform-panel .price-row {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}

.platform-panel .price-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-panel .price-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}

.platform-panel .price-value {
  font-size: 18px;
  font-weight: 600;
  color: #e0e0e0;
}

.platform-panel .volume-row {
  margin-top: 10px;
  font-size: 12px;
  color: #555;
}

.platform-panel.opinion {
  border-right: 1px solid #2a2a2a;
}

.platform-panel.polymarket {
  border-left: 1px solid #2a2a2a;
  text-align: right;
}

.platform-panel.polymarket .price-row {
  justify-content: flex-end;
}

/* Center odds column */
.odds-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  min-width: 140px;
  gap: 8px;
}

.odds-center .edge-value {
  font-size: 24px;
  font-weight: 700;
}

.odds-center .edge-value.positive {
  color: #00c853;
}

.odds-center .edge-value.negative {
  color: #ff1744;
}

.odds-center .edge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #666;
}

.odds-center .odds-detail {
  font-size: 12px;
  color: #888;
  text-align: center;
}

.odds-center .side-label {
  font-size: 11px;
  color: #555;
  text-align: center;
  margin-top: 4px;
  line-height: 1.3;
}

/* Reject form */
.reject-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #151515;
  border-top: 1px solid #2a2a2a;
}

.reject-select {
  background: #111;
  border: 1px solid #333;
  color: #e0e0e0;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
}

.reject-input {
  flex: 1;
  background: #111;
  border: 1px solid #333;
  color: #e0e0e0;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
}

.reject-input:focus,
.reject-select:focus {
  border-color: #ff1744;
}

.reject-actions {
  display: flex;
  gap: 8px;
}

.btn-reject-confirm {
  background: #ff1744;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-reject-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-reject-cancel {
  background: transparent;
  color: #888;
  border: 1px solid #333;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-reject-cancel:hover {
  border-color: #666;
  color: #ccc;
}
