/* Lottery Evaluator Styles
   Utilizes existing theme variables where possible */

.le-container {
  min-height: 100vh;
  padding: 2rem 1.5rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
}

.le-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.le-header-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.le-header-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.le-highlight {
  color: var(--secondary);
}

.le-refresh-btn {
  background: var(--bg-card);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.2s;
  font-family: var(--font-mono);
}

.le-refresh-btn:hover:not(:disabled) {
  background: var(--secondary-glow);
}

.le-refresh-btn:disabled {
  border-color: var(--border-subtle);
  color: var(--text-muted);
  cursor: not-allowed;
  background: transparent;
}

.le-status {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.le-error {
  background: rgba(255, 85, 119, 0.1);
  border: 1px solid var(--error);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--error);
}

.le-skeleton {
  height: 100px;
  background: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  animation: le-pulse 1.5s infinite;
  margin-bottom: 1rem;
}

@keyframes le-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.le-best-banner {
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.le-grid {
  display: grid;
  gap: 0.75rem;
}

.le-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.le-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.le-card-best-badge {
  position: absolute;
  top: 0;
  right: 0;
  color: #000;
  font-size: 0.55rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-bottom-left-radius: 4px;
}

.le-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.le-card-abbr {
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.le-card-name {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: bold;
}

.le-card-meta {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.le-card-meta-label {
  color: var(--text-muted);
}

.le-card-ev {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.le-card-ev-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.le-card-ev-badge {
  display: inline-block;
  margin-top: 0.25rem;
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.le-card-ev-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.le-progress-bg {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.le-progress-fill {
  height: 100%;
  transition: width 0.8s ease;
  border-radius: 2px;
}

.le-options {
  margin-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.65rem;
}

.le-options-title {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.le-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.le-option-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border-subtle);
}

.le-option-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.le-option-val {
  font-size: 1rem;
  font-weight: bold;
}

.le-option-val span {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.le-toggle {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: right;
}

.le-detail {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 1rem 1.25rem;
}

.le-detail-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.le-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.le-table th {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.3rem 0;
  font-weight: normal;
}

.le-table td {
  padding: 0.3rem 0;
  color: var(--text-secondary);
}

.le-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.le-table .le-row-jackpot {
  color: var(--text-primary);
}

.le-table .le-row-total {
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: bold;
}

.le-disclaimer {
  margin-top: 1.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.62rem;
  color: var(--text-muted);
  line-height: 1.6;
}
