/* Dark ChatGPT Theme - Responsive Table */
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    background-color: #343541;   /* Dark background */
    color: #e0e0e0;              /* Light text */
}

table {
    width: 400px;                 /* Table width is 90% of viewport width */
    height: 400px;                /* Table height is 90% of viewport height */
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background-color: #1e1e1e;   /* Slightly lighter for contrast */
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

td {
    height: 80px;
    width: 80px;                  /* 5 columns */
    text-align: center;
    font-size: calc(2vw + 1vh);  /* Scales with viewport */
         
    word-wrap: break-word;
    font-family: Arial, Helvetica, sans-serif;
    transition: background-color 0.3s, outline 0.2s;
    background-color: white;   /* Matches table background */
    color: #e0e0e0;              /* Light text */
}

td:hover {
    background-color: #2a2a2a;   /* Slight highlight on hover */
}

.active-cell {
    outline: 3px solid #00bfff;  /* Bright cyan highlight */
    filter: brightness(1.2) contrast(1.1);
}

a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;               /* Keeps the light text */
}
