/* CSS Reset & Base Styles */
:root {
  --google-blue: #4285F4;
  --google-red: #DB4437;
  --google-yellow: #F4B400;
  --google-green: #0F9D58;
  --background-color: #f1f3f4;
  --card-background: #ffffff;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --border-color: #dfe1e5;
  --font-family: 'Roboto', sans-serif;
  --shadow-1: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-2: 0 4px 6px 2px rgba(60,64,67,0.15), 0 2px 3px 0 rgba(60,64,67,0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* App Layout & Hero */
.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero .eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Panel (Card) Styles */
.panel {
  background-color: var(--card-background);
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.panel-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Controls */
.controls {
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.field input {
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--google-blue);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Actions */
.actions {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
  justify-content: flex-start;
}

button {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  border: none;
}

button.primary {
  background-color: var(--google-blue);
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
}

button.primary:hover {
  box-shadow: var(--shadow-1);
}

button.ghost {
  background-color: transparent;
  color: var(--google-blue);
}

button.ghost:hover {
  background-color: rgba(66, 133, 244, 0.1);
}

/* Results Display */
.results-container {
  padding: 1.5rem;
}

.result-set {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.result-set .numbers {
  display: flex;
  gap: 0.5rem;
}

.number-ball {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 500;
  color: white;
}

/* Ball colors */
.number-ball.color-1 { background-color: #F4B400; } /* Yellow */
.number-ball.color-2 { background-color: #4285F4; } /* Blue */
.number-ball.color-3 { background-color: #DB4437; } /* Red */
.number-ball.color-4 { background-color: #70757a; } /* Gray */
.number-ball.color-5 { background-color: #0F9D58; } /* Green */


/* Meta Info */
.meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.meta .dot {
  margin: 0 0.5rem;
}


.history-list {
    list-style-type: none;
    padding: 0px 20px 20px 20px;
    margin: 0;
}
