/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-np2hsnc61u] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-np2hsnc61u] {
    flex: 1;
}

.sidebar[b-np2hsnc61u] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-np2hsnc61u] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-np2hsnc61u]  a, .top-row[b-np2hsnc61u]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-np2hsnc61u]  a:hover, .top-row[b-np2hsnc61u]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-np2hsnc61u]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-np2hsnc61u] {
        justify-content: space-between;
    }

    .top-row[b-np2hsnc61u]  a, .top-row[b-np2hsnc61u]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-np2hsnc61u] {
        flex-direction: row;
    }

    .sidebar[b-np2hsnc61u] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-np2hsnc61u] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-np2hsnc61u]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-np2hsnc61u], article[b-np2hsnc61u] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/Components/SiteFooter.razor.rz.scp.css */
/* تنسيق الحاوية الأم */
.footer-links-column[b-5f0iy5yb69] {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.column-title[b-5f0iy5yb69] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ربط الـ ::deep بالحاوية الأب لإجبار التنسيق */
.footer-links-column[b-5f0iy5yb69]  .footer-link-card {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    margin-bottom: 10px;
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid rgba(128, 128, 128, 0.1);
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

    .footer-links-column[b-5f0iy5yb69]  .footer-link-card:hover {
        background: var(--bs-primary) !important;
        color: white !important;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.25);
    }

/* تفاصيل اللينك */
.footer-links-column[b-5f0iy5yb69]  .link-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .footer-links-column[b-5f0iy5yb69]  .link-main i {
        font-size: 1.1rem;
        color: var(--bs-primary);
        transition: color 0.3s;
    }

.footer-links-column[b-5f0iy5yb69]  .footer-link-card:hover .link-main i {
    color: white !important;
}

/* الأيقونات والسهم */
.footer-links-column[b-5f0iy5yb69]  .arrow-icon {
    font-size: 0.8rem;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.footer-links-column[b-5f0iy5yb69]  .footer-link-card:hover .arrow-icon {
    opacity: 1;
}

/* تحكم الاتجاهات */
.rtl-dir[b-5f0iy5yb69] {
    direction: rtl;
}

.ltr-dir[b-5f0iy5yb69] {
    direction: ltr;
}

.rtl-dir .footer-links-column[b-5f0iy5yb69]  .footer-link-card:hover .arrow-icon {
    transform: translateX(-5px);
}

.ltr-dir .footer-links-column[b-5f0iy5yb69]  .footer-link-card:hover .arrow-icon {
    transform: rotate(180deg) translateX(-5px);
}

/* كارت PH */
.ph-compact-card[b-5f0iy5yb69] {
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid rgba(128, 128, 128, 0.1);
    padding: 15px;
    border-radius: 15px;
    width: 220px;
}

.ph-action-btn[b-5f0iy5yb69] {
    display: block;
    background: #ff6154;
    color: white !important;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.color-main[b-5f0iy5yb69] {
    color: inherit;
}

@media (max-width: 991px) {
    .footer-links-column[b-5f0iy5yb69] {
        max-width: 100%;
        padding: 0 15px;
    }
}
