/* Dark ChatGPT Theme - Responsive Table */

body {
    background:#343541;
    color:#fff;
    font-family:system-ui;
    margin:0;
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

.main {
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}

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 */
}
