/* EkoSerwis Manager — Wizytówki i Feed */

/* Live feed na stronie głównej */
.esm-feed {
    background: #0a1628;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #fff;
}

.esm-feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f57c00;
}

.esm-feed-dot {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    animation: esm-pulse 2s infinite;
    display: inline-block;
}

@keyframes esm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.esm-feed-list { display: flex; flex-direction: column; gap: 10px; }

.esm-feed-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border-left: 3px solid #f57c00;
}

.esm-feed-date {
    color: #f57c00;
    font-weight: 700;
    font-size: 0.85em;
    white-space: nowrap;
    min-width: 35px;
}

.esm-feed-text {
    color: #e0e0e0;
    font-size: 0.9em;
    line-height: 1.4;
}

.esm-feed-dot-green {
    color: #4caf50;
    font-size: 0.7em;
    margin-right: 5px;
}

/* Feed na wizytówce */
.esm-card-feed {
    background: #0a1628;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #fff;
    border: 1px solid rgba(245,124,0,0.3);
}

.esm-card-feed .esm-feed-header {
    color: #f57c00;
    margin-bottom: 12px;
}

/* Przycisk telefonu */
.esm-phone-btn {
    display: inline-block;
    background: #d32f2f;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
    box-shadow: 0 3px 10px rgba(211,47,47,0.4);
}

.esm-phone-btn:hover { background: #b71c1c; }

/* Pływający przycisk telefonu */
.esm-float-phone {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    background: #d32f2f;
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(211,47,47,0.5);
    animation: esm-float-pulse 3s infinite;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes esm-float-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(211,47,47,0.5); }
    50% { box-shadow: 0 4px 25px rgba(211,47,47,0.8); }
}

/* Linki wewnętrzne */
.esm-related-links {
    margin-top: 20px;
    padding: 12px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 0.9em;
    color: #666;
}

.esm-related-links span { font-weight: 600; margin-right: 8px; }

.esm-related-links a {
    color: #1a2744;
    text-decoration: none;
    margin-right: 15px;
    border-bottom: 1px dotted #1a2744;
}

.esm-related-links a:hover { color: #f57c00; border-color: #f57c00; }

/* Wizytówka — układ strony */
.esm-card-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.esm-card-hero {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.esm-card-hero h1 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.esm-trust-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 0.85em;
    color: #b0bec5;
}

.esm-checklist {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.esm-checklist li::before {
    content: "✓ ";
    color: #4caf50;
    font-weight: 700;
}
