@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #5CDB95;
    background-image: linear-gradient(to bottom, rgba(5, 56, 107, 0.80), rgba(92, 219, 149, 0.80));
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    display: flex;
    height: 100%;
    z-index: 1000;
    padding-top: 50px;
}

.sidebar {
    width: 200px;
    background-color: #05386B;
    min-height: 100vh;
    border-right: 1px solid #5CDB95;
    border-top: 1px solid #5CDB95;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    text-decoration: none;
    text-align: center;
    color: #5CDB95;
    display: block;
    padding-bottom: 5px;
    position: relative;
}

.sidebar a {
    text-decoration: none;
    text-align: center;
    color: #5CDB95;
    display: block;
    padding-bottom: 5px;
    position: relative;

}

.sidebar a:hover {
    transform: translateY(-5px);
    transition: transform 0.2s ease-in-out;
}


.sidebar a:hover {
    text-decoration: none;
    text-align: center;
    color: #5CDB95;
    display: block;
    padding-bottom: 5px;
    position: relative;
}

.sidebar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #5CDB95;
}

.content {
    flex: 1;
}

table {
    border-collapse: collapse;
    width: 100%;

}

th,
td {
    padding: 11px;
    text-align: center;
    border-bottom: 1px solid #05386B;
    border-right: 1px solid #05386B;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td p {
    white-space: pre-line;
    overflow-wrap: break-word;
}

th {
    background-color: #05386B;
    color: #5CDB95;
    border-top: 1px solid #5CDB95;
    border-bottom: 1px solid #5CDB95;
    border-right: 1px solid #5CDB95;
    padding: 2px;

}

dialog {
    width: 300px;
    border: 1px solid #05386B;
    border-radius: 4px;
    padding: 10px;
    background-color: #5CDB95;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to bottom, rgba(5, 56, 107, 0.80), rgba(92, 219, 149, 0.80));
}

dialog form {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

dialog p {
    margin: 0;
    padding: 10px 0;
    white-space: pre-line;
    overflow-wrap: break-word;
    text-align: center;
    user-select: none;
    color: #05386B;
    font-weight: bold;
}

dialog button {
    padding: 8px 16px;
    margin-right: 10px;
    background-color: #5CDB95;
    color: #05386B;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

dialog button:hover {
    background-color: #05386B;
    color: #5CDB95;
}

.delete-btn {
    padding: 8px 16px;
    margin-right: 10px;
    background-color: #5CDB95;
    color: #05386B;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.delete-btn:hover {
    background-color: #05386B;
    color: #5CDB95;
}

.log-messages {
    height: 50px;
    width: 100%;
    background-color: #05386B;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    text-align: center;
}

#sent,
#deleted,
#errorsending,
#errordeleting {
    display: none;
    color: #5CDB95;
    font-weight: 500;
    font: inherit;
    text-align: center;
}

@media (max-width: 1111px) {

    .content {
        overflow-x: auto;
    }

    .log-messages {
        height: 50px;
        min-width: 99vw;
        background-color: #05386B;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
        text-align: center;
        box-sizing: border-box;
    }
}