/* Privacy Policy Banner Styles */
.ppb-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #f4f4f4;
    box-shadow: 0 -1px 10px 0 #acabab4d;
    z-index: 999999;
    font-family: var(--ppb-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    direction: rtl;
    text-align: right;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}


    .ppb-subtitle {
        font-family: dd !important;
}

.ppb-banner.ppb-show {
    transform: translateY(0);
}

.ppb-banner.ppb-top {
    top: 0;
    bottom: auto;
    border-top: none;
    border-bottom: 3px solid #0073aa;
    transform: translateY(-100%);
}

.ppb-banner.ppb-top.ppb-show {
    transform: translateY(0);
}

.ppb-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: inherit;
}

.ppb-icon {
    flex-shrink: 0;
    margin-left: 16px;
}

.ppb-banner-text {
    flex: 1;
    margin: 0;
    font-family: inherit;
}

.ppb-title {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.ppb-subtitle {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.ppb-description {
    font-size: 14px;
    line-height: 1.5;
    color: #404040;
    margin: 0;
}

.ppb-privacy-link {
    color: #0073aa;
    text-decoration: underline;
    font-weight: 500;
}

.ppb-privacy-link:hover {
    color: #005177;
}

.ppb-banner-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ppb-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 80px;
}

.ppb-accept-btn {
    background: #40d4df;
    color: #ffffff;
    font-weight: 500;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 14px;
    min-width: 150px;
}

.ppb-accept-btn:hover {
    background: #40d4df;
    transform: translateY(-1px);
}

.ppb-accept-btn:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Dark theme */
.ppb-banner.ppb-dark {
    background: #2c3e50;
    color: #ffffff;
    border-top-color: #3498db;
}

.ppb-banner.ppb-dark .ppb-banner-text {
    color: #ffffff;
}

.ppb-banner.ppb-dark .ppb-privacy-link {
    color: #3498db;
}

.ppb-banner.ppb-dark .ppb-privacy-link:hover {
    color: #5dade2;
}

.ppb-banner.ppb-dark .ppb-accept-btn {
    background: #3498db;
}

.ppb-banner.ppb-dark .ppb-accept-btn:hover {
    background: #2980b9;
}

.ppb-banner.ppb-dark .ppb-close-btn {
    color: #bdc3c7;
}

.ppb-banner.ppb-dark .ppb-close-btn:hover {
    background: #34495e;
    color: #ffffff;
}

/* Light theme */
.ppb-banner.ppb-light {
    background: #fff;
    border-top-color: #f9f9f9;
}

.ppb-banner.ppb-light .ppb-privacy-link {
    color: #215174;
}

.ppb-banner.ppb-light .ppb-privacy-link:hover {
    color: #218838;
}

.ppb-banner.ppb-light .ppb-accept-btn {
    background: #ce2127;
    font-family: 'normal';
    border-radius: 8px;
    color: #fff;
    letter-spacing: 0px;
	outline: none!important;
    min-width: 150px;
}

.ppb-banner.ppb-light .ppb-accept-btn:hover {
    background: #ce2127;
}

/* Responsive design */
@media (max-width: 768px) {
    .ppb-banner-content {
        flex-direction: column;
        text-align: right;
        gap: 20px;
        padding: 20px 16px 20px 16px;
    }
    
    .ppb-icon {
        margin-left: 0;
        margin-bottom: 8px;
    }
    
    .ppb-title {
        font-size: 16px;
    }
    
    .ppb-subtitle {
        font-size: 16px;
    }
    
    .ppb-description {
        font-size: 14px;
    }
    
    .ppb-banner-buttons {
        justify-content: center;
    }
    
    .ppb-accept-btn {
        padding: 10px 20px;
        font-size: 14px;
width: 100%;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .ppb-banner-content {
        padding: 16px 12px 16px 12px;
        gap: 16px;
    }
    
    .ppb-title {
        font-size: 15px;
    }
    
    .ppb-subtitle {
        font-size: 16px;
    }
    
    .ppb-description {
        font-size: 14px;
    }
    
    .ppb-accept-btn {
width: 100%;
        padding: 8px 16px;
        font-size: 14px;
        min-width: 150px;
    }
}

/* Animation for banner appearance */
@keyframes ppb-slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes ppb-slide-down {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.ppb-banner.ppb-animate-up {
    animation: ppb-slide-up 0.3s ease-out;
}

.ppb-banner.ppb-animate-down {
    animation: ppb-slide-down 0.3s ease-out;
}

/* Success state for accept button */
.ppb-accept-btn.ppb-success {
    background: #28a745;
    animation: ppb-success-pulse 0.6s ease-out;
}

@keyframes ppb-success-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading state */
.ppb-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Focus styles for accessibility */
.ppb-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.ppb-privacy-link:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .ppb-banner {
        border-width: 2px;
    }
    
    .ppb-privacy-link {
        text-decoration: underline;
    }
    
    .ppb-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ppb-banner,
    .ppb-btn,
    .ppb-banner.ppb-animate-up,
    .ppb-banner.ppb-animate-down {
        animation: none;
        transition: none;
    }
}

/* Custom font family support */
.ppb-banner {
    --ppb-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Ensure font inheritance for all elements */
.ppb-banner * {
    font-family: inherit;
}

/* Special handling for Hebrew/Arabic fonts */
.ppb-banner.ppb-hebrew {
    font-family: var(--ppb-font-family, "Arial", "Helvetica", sans-serif);
}

.ppb-banner.ppb-arabic {
    font-family: var(--ppb-font-family, "Tahoma", "Arial", sans-serif);
}