body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --card-bg-color: #f9f9f9;
    --card-border-color: #eee;
    --accent-color: #5e8bce;
}

body.dark-theme {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg-color: #1e1e1e;
    --card-border-color: #333;
    --accent-color: #bb86fc;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

#market-display {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid var(--card-border-color);
    border-radius: 5px;
    background-color: var(--card-bg-color);
    width: 100%; /* Fix for extra space */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

#market-display img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.market-link {
    text-decoration: none;
    color: inherit;
}

#market-display .market-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

#market-display .market-image {
    width: 128px;
    height: 128px;
    border-radius: 5px;
    object-fit: cover;
}

#market-display .info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

#market-display .title {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
    margin-bottom: 5px; /* Add some space below the title */
    transition: text-decoration 0.3s;
}

.market-link:hover .title {
    text-decoration: underline;
}

#market-display p {
    margin: 2px 0; /* Reduce vertical margin */
}

#market-display .volume, #market-display .expiration {
    font-size: 0.9em;
    color: var(--text-color);
    opacity: 0.7;
}

#platform-filters {
    justify-content: center;
    margin-bottom: 1rem;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
}

#market-display {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}


button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}



.home {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0;
}
