/* Simple Cookie Banner - Styles */

.scb-banner {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 999999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none; /* Pokazywane przez JS */
    animation: scbSlideIn 0.5s ease-out;
}

.scb-banner.scb-visible {
    display: block;
}

.scb-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.scb-text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.scb-text a {
    color: inherit;
    text-decoration: underline;
    margin-left: 5px;
}

.scb-text a:hover {
    opacity: 0.8;
}

.scb-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scb-button {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.scb-button:hover {
    opacity: 0.9;
}

.scb-button:active {
    transform: scale(0.98);
}

/* Animacja wjazdu */
@keyframes scbSlideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.scb-banner.scb-top {
    animation: scbSlideInTop 0.5s ease-out;
}

@keyframes scbSlideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .scb-banner {
        padding: 15px;
    }
    
    .scb-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .scb-text {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .scb-actions {
        justify-content: center;
        width: 100%;
    }
    
    .scb-button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .scb-banner {
        padding: 12px;
    }
    
    .scb-text {
        font-size: 13px;
    }
    
    .scb-button {
        padding: 8px 20px;
        font-size: 13px;
    }
}
