.darsad-product-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid #ffada7;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    direction: rtl;
    box-sizing: border-box;
}

.darsad-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.darsad-clickable:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.darsad-widget-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.darsad-widget-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: none;
    border-radius: 8px;
    padding: 4px;
}

.darsad-widget-text {
    display: flex;
    flex-direction: column;
}

.darsad-widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    white-space: nowrap;
}

.darsad-widget-desc {
    font-size: 12px;
    color: #718096;
    margin-top: 2px;
    white-space: nowrap;
}

.darsad-widget-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.darsad-widget-action {
    display: flex;
    align-items: center;
    gap: 4px;
}

.darsad-widget-link {
    font-size: 12px;
    color: #4a5568;
    font-weight: 500;
    white-space: nowrap;
}

.darsad-arrow-icon {
    width: 16px !important;
    height: 16px !important;
    color: #a0aec0;
}

.darsad-credit-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    color: #2563eb !important;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #eff6ff;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.darsad-credit-link:hover {
    color: #1d4ed8 !important;
    background-color: #dbeafe;
    transform: scale(1.03);
}

.darsad-link-icon {
    width: 13px !important;
    height: 13px !important;
    color: #2563eb !important;
}

.darsad-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    direction: rtl;
}

.darsad-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: darsadFadeIn 0.3s ease;
}

@keyframes darsadFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.darsad-modal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
}

.darsad-modal-logo {
    width: 24px;
    height: 24px;
    background: #1e293b;
    border-radius: 6px;
    padding: 3px;
    margin-left: 10px;
}

.darsad-modal-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800;
    color: #1a202c;
}

.darsad-modal-close {
    position: absolute;
    left: 20px;
    font-size: 24px;
    color: #a0aec0;
    cursor: pointer;
    line-height: 1;
}

.darsad-modal-body {
    padding: 24px 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.darsad-custom-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.8;
}

@media screen and (max-width: 480px) {
    .darsad-product-widget {
        padding: 10px 8px;
        gap: 4px;
    }

    .darsad-widget-right {
        gap: 6px;
    }

    .darsad-widget-logo {
        width: 32px;
        height: 32px;
        padding: 2px;
    }

    .darsad-widget-title {
        font-size: 13px;
    }

    .darsad-widget-desc {
        font-size: 12px;
    }

    .darsad-widget-left {
        gap: 6px;
    }

    .darsad-credit-link {
        padding: 5px 6px;
        font-size: 10px;
        gap: 2px;
    }

    .darsad-link-icon {
        width: 13px !important;
        height: 13px !important;
    }

    .darsad-widget-link {
        font-size: 10px;
    }

    .darsad-arrow-icon {
        width: 12px !important;
        height: 12px !important;
    }
}