/* 
 * NDS Floating CTA Pro - Optimized Layout v2.5
 * Author: عبد المنعم فريد
 */

.nds-cta-root {
    font-family: 'Tajawal', sans-serif;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.nds-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0F172A 0%, #111827 100%);
    box-shadow: 0 15px 40px rgba(2, 6, 23, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    direction: rtl;
}

.nds-cta-content {
    flex: 1;
}

.nds-cta-badge {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #60A5FA;
    text-transform: uppercase;
}

.nds-cta-content h3 {
    margin: 0 0 5px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.nds-cta-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #CBD5E1;
}

.nds-cta-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    min-width: 140px; /* ضمان تساوي حجم الأزرار */
    height: 42px;
    box-sizing: border-box;
}

.nds-btn-primary {
    background: #2563EB;
    color: #fff;
}

.nds-btn-primary:hover {
    background: #1D4ED8;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.nds-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.nds-btn-whatsapp:hover {
    background: #1EA952;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.nds-icon {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .nds-cta-card {
        padding: 15px 20px;
    }
    .nds-cta-content h3 {
        font-size: 18px;
    }
    .nds-btn {
        min-width: 120px;
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .nds-cta-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .nds-cta-actions {
        width: 100%;
        flex-direction: row; /* الحفاظ على الأزرار بجانب بعضها حتى في الجوال إذا كانت المساحة تسمح */
        justify-content: center;
    }
    .nds-btn {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .nds-cta-actions {
        flex-direction: column;
    }
    .nds-btn {
        width: 100%;
    }
}
