/* 
  Auslagerung aller Inline-Styles aus HTML-Templates
  Diese Datei enthält styles, die ursprünglich inline in HTML-Elementen waren
*/

/* ===== 404.html ===== */
.error-404-nav,
.error-404-footer {
    width: 100%;
    position: fixed;
    background-color: #fff;
    z-index: 1000;
}

.error-404-nav {
    top: 0;
}

.error-404-footer {
    bottom: 0;
}

/* ===== index.html - Avatar und Profile Links ===== */
.avatar-thumb {
    background-size: cover;
    background-position: center;
}

.profile-link {
    text-decoration: none;
    color: inherit;
}

/* ===== index.html - Flex Layouts ===== */
.flex-center-gap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-space-between-gap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* ===== index.html - Global Banner ===== */
.ke-global-banner {
    display: none;
}

/* ===== index.html - Banner Links und Text ===== */
.banner-timestamp {
    opacity: 0.9;
    font-size: 12px;
    margin-left: 8px;
}

.banner-links-inline {
    display: inline-block;
    margin-left: 10px;
}

.banner-link-separator {
    color: #666;
}

.banner-update-time {
    opacity: 0.85;
    font-size: 12px;
    margin-left: 8px;
}

/* ===== index.html - Info Section ===== */
#more-info {
    display: none;
}

/* ===== index.html - Greeting Section ===== */
.greeting-section {
    font-size: 14px;
    line-height: 1.2;
    padding: 12px;
    margin-top: 12px;
}

.greeting-heading {
    margin: 0 0 4px 0;
}

.greeting-text {
    margin: 0;
    line-height: 1.2;
}

.greeting-link {
    color: #8cc8ff;
}

.greeting-link-secondary {
    color: #ffc864;
}

/* ===== index.html - Doer Info ===== */
.doer-info {
    color: #888;
    font-size: 12px;
}

/* ===== index.html - Complaints Preview ===== */
.complaints-preview-container {
    margin-top: 12px;
}

.complaints-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.complaints-preview-title {
    margin: 0;
}

.complaints-preview .mini-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11px;
    background: #0a0a0a;
    color: #f0f0f0;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    overflow: visible;
    table-layout: fixed;
}

.complaints-preview .mini-table th,
.complaints-preview .mini-table td {
    padding: 3px 6px;
    border-bottom: 1px solid #222;
    line-height: 1.25;
}

.complaints-preview .mini-table thead th {
    text-align: left;
    background: #111;
    color: #eee;
    font-weight: 600;
}

.complaints-preview .mini-table tbody tr:nth-child(odd) {
    background: #0e0e0e;
}

.complaints-preview .mini-table tbody tr:nth-child(even) {
    background: #141414;
}

.complaints-preview .mini-table a {
    color: #8cc8ff;
    text-decoration: none;
}

.complaints-preview .mini-table tbody tr.click-row:hover {
    background: #1a1a1a !important;
}

.complaints-preview .mini-table .btn-link {
    background: transparent;
    border: 0;
    color: #8cc8ff;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
}

.complaints-preview .reason .short {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tap-highlight-transparent {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Allgemeine Inline-Style-Muster ===== */
.inline-block-display {
    display: inline-block;
}

.block-display {
    display: block;
}

.flex-display {
    display: flex;
}

.no-display {
    display: none;
}

.zero-margin {
    margin: 0;
}

.text-decoration-none {
    text-decoration: none;
}

/* ===== index.html - Login Form Styles ===== */
.content-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
}

.form-login-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    margin: 20px auto 0;
    box-sizing: border-box;
    align-items: stretch;
}

.form-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
}

.form-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

.form-login-flex input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 2px solid transparent;
    background: #fff;
    color: #000;
    border-radius: 12px;
    font-size: 14px;
}

.form-input-login {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    background: #fff;
    color: #000;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
}

.form-input-login::placeholder {
    color: #999;
}

.form-input-login:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(255, 167, 38, 0.3);
}

.form-buttons-container button,
.form-buttons-container a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #FFA726;
    background: #4a3728;
    color: #FFA726;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-buttons-container button:hover,
.form-buttons-container a:hover {
    background: #5a4738;
    border-color: #FFB347;
}

.form-links {
    text-align: center;
    margin-top: 12px;
    width: 100%;
}

.form-links p {
    margin: 0;
    font-size: 13px;
}

.form-link {
    color: #FFA726;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.form-link:hover {
    color: #FFB347;
    text-decoration: underline;
}

/* ===== index.html - Public Stats Grid ===== */
#public-stats-grid {
    max-width: 980px;
    margin: 20px auto 0;
    padding: 0 8px;
}

.psg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.psg-card {
    background: #1a1a1a;
    color: #f5f5f5;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.psg-card:hover {
    background: #252525;
    border-color: #FFA726;
}

.psg-card .num {
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    color: #FFA726;
}

.psg-card .label {
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 8px;
}
