﻿.payment-home {
    direction: rtl;
    padding: 10px 0 50px;
}

.simple-header {
    background: linear-gradient( 135deg, #123c69, #1f758f );
    color: #ffffff;
    border-radius: 18px;
    padding: 26px 30px;
    margin: 15px 0 28px;
    position: relative;
    overflow: hidden;
}

    .simple-header::before {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
        left: -50px;
        top: -80px;
    }

    .simple-header::after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        left: 120px;
        bottom: -70px;
    }

    .simple-header > div {
        position: relative;
        z-index: 1;
    }

.header-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 13px;
    margin-bottom: 10px;
    font-size: 13px;
}

.simple-header h1 {
    font-size: 29px;
    font-weight: 800;
    margin: 0 0 7px;
}

.simple-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.user-types-section {
    margin-bottom: 34px;
}

.centers-section {
    margin-bottom: 30px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

.section-title {
    margin: 0 0 4px;
    color: #173653;
    font-size: 21px;
    font-weight: 800;
}

.section-subtitle {
    margin: 0;
    color: #7a8791;
    font-size: 14px;
}

.user-type-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(125px, 1fr));
    gap: 10px;
}

.user-type-tab {
    min-height: 84px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 13px;
    padding: 12px 8px;
    color: #273f55;
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

    .user-type-tab:hover {
        color: #16728d;
        border-color: #82b9ca;
        background: #f9fcfd;
        transform: translateY(-2px);
    }

    .user-type-tab.active {
        background: #1a7892;
        border-color: #1a7892;
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(26, 120, 146, 0.22);
    }

.tab-icon {
    font-size: 21px;
    line-height: 1;
}

.tab-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.centers-heading {
    margin-bottom: 13px;
}

.centers-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.centers-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eaf5f8;
    color: #176d85;
    border-radius: 20px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.center-search {
    width: 100%;
    max-width: 360px;
    position: relative;
}

    .center-search > i {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #87949d;
        pointer-events: none;
    }

    .center-search input {
        width: 100%;
        height: 43px;
        background: #ffffff;
        border: 1px solid #dce3e8;
        border-radius: 11px;
        padding: 0 42px 0 14px;
        color: #283d4e;
        font-size: 14px;
        outline: none;
        transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

        .center-search input::placeholder {
            color: #9aa4ab;
        }

        .center-search input:focus {
            border-color: #2788a3;
            box-shadow: 0 0 0 3px rgba(39, 136, 163, 0.1);
        }

.centers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.center-card {
    min-height: 76px;
    background: #ffffff;
    border: 1px solid #e0e6ea;
    border-radius: 12px;
    padding: 12px;
    color: #283d4e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

    .center-card:hover {
        color: #156f89;
        border-color: #8fc2d0;
        background: #fbfdfe;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(29, 77, 96, 0.08);
    }

.center-card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: #eaf5f8;
    color: #18809b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.center-card-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.center-card-arrow {
    color: #a1acb3;
    font-size: 12px;
    transition: color 0.18s ease, transform 0.18s ease;
}

.center-card:hover .center-card-arrow {
    color: #18809b;
    transform: translateX(-2px);
}

.empty-centers {
    background: #ffffff;
    border: 1px dashed #cbd5db;
    border-radius: 15px;
    padding: 45px 20px;
    text-align: center;
    color: #70808b;
}

    .empty-centers > i {
        display: inline-block;
        color: #9ba8b0;
        font-size: 38px;
        margin-bottom: 12px;
    }

    .empty-centers h3 {
        margin: 0 0 7px;
        color: #334b5e;
        font-size: 18px;
        font-weight: 800;
    }

    .empty-centers p {
        margin: 0;
        font-size: 14px;
    }

.d-none {
    display: none !important;
}

@media (max-width: 1200px) {

    .user-type-tabs {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }

    .centers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .centers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .payment-home {
        padding-top: 0;
    }

    .simple-header {
        border-radius: 14px;
        padding: 22px 20px;
        margin-top: 10px;
    }

        .simple-header h1 {
            font-size: 24px;
        }

        .simple-header p {
            font-size: 14px;
        }

    .user-type-tabs {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .section-title {
        font-size: 19px;
    }

    .centers-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .center-search {
        max-width: none;
    }

    .centers-count {
        align-self: flex-start;
    }
}

@media (max-width: 520px) {

    .user-type-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .user-type-tab {
        min-height: 78px;
        padding: 10px 6px;
    }

    .tab-title {
        font-size: 12px;
    }

    .centers-grid {
        grid-template-columns: 1fr;
    }

    .center-card {
        min-height: 70px;
    }
}
/* =============================================================
   Layout العام لنظام الدفع
   ============================================================= */

html,
body {
    min-height: 100%;
}


/* =============================================================
   خلفية الصفحة
   ============================================================= */
.bu-layout-body {
    margin: 0;
    padding: 0 5%;
    direction: rtl;
    background: #022658;
}


/* =============================================================
   Wrapper العام
   ============================================================= */
.bu-page-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* =============================================================
   Header
   ============================================================= */
.bu-header {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}


/* =============================================================
   Banner
   ============================================================= */
.bu-banner {
    display: block;
    width: 100%;
    height: auto;
}

/* =============================================================
   محتوى الصفحة
   ============================================================= */
.bu-main-content {
    width: 100%;
    min-height: 100vh;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 25px;
    background: #ffffff;
    border-radius: 8px;
}


/* =============================================================
   Footer
   ============================================================= */
.bu-footer {
    width: 100%;
    margin-top: 15px;
    background: #ffffff;
    border-top: 1px solid #022658;
    font-size: 15px;
    font-weight: 600;
}


    /* =============================================================
   Footer Link
   ============================================================= */
    .bu-footer a {
        color: #022658;
    }


/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 768px) {

    .bu-layout-body {
        padding: 0 10px;
    }

    .bu-main-content {
        padding: 15px;
    }

    .bu-banner {
        max-height: 180px;
    }
}