/*
 * ============================================================================
 * RSS-FEED-Writer - css/push.css
 * Styles fuer die oeffentliche Push-Anmeldeseite (push_subscribe.php)
 * ----------------------------------------------------------------------------
 * KI-REGELN (Erinnerung):
 * - Hintergrund #333, Text #FFF, Arial
 * - Ueberschriften 15px / 600 / #FF9800, Text 12px / 500 / line-height 1.0
 * - Schriftgroessen per clamp() zwischen 12px und 15px (ausser Copyright 9px)
 * - .content max. 800px, responsiv, ohne sichtbare Rahmen
 * - Abkuerzungen fett, Tooltip 10px ueber der Abkuerzung
 * - UTF-8 ohne BOM
 * ============================================================================
 */

body.push-page {
    background: #333;
    color: #FFF;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.push-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.push-header h1 {
    font-size: clamp(12px, 2.5vw, 15px);
    font-weight: 600;
    color: #FF9800;
    margin: 0;
}

.push-flags a {
    display: inline-block;
    margin-left: 4px;
    opacity: 0.6;
}

.push-flags a.active,
.push-flags a:hover {
    opacity: 1;
}

.push-flags img {
    width: 24px;
    height: auto;
    vertical-align: middle;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px 60px 15px;
    box-sizing: border-box;
}

.content h2 {
    font-size: clamp(12px, 2.5vw, 15px);
    font-weight: 600;
    color: #FF9800;
    margin: 20px 0 10px 0;
}

.content p {
    font-size: clamp(12px, 2vw, 12px);
    font-weight: 500;
    line-height: 1.0;
    margin: 0 0 10px 0;
    overflow-wrap: anywhere;
}

.content a {
    color: #FFF;
    font-weight: 500;
    text-decoration: underline;
}

.push-btn {
    background: #FF9800;
    color: #FFF;
    border: none;
    border-radius: 4px;
    padding: 9px 16px;
    font-family: Arial, sans-serif;
    font-size: clamp(12px, 2vw, 13px);
    font-weight: 600;
    cursor: pointer;
    margin: 5px 5px 5px 0;
}

.push-btn:hover {
    background: #F57C00;
}

.push-btn:disabled {
    background: #777;
    cursor: default;
}

.push-btn.push-btn-off {
    background: #666;
    display: none;
}

.push-btn.push-btn-off:hover {
    background: #555;
}

.push-status {
    font-size: clamp(12px, 2vw, 12px);
    font-weight: 600;
    line-height: 1.0;
    margin: 12px 0;
    min-height: 12px;
}

.push-error {
    color: #FF5252;
}

.push-msg-ok,
.push-msg-err {
    font-size: clamp(12px, 2vw, 12px);
    font-weight: 600;
    padding: 8px 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.push-msg-ok {
    background: #2E7D32;
}

.push-msg-err {
    background: #C62828;
}

.push-ios {
    display: none;
    background: #444;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.push-abbr {
    font-weight: bold;
    text-decoration: none;
    border: none;
    position: relative;
    cursor: help;
}

.push-abbr:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 120%;
    left: 0;
    background: #000;
    color: #FFF;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 6px;
    white-space: nowrap;
    z-index: 10;
}

.push-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    text-align: center;
    padding: 6px;
    font-size: 9px;
}

.push-footer a {
    color: #FFF;
}