:root {
    --bg: #ffffff;
    --text: #000000;
    --card: #f4f4f4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --text: #f0f0f0;
        --card: #1e1e1e;
    }
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

a {
  color: inherit;
  text-decoration: underline; 
}

a:hover {
  text-decoration: none; 
}

.container {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

h1 {
    margin-bottom: 0.25rem;
}

h2 {
    font-weight: normal;
    font-size: 1rem;
    color: gray;
    margin-top: 0;
    font-style: italic;
}

.stock-data p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.actions {
    margin-top: 1rem;
}

.footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    text-align: center;
}

.ad-slot {
    border: 1px dashed gray;
    margin-top: 1rem;
    padding: 1rem;
}

.change-group {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.change-box {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: var(--card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.green {
    color: #2ecc71;
}

.red {
    color: #e74c3c;
}