.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

#big-button {
    width: 200px; 
    height: 50px; 
    text-align: center;
    font-size: 20px;
    font-weight: 100;
}
.big-button-container {
    margin-left: 220px;
    text-decoration: none;
}

.inset {
    width: calc(100% - 24px);
    border-collapse: collapse;
    min-width: 600px;
}

th:first-child,
td:first-child {
    width: 24px;
    text-align: center;
}
tbody tr:nth-child(even) {
    background-color: #46503f;
}
tbody tr:hover td {
    background: #958831;
}
.left:{
  text-align: left;
}
.navbar li {
  margin-right: 1rem;
}

.navbar li.right {
  margin-left: auto;
}

.navbar::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.navbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.navbar a {
  text-align: center;
  padding: 10px;
  display: block;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 10px auto; /* optional: centers form */
    text-align: left;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
}

.post-user {
    margin: 0 0 5px 0;
}

.box {
    margin: 0 0 15px 0;
}
.pagination {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination a {
    margin: 0 5px;
    text-decoration: none;
}

.pagination strong {
    margin: 0 5px;
    font-weight: bold;
}
.post-header {
    display: flex;
    justify-content: space-between; /* THIS pushes ends apart */
    align-items: center;
}

.username {
    margin: 0;
}


.delete-btn {
    color: white;
    font-size: 12px;
}
.admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-actions a {
    display: inline-block;
}
td img {
    display: inline-block;
    vertical-align: middle;
}
.contact {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin-top: 2px;
    margin-left: -15px;
    margin-right: -5px;
}
.table-container a {
    color: #F0F0FF;
}

.contactdc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}
.contactdni {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin-top: 8px;
    margin-right: 7px;
}
.contactdniimg { /* The most useless thing here, but i keep it just in case */
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin-top: 0px;
    margin-right: 0px;
}




.contact img {
    display: inline-block;
    width: 16px; /* optional */
    height: 16px; /* optional */
}


input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: auto;
    accent-color: orange;
}

.viewport {
    overflow: auto;
    scrollbar-width: none;          /* Firefox */
}

.security-table {
    width: auto;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.security-table th,
.security-table td {
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.security-table tbody {
    font-size: 10px;
}

.security-table th {
    white-space: nowrap;
}

.security-table th:nth-child(1) {
    width: 13%;
}

.security-table th:nth-child(2) {
    width: 13%;
}

.security-table th:nth-child(3) {
    width: 13%;
}

.security-table th:nth-child(4) {
    width: 30%;
}

.security-table th:nth-child(5) {
    width: 30%;
}
@media (pointer: coarse) {
    textarea {
        width: 90vw;
        max-width: none;
    }
}
.server-light {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.server-online {
    background: #00ff00;
    box-shadow: 0 0 6px #00ff00;
}

.server-offline {
    background: #ff0000;
    box-shadow: 0 0 6px #ff0000;
}
