/*--------------------------------------------------*/
/* تنسيق صفحة الحملة (Portfolio) */
/*--------------------------------------------------*/

/* تاريخ نهاية الحملة - أخضر الشعار */
.campaign-end-date {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    border-right: 3px solid #388e3c;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.campaign-end-date strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 5px;
}

.campaign-end-date .date {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

/* الوصف المختصر */
.campaign-excerpt {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

/* الحسابات البنكية */
.campaign-bank-accounts {
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.campaign-bank-accounts strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.campaign-bank-accounts ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.campaign-bank-accounts li {
    margin-bottom: 5px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.campaign-bank-accounts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.campaign-bank-accounts .bank-name {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    line-height: 1;
    margin: 0;
}

.campaign-bank-accounts .bank-iban {
    font-family: monospace;
    font-size: 14px;
    color: #555;
    direction: ltr;
    display: inline-block;
    line-height: 1;
}

.campaign-bank-accounts .instapay-label {
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.campaign-bank-accounts .instapay-number {
    font-family: monospace;
    font-size: 14px;
    color: #555;
    direction: ltr;
    display: inline-block;
}

/* أرقام التواصل */
.campaign-contact {
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.campaign-contact strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.campaign-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.campaign-contact li {
    margin-bottom: 8px;
    font-size: 14px;
}

.campaign-contact li strong {
    display: inline;
    font-size: 14px;
    margin-bottom: 0;
    margin-left: 5px;
}

.campaign-contact a {
    color: #0066cc;
    text-decoration: none;
}

.campaign-contact a:hover {
    text-decoration: underline;
}

/* الشريط الجانبي */
.campaign-donation-sidebar {
    position: sticky;
    top: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* الصورة المميزة */
.portfolio-featured-image {
    margin-bottom: 30px;
	text-align: center;
}

.portfolio-featured-image img {
    width: 70%;
    height: auto;
    border-radius: 8px;
	display: inline-block;
}



/* زر النسخ للبنوك */
.bank-copy-btn,
.instapay-copy-btn {
    background: transparent;
    color: #666;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 4px;
}

.bank-copy-btn:hover,
.instapay-copy-btn:hover {
    color: #0066cc;
    transform: scale(1.1);
}

.bank-copy-btn:active,
.instapay-copy-btn:active {
    transform: scale(0.95);
}

.bank-copy-btn svg,
.instapay-copy-btn svg {
    width: 16px;
    height: 16px;
}

/* رسالة النسخ */
.instapay-copied {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4caf50;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: fadeInOut 1.5s ease;
    pointer-events: none;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* RTL Support */
[dir="rtl"] .campaign-end-date {
    border-right: none;
    border-left: 3px solid #388e3c;
}

/* Responsive */
@media (max-width: 768px) {
    .campaign-donation-sidebar {
        position: static;
        margin-top: 30px;
    }
}