/**
 * עיצוב תוסף פרטיות - המוביל
 * עיצוב מותאם לעברית ו-RTL
 */

/* ============================================
   Banner עיקרי
   ============================================ */

.privacy-consent-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 3px solid #c9292d;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    direction: rtl;
    font-family: 'Heebo', 'Arial', sans-serif;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 90vh;
    overflow-y: auto;
}

.privacy-consent-banner.show {
    transform: translateY(0);
}

.privacy-consent-banner.hide {
    transform: translateY(100%);
}

/* ============================================
   תוכן ה-Banner
   ============================================ */

.privacy-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-consent-text {
    flex: 1;
    min-width: 250px;
}

.privacy-consent-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 10px;
    font-family: 'Heebo', sans-serif;
}

.privacy-consent-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #5D6769;
    margin: 0;
    font-family: 'Heebo', sans-serif;
}

.privacy-consent-text a {
    color: #c9292d;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.privacy-consent-text a:hover {
    color: #000;
}

/* ============================================
   כפתורים
   ============================================ */

.privacy-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.privacy-btn-accept,
.privacy-btn-decline,
.privacy-btn-info {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.privacy-btn-accept {
    background-color: #c9292d;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(201, 41, 45, 0.3);
}

.privacy-btn-accept:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.privacy-btn-accept:active {
    transform: translateY(0);
}

.privacy-btn-decline {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.privacy-btn-decline:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.privacy-btn-info {
    background-color: transparent;
    color: #c9292d;
    border: 1px solid #c9292d;
    font-size: 13px;
    padding: 10px 20px;
}

.privacy-btn-info:hover {
    background-color: #c9292d;
    color: #ffffff;
}

/* ============================================
   רספונסיביות
   ============================================ */

@media screen and (max-width: 768px) {
    .privacy-consent-content {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 15px;
    }

    .privacy-consent-text {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .privacy-consent-text strong {
        font-size: 16px;
    }

    .privacy-consent-text p {
        font-size: 13px;
    }

    .privacy-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .privacy-btn-accept,
    .privacy-btn-decline,
    .privacy-btn-info {
        width: 100%;
        padding: 14px 24px;
    }
}

@media screen and (max-width: 480px) {
    .privacy-consent-banner {
        border-top-width: 2px;
    }

    .privacy-consent-content {
        padding: 15px 12px;
    }

    .privacy-consent-text strong {
        font-size: 15px;
    }

    .privacy-consent-text p {
        font-size: 12px;
    }

    .privacy-btn-accept,
    .privacy-btn-decline,
    .privacy-btn-info {
        font-size: 13px;
        padding: 12px 20px;
    }
}

/* ============================================
   נגישות
   ============================================ */

.privacy-consent-banner:focus-within {
    outline: 3px solid #c9292d;
    outline-offset: -3px;
}

.privacy-btn-accept:focus,
.privacy-btn-decline:focus,
.privacy-btn-info:focus {
    outline: 3px solid #c9292d;
    outline-offset: 2px;
}

/* ============================================
   אנימציות
   ============================================ */

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-consent-banner.show {
    animation: slideUp 0.3s ease-out;
}

/* ============================================
   הדפסה - הסתרה
   ============================================ */

@media print {
    .privacy-consent-banner {
        display: none !important;
    }
}

