.acdivet-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensures the cookie consent is on top */
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Full width */
    border-top: 2px solid #8bc53f; /* Green border */
    background-color: #ffffff; /* White background */
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.acdivet-cookie-consent__message {
    text-align: start;
    color: #46498f; /* Blue text */
    flex: 1; /* Take available space */
}

.acdivet-cookie-consent__message h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.acdivet-cookie-consent__message p {
    font-size: 1rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.acdivet-cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start; /* Align buttons to the right */
    margin-top: 1rem;
    width: 100%;
}

.acdivet-cookie-consent-buttons button {
    background-color: #8bc53f; /* Green background */
    color: #ffffff; /* White text */
    border: 1px solid #8bc53f; /* Green border */
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 120px;
}

.acdivet-cookie-consent-buttons .acdivet-cookie-consent-decline {
    background-color: transparent; /* Decline button is transparent */
    color: #8bc53f; /* Green text */
    border: 2px solid #8bc53f; /* Green outlined border */
}

.acdivet-cookie-consent-buttons button:hover {
    background-color: #46498f; /* Blue on hover */
    color: #ffffff; /* Keep white text on hover */
}

.acdivet-cookie-consent-buttons button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 197, 63, 0.6);
}

@media (max-width: 768px) {
    .acdivet-cookie-consent {
        padding: 0.75rem;
    }

    .acdivet-cookie-consent-buttons {
        flex-direction: column;
        align-items: center;
    }

    .acdivet-cookie-consent-buttons button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.acdivet-cookie-consent:lang(ar) {
    direction: rtl;
}

.acdivet-cookie-consent-buttons:lang(ar) button {
    margin-bottom: 0.5rem;
}
