/* =========================================
   RESET I BAZA
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Roboto, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--kolor-tla);
    color: var(--kolor-tekstu);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a, button, [role="button"],
.panel-pogody-kontener, .panel-kalendarz-kontener,
#admin-gear-icon, #admin-login-trigger,
.news-img, .galeria-folder-obraz,
.nav-links a, .nav-links button, .dropdown-content a {
    -webkit-tap-highlight-color: transparent;
}

a:active, button:active, [role="button"]:active,
#admin-gear-icon:active, #admin-login-trigger:active,
.news-img:active, .galeria-folder-obraz:active,
.nav-links a:active, .nav-links button:active, .dropdown-content a:active {
    transform: scale(0.96);
}

.panel-pogody-kontener:active, .panel-kalendarz-kontener:active {
    transform: scale(0.98);
}

/* =========================================
   PASEK PRZEWIJANIA (SCROLLBAR)
   ========================================= */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #e0eaf5;
}

::-webkit-scrollbar-thumb {
    background: var(--kolor-glowny);
    border-radius: 10px;
    border: 3px solid #e0eaf5;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--kolor-hover);
}

a:focus-visible,
button:focus-visible,
img[tabindex]:focus-visible {
    outline: 3px solid #e74c3c;
    outline-offset: 3px;
}


#admin-news-editor, #admin-gallery-manager, #admin-kreator-manager, #admin-notification-sender {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.admin-step {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* =========================================
   SVG ICONS
   ========================================= */
.icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.125em; /* Aligns visually with text */
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
}

button .icon, a .icon {
    margin-right: 0.3em;
}

button:empty .icon {
    margin-right: 0;
}
