body {
    margin: 0;
}

#auth-header {
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #333;
    color: #eee;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

#error-box {
    background-color: #f44336;
    color: #eee;
    display: none;
    padding: 16px;
    position: relative;
}

#error-box .error-close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
}

.login-link {
    cursor: pointer;
    font-weight: bold;
}

.logged-in-user {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.logged-in-user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}


.logged-in-user:hover .logout-popup {
    display: block;
}

.hidden {
    display: none;
}

.menu-bar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.menu-bar button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-bar button:hover {
    background-color: #eee;
    color: #333;
}

.table-view {
    width: 95%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: nowrap;
}

.table-row:last-child {
    border-bottom: none;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

.tag.red       { background-color: #ff3b30; }   /* vivid red */
.tag.blue      { background-color: #007aff; }   /* deep blue */
.tag.green     { background-color: #34c759; }   /* bright green */
.tag.purple    { background-color: #af52de; }   /* purple */
.tag.orange    { background-color: #ff9500; }   /* strong orange */

.tag.teal      { background-color: #008080; }   /* dark teal */
.tag.pink      { background-color: #d63384; }   /* dark pink */
.tag.indigo    { background-color: #4b0082; }   /* classic indigo */
.tag.maroon    { background-color: #800000; }   /* dark red/maroon */
.tag.navy      { background-color: #000080; }   /* deep navy blue */
.tag.olive     { background-color: #556b2f; }   /* dark olive green */
.tag.brown     { background-color: #8b4513; }   /* saddle brown */


.table-row-delete-button {
    background: none;
    border: none;
    color: #ff3b30;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-left: 12px;
    flex-shrink: 0;
}

.table-row-delete-button:hover {
    text-decoration: underline;
}
