/* BP Cookies Banner Styles */

.bp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    padding: 20px;
    animation: slideUp 0.5s ease-out;
    border-top: 3px solid #4CAF50;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bp-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bp-cookie-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.bp-cookie-text {
    flex: 1;
    min-width: 300px;
}

.bp-cookie-text p {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.bp-cookie-policy-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.bp-cookie-policy-link:hover {
    color: #45a049;
    text-decoration: underline;
}

.bp-cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Toggle Switch */
.bp-cookie-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.bp-toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.bp-cookie-toggle input[type="checkbox"] {
    display: none;
}

.bp-toggle-slider {
    position: relative;
    width: 52px;
    height: 28px;
    background: #ccc;
    border-radius: 14px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.bp-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bp-cookie-toggle input[type="checkbox"]:checked + .bp-toggle-slider {
    background: #4CAF50;
}

.bp-cookie-toggle input[type="checkbox"]:checked + .bp-toggle-slider::after {
    transform: translateX(24px);
}

/* Accept Button */
.bp-cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.bp-cookie-accept {
    background: #4CAF50;
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.bp-cookie-accept:hover {
    background: #45a049;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.bp-cookie-accept:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bp-cookie-banner {
        padding: 15px;
    }
    
    .bp-cookie-content {
        gap: 15px;
    }
    
    .bp-cookie-icon {
        font-size: 36px;
    }
    
    .bp-cookie-text {
        min-width: 100%;
    }
    
    .bp-cookie-text p {
        font-size: 14px;
    }
    
    .bp-cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .bp-cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .bp-cookie-banner {
        padding: 12px;
    }
    
    .bp-cookie-content {
        gap: 12px;
    }
    
    .bp-cookie-icon {
        font-size: 28px;
    }
    
    .bp-cookie-text p {
        font-size: 13px;
    }
    
    .bp-toggle-label {
        font-size: 13px;
    }
    
    .bp-cookie-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Hide banner when dismissed */
.bp-cookie-banner.bp-hidden {
    display: none !important;
}
