/* =============================================
   DF Cookie Consent – style
   Spójne z booking-system-df
   ============================================= */

/* --- Baner --- */
#dfc-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    width: 380px;
    max-width: calc(100vw - 48px);
    background: #f4faf5;
    border-radius: 26px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 28px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

#dfc-banner.dfc-visible {
    display: block;
}

/* --- Treść banera --- */
.dfc-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.3;
    font-family: "Lora", Sans-serif;
}

.dfc-text {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-family: "Lora", Sans-serif;
}

.dfc-links {
    margin: 0 0 20px;
    font-size: 12px;
    line-height: 1.8;
    font-family: "Lora", Sans-serif;
}

.dfc-links a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

.dfc-links a:hover {
    color: #444;
}

/* --- Przyciski --- */
.dfc-buttons {
    display: flex;
    gap: 10px;
}

.dfc-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 26px;
    font-size: 15px;
    font-weight: 400;
    font-family: "Lora", Sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease;
    line-height: 1.4em;
}

.dfc-btn-accept {
    background-color: #C8FEC2;
    color: #000000;
}

.dfc-btn-accept:hover {
    background-color: #AEE7A5;
    color: #000000;
}

.dfc-btn-reject {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #C8FEC2;
}

.dfc-btn-reject:hover {
    background-color: #f4faf5;
    color: #000000;
}

/* --- Ikonka (lewy dolny róg) --- */
#dfc-icon {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #C8FEC2;
    color: #000000;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

#dfc-icon.dfc-visible {
    display: flex;
}

#dfc-icon:hover {
    background-color: #AEE7A5;
    transform: translateY(-2px);
}

#dfc-icon svg {
    display: block;
}

/* --- Responsywność: mobile --- */
@media (max-width: 480px) {
    #dfc-banner {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 26px 26px 0 0;
        padding: 24px 20px;
    }

    .dfc-buttons {
        flex-direction: column;
    }

    .dfc-btn {
        width: 100%;
    }
}
