/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.2em;
    color: #fff;
}

p {
    text-align: center;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #fff;
}

.home-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.market-impact {
    margin: 0;
    text-align: right;
    padding-right: 20px;
}

/* Container Styles */
.container {
    display: flex;
    flex: 1;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
    background-color: #000;
    border: none;
}

/* Shared Form and Table Styles */
select {
    padding: 3px;
    font-size: 0.9em;
    width: 200px;
    display: block;
    background-color: #333;
    color: #fff;
    border: 1px solid #888;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8em;
}

th, td {
    padding: 2px 4px;
    text-align: left;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    line-height: 1.1;
    color: #fff;
}

th {
    background-color: #555;
    font-weight: normal;
}

/* Screen Reader Only (for accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Shared Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        height: calc(100vh - 80px);
    }
}