/* dashboard.css */

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

th,
td {
    text-align: center;
    padding: 8px;
}

td {
    color: #333333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    border-bottom-style: solid;
    border-bottom-width: 1px;

}

th {
    unicode-bidi: isolate;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #eeeef1;
}

.green,
.red,
.yellow,
.grey {
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
    background-color: #f2f2f2;
    margin-left: auto;
    margin-right: auto;
}

.yellow {
    background-color: lightyellow;
}

.red {
    background-color: lightcoral;
}

.green {
    background-color: lightgreen;
}

.side-by-side-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.side-by-side {
    width: 45%;
}

.table-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.buttons {

    width: 15em;
    position: relative;

}

.button:hover {
    background-color: #0056b3;
    /* Darker blue color on hover */
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #436394;
    font-weight: bold;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

li {
    float: left;
}

li a {
    display: block;
    color: #ffffff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover {
    background-color: #ffffff;
    color: #436394;
}

.dashboard {
    background-color: #B4B7D6;
}

.different {
    background-color: lightcoral;
}

.error-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.error-message {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Error message types */
.error-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.error-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error-message.validation {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.error-message.database {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.error-message.auth {
    background-color: #cce5ff;
    border: 1px solid #b8daff;
    color: #004085;
}

.error-message.permission {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.error-text {
    flex-grow: 1;
    margin-right: 10px;
}

.close-button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.7;
}

.close-button:hover {
    opacity: 1;
}