body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f4f9;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    text-align: center;
    padding: 10px;
    background: #FF5733;
    color: white;
    border-radius: 8px;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto; /* Allow height to adjust dynamically */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Ensures padding is included in height */
}

h1 {
    text-align: center;
}

.explain {
    display:block;
    align-content: center;
    width: 90%;
}

.holdexplain {
    display:block;
    align-content: center;
    text-align: center;
    width: 90%;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 0px;
}

.disclaimer {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

footer {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background: #ddd;
    text-align: center;
    position: sticky;
    bottom: 0;
}

table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: center;
    position: relative;
    overflow-x: auto; /* Ensures table stays responsive within its container */
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
}

table th {
    background-color: #333;
    color: white;
    position: sticky;
    top: 120px; /* Matches the header height including padding included */
    z-index: 999;
}

.highlight {
    background-color: #FFDDC1;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}



a.obtn {
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 15px;
    border-radius: 8px;
    background: #333;
    color: white;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
}

a.obtn:hover {
    background: #FF5733;
    color: white;
}

.homespacer {
    padding: 20px;
    display: block;
    /*border:#FF5733;
    background-color: #ddd;*/
}

.tool-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    top: 15px;
}

.tool-links a {
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 15px;
    border-radius: 8px;
    background: #333;
    color: white;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
}

.tool-links a:hover {
    background: #FF5733;
    color: white;
}