/*
 * Developer credit in the footer and the cookie info bar.
 *
 * Plain CSS served directly by AssetMapper (not through Tailwind), so it works
 * without a Tailwind rebuild. Credit styles are 1:1 with saur.com.pl and
 * separator.pl (saurpolska/inc/webtsx.php).
 */

/* ===== Developer credit =====
   In the middle of the footer row, between the logo and the menu. */
.webtsx-podpis {
    margin: 0;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .02em;
}

.webtsx-podpis a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    transition: color .25s ease;
}

.webtsx-znak {
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .85);
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 3px;
    transition: border-color .25s ease, color .25s ease;
}

.webtsx-znak i {
    font-style: normal;
    color: #FF7900;
}

.webtsx-podpis a:hover {
    color: rgba(255, 255, 255, .9);
}

.webtsx-podpis a:hover .webtsx-znak {
    color: #fff;
    border-color: #FF7900;
}

/* ===== Cookie info bar (assets/controllers/cookie_bar_controller.js) =====
   "sticky", not "fixed": visible right away at the bottom edge of the screen,
   but at the end of the page it rests below the footer, so it never covers it. */
.cookie-bar {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 18px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .01em;
    text-align: center;
}

.cookie-bar[hidden] {
    display: none;
}

.cookie-bar p {
    margin: 0;
}

.cookie-bar p a {
    margin-left: 4px;
    color: #374151;
    text-decoration: underline;
    text-decoration-color: #d1d5db;
    text-underline-offset: 3px;
}

.cookie-bar p a:hover {
    color: #111827;
    text-decoration-color: #a20404;
}

.cookie-bar-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cookie-bar-buttons button {
    font: inherit;
    background: none;
    border: 0;
    padding: 2px 0;
    cursor: pointer;
    transition: color .2s ease;
}

.cookie-bar-reject {
    color: #6b7280;
}

.cookie-bar-reject:hover,
.cookie-bar-accept:hover {
    color: #111827;
}

.cookie-bar-accept {
    color: #a20404;
    font-weight: 600;
}
