/* الحاوية الرئيسية */
.nph-provider-display-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

/* قسم التفاصيل */
.nph-provider-display-details {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 35px;
}

/* شبكة العرض */
.nph-provider-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* عنصر التفاصيل (الكارد) */
.nph-provider-display-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nph-provider-display-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

/* التسمية مع الأيقونات */
.nph-provider-display-label {
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 1.1em;
}

/* القيمة */
.nph-provider-display-value {
    color: #475569;
    font-size: 1em;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.5;
}

/* الروابط داخل القيمة */
.nph-provider-display-value a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
}

.nph-provider-display-value a:hover {
    color: #ffffff;
    background: #007bff;
    text-decoration: none;
}

/* الأيقونات */
.nph-icon-domain::before { content: "\f0ac"; font-family: "Font Awesome 6 Free"; color: #007bff; }
.nph-icon-headquarters::before { content: "\f015"; font-family: "Font Awesome 6 Free"; color: #e63946; }
.nph-icon-establishment_year::before { content: "\f073"; font-family: "Font Awesome 6 Free"; color: #2ecc71; }
.nph-icon-email::before { content: "\f0e0"; font-family: "Font Awesome 6 Free"; color: #f4a261; }
.nph-icon-phone::before { content: "\f095"; font-family: "Font Awesome 6 Free"; color: #7209b7; }
.nph-icon-fax::before { content: "\f1ac"; font-family: "Font Awesome 6 Free"; color: #457b9d; }
.nph-icon-facebook::before { content: "\f39e"; font-family: "Font Awesome 6 Brands"; color: #3b5998; } /* أيقونة فيسبوك */
.nph-icon-twitter::before { content: "\f099"; font-family: "Font Awesome 6 Brands"; color: #1da1f2; } /* أيقونة تويتر */
.nph-icon-linkedin::before { content: "\f0e1"; font-family: "Font Awesome 6 Brands"; color: #0077b5; } /* أيقونة لينكدإن */
.nph-icon-youtube::before { content: "\f167"; font-family: "Font Awesome 6 Brands"; color: #ff0000; } /* أيقونة يوتيوب */
.nph-icon-blog::before { content: "\f781"; font-family: "Font Awesome 6 Free"; color: #ff6b6b; }
.nph-icon-wikipedia::before { content: "\f266"; font-family: "Font Awesome 6 Brands"; color: #636e72; } /* أيقونة ويكيبيديا */
.nph-icon-trustpilot::before { content: "\f4fe"; font-family: "Font Awesome 6 Free"; color: #00b67a; }
.nph-icon-customer_service::before { content: "\f0c0"; font-family: "Font Awesome 6 Free"; color: #f72585; }
.nph-icon-hosting_plans::before { content: "\f233"; font-family: "Font Awesome 6 Free"; color: #7209b7; }
.nph-icon-data_centers::before { content: "\f0c2"; font-family: "Font Awesome 6 Free"; color: #52b788; }
.nph-icon-privacy_policy::before { content: "\f3ed"; font-family: "Font Awesome 6 Free"; color: #e76f51; }
.nph-icon-support_rating::before { content: "\f164"; font-family: "Font Awesome 6 Free"; color: #ffbe0b; }
.nph-icon-provider_rating::before { content: "\f005"; font-family: "Font Awesome 6 Free"; color: #fb5607; }
.nph-icon-awards::before { content: "\f091"; font-family: "Font Awesome 6 Free"; color: #ffd60a; }

/* قسم الجوائز */
.nph-provider-display-awards {
    flex-direction: column;
    align-items: flex-start;
}

.nph-provider-display-awards-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    width: 100%;
}

.nph-provider-display-awards-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    color: #475569;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    position: relative;
    padding-left: 20px;
}

.nph-provider-display-awards-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    color: #ffd60a;
    position: absolute;
    left: 0;
}

/* دعم RTL */
[dir="rtl"] .nph-provider-display-container {
    text-align: right;
}

[dir="rtl"] .nph-provider-display-item {
    text-align: right;
}

[dir="rtl"] .nph-provider-display-awards {
    align-items: flex-end;
}

[dir="rtl"] .nph-provider-display-awards-list li {
    padding-right: 20px;
    padding-left: 0;
}

[dir="rtl"] .nph-provider-display-awards-list li::before {
    left: auto;
    right: 0;
}

/* الاستجابة */
@media (max-width: 768px) {
    .nph-provider-display-grid {
        grid-template-columns: 1fr;
    }
    .nph-provider-display-details {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .nph-provider-display-container {
        padding: 15px;
    }
    .nph-provider-display-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    [dir="rtl"] .nph-provider-display-item {
        align-items: flex-start;
    }
}