/* Styling for the Publisher selection page (publisher_select.html) */

/* Zebra Striping */

#publisherTable tbody tr:nth-child(odd) {
    background-color: #111827;
}

#publisherTable tbody tr:nth-child(even) {
    background-color: #0b1220;
}

#publisherTable tbody tr:hover {
    background-color: #1f2937;
    transition: background-color 0.15s ease;
}

#publisherTable tbody tr {
    cursor: pointer;
}

#publisherTable th, #publisherTable td {
    padding: 0.6rem 0.75rem;
    text-align: left;
}

/* Centering */

.publisher-page-container {
    max-width: 1100px;
    margin: 0 auto;          /* centers the whole block */
    padding: 1rem;
}

/* Center search box */
#searchContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

/* Input styling (optional but helps visually) */
#searchContainer input {
    width: 320px;
    font-size: 16px;
    padding: 0.5rem;
    border-radius: 6px;
    border: none;
}

/* Suggestions list alignment */
#suggestions {
    width: 320px;
}

/* Table wrapper spacing */
.publisher-table-container {
    margin-top: 2rem;
}

/* Table full width inside centered container */
#publisherTable {
    width: 100%;
    border-collapse: collapse;
}