/* ============================================================
   eCoach Cookie-Zustimmungsbanner
   Datei: eCoach/css/ec-cookie-consent.css
   ============================================================ */

.ec-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1e3a5f;
    color: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.ec-cookie-banner--hidden {
    transform: translateY(100%);
    opacity: 0;
}

.ec-cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ec-cookie-banner__text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}

.ec-cookie-banner__link {
    color: #93c5fd;
    text-decoration: underline;
    margin-left: 6px;
    white-space: nowrap;
}

.ec-cookie-banner__link:hover {
    color: #bfdbfe;
}

.ec-cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.ec-cookie-btn {
    padding: 9px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.ec-cookie-btn--accept {
    background: #3b82f6;
    color: #fff;
}

.ec-cookie-btn--accept:hover {
    background: #2563eb;
}

.ec-cookie-btn--decline {
    background: transparent;
    color: #93c5fd;
    border: 1px solid #93c5fd;
}

.ec-cookie-btn--decline:hover {
    background: rgba(147, 197, 253, 0.1);
}

/* Mobilansicht */
@media (max-width: 600px) {
    .ec-cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ec-cookie-banner__actions {
        width: 100%;
    }

    .ec-cookie-btn {
        flex: 1;
        text-align: center;
    }
}
