body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
    margin: 0;
    padding: 0;
}

.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 14px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.topbar-left {
    flex: 1;
    text-align: left;
}

.topbar-center {
    flex: 1;
    text-align: center;
}

.topbar-center img {
    max-height: 50px;
    width: auto;
    max-width: 100%;
    vertical-align: middle;
}

.topbar-right {
    flex: 1;
    text-align: right;
}

.topbar-right .linkbtn {
    display: inline-block;
    width: auto;
    margin-left: 6px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

h1, h2 {
    margin-top: 0;
}

label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    font-weight: bold;
}

input, select, button {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 18px;
}

button {
    margin-top: 14px;
    font-weight: bold;
    cursor: pointer;
}

.biglink, .linkbtn {
    display: inline-block;
    background: #e9ecef;
    color: #111;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 8px;
}

.danger {
    background: #d9534f;
    color: white;
    border: none;
}

.flash {
    background: #fff3cd;
    color: #664d03;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.rowitem {
    border-top: 1px solid #eee;
    padding: 12px 0;
}

.small {
    font-size: 14px;
    color: #666;
}

.dangerlink {
    background: #d9534f;
    color: white;
}

.entrylink {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dangerlink {
    background: #d9534f;
    color: white;
}

.headerlogo {
    text-align: center;
    margin-bottom: 10px;
}

.headerlogo img {
    max-height: 70px;
    width: auto;
    max-width: 140px;
}

}

@media (min-width: 700px) {
    .headerlogo img {
        max-height: 85px;
        max-width: 180px;
    }
}
