/* Cookie Consent Dialog Styles */

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    direction: rtl;
}

.cookie-consent-overlay.cookie-consent-show {
    opacity: 1;
}

.cookie-consent-dialog {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
    direction: rtl;
    font-family: Arial, sans-serif;
}

.cookie-consent-overlay.cookie-consent-show .cookie-consent-dialog {
    transform: scale(1);
}

.cookie-consent-content {
    padding: 30px;
}

.cookie-consent-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.cookie-consent-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    text-align: right;
    font-weight: bold;
}

.cookie-consent-body {
    margin-bottom: 25px;
}

.cookie-consent-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: right;
    font-size: 16px;
}

.cookie-consent-body p strong {
    color: #d32f2f;
    font-weight: bold;
}

.cookie-consent-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-direction: row-reverse;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.cookie-consent-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-family: Arial, sans-serif;
}

.cookie-consent-btn-accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-consent-btn-accept:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.cookie-consent-btn-accept:active {
    transform: translateY(0);
}

.cookie-consent-btn-decline {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-consent-btn-decline:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cookie-consent-btn-decline:active {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .cookie-consent-dialog {
        width: 95%;
        max-width: 95%;
    }
    
    .cookie-consent-content {
        padding: 20px;
    }
    
    .cookie-consent-header h2 {
        font-size: 20px;
    }
    
    .cookie-consent-body p {
        font-size: 14px;
    }
    
    .cookie-consent-footer {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
}

/* Prevent body scroll when dialog is open */
body.cookie-consent-open {
    overflow: hidden;
}

