/**
 * Privacy Note Popup Styles
 * Author: OneVision
 */

.privacy-note-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.privacy-note-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-note-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    direction: rtl;
    text-align: right;
    flex: 1;
}

.privacy-note-link {
    color: #4a9eff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-note-link:hover {
    color: #6bb3ff;
}

.privacy-note-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    direction: rtl;
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0 10px;
}

.privacy-note-button:hover {
    background-color: #002639;
    color: #ffffff;
}

.privacy-note-button:active {
    transform: scale(0.98);
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .privacy-note-popup {
        width: 70%;
        bottom: 15px;
        padding: 15px;
    }

    .privacy-note-text {
        font-size: 13px;
    }

    .privacy-note-button {
        padding: 8px 15px;
        font-size: 13px;
        margin: 0 5px;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .privacy-note-popup {
        width: 85%;
        bottom: 10px;
        padding: 12px;
    }

    .privacy-note-content {
        gap: 10px;
    }

    .privacy-note-text {
        font-size: 12px;
    }

    .privacy-note-button {
        padding: 8px 12px;
        font-size: 12px;
        margin: 0 5px;
    }
}
