*:last-child,
*:last-child > *:last-child,
*:last-child > *:last-child > *:last-child {
    margin: 0;
}

body {
    font-size: 11px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 10px !important;
}

TR.menu {
    background: #8c8c8c;
}
TR.menu {
    font-family: Verdana;
    color: #d9daf5;
    font-size: 8pt;
}

TR.about {
    background: #d5ac7f;
}
TR.about {
    font-family: Verdana;
    color: #ffffff;
    font-size: 8pt;
}

TD {
    font-family: Verdana;
    font-size: 8pt;
}

A:link {
    text-decoration: none;
    color: #d9daf5;
}
A:visited {
    text-decoration: none;
    color: #d9daf5;
}
A:active {
    text-decoration: none;
    color: #ffffff;
}
A:hover {
    text-decoration: none;
    color: #ffffff;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.p-1 {
    padding: 10px;
}

.gap-1 {
    gap: 10px;
}

.container {
    max-width: 585px;
    min-width: 565px;
}

section {
    max-width: 585px;
    width: 100%;
    background-color: #9e947e;
}

.bg-primary {
    background-color: #9e947e;
}

.section-header {
    background-color: #8c8c8c;
    display: flex;
    align-items: center;
    padding: 0 5px 0 5px;
    outline: 1px solid #c0c0c0;
    border: 1px solid #595959;
    span {
        color: #d9daf5;
    }
}

p {
    margin: 0;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.px-1 {
    padding: 0 10px;
}

.py-1 {
    padding: 10px 0;
}

.bold {
    font-weight: bold;
}

.green {
    color: #62e675;
}

.red {
    color: #e43848;
}

.admin-bar {
    background: #222;
    color: #fff;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 9999;
    font-size: 11px;
}

.admin-bar-left,
.admin-bar-right {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 12px;
}

.admin-bar-left {
    flex-wrap: wrap;
}

.admin-bar-site {
    color: #72aee6;
    font-weight: bold;
    margin-right: 5px;
}

.admin-bar a {
    color: #fff;
    text-decoration: none;
}

.admin-bar a:hover {
    color: #72aee6;
}

.admin-bar-right span {
    color: #c3c4c1;
}

.admin-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.login-box {
    background: #9e947e;
    padding: 30px;
    border: 1px solid #595959;
}

.login-box h1 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #d9daf5;
}

.login-box .form-group {
    margin-bottom: 15px;
}

.login-box label {
    display: block;
    margin-bottom: 5px;
}

.login-box input {
    width: 200px;
    padding: 5px;
}

.login-box button {
    padding: 8px 20px;
    cursor: pointer;
}

.error {
    background: #e43848;
    color: white;
    padding: 10px;
    margin-bottom: 15px;
}

.edit-btn {
    background: #8c8c8c;
    color: white;
    padding: 3px 8px;
    font-size: 10px;
    margin-left: 10px;
}

.form-group {
}

.form-group label {
    display: block;
    color: #d9daf5;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 5px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 11px;
}

.form-group button,
.form-group input[type="submit"] {
    background: #8c8c8c;
    color: white;
    border: 1px solid #595959;
    padding: 5px 15px;
    cursor: pointer;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 11px;
}

.form-group button:hover,
.form-group input[type="submit"]:hover {
    background: #a0a0a0;
}

.news-item,
.item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
    border-bottom: 1px solid #8c8c8c;
}

.news-item p {
    margin: 5px 0;
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.actions a {
    color: #d9daf5;
    font-size: 10px;
}

.actions button {
    background: #8c8c8c;
    color: white;
    border: none;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 10px;
}

.item-row.with-admin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-row.with-admin .actions {
    flex-shrink: 0;
}
