/* VIP section heading icon (vip_sm.png is 900px — must be constrained) */
.navtitle h2 {
    font-family: var(--wased-font, "IBM Plex Sans Arabic", Tahoma, sans-serif);
    font-size: 18px;
    font-weight: 100;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fede8a;
}

.navtitle h2 img.vip_image,
img.vip_image {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    object-fit: contain;
}

/* Site shell: header, footer */
body {
    padding-bottom: 0;
}

#header-scroll.wased-header,
#header-scroll.wased-header.h-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: auto !important;
    line-height: normal !important;
    background: var(--wased-header-bg, #0a0a0a);
    border-bottom: 1px solid rgba(3, 165, 136, 0.4);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    font-family: var(--wased-font, "IBM Plex Sans Arabic", Tahoma, sans-serif);
}

#header-scroll.wased-header.h-fixed {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.wased-header__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 8px 0;
}

.wased-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wased-header__logo img {
    height: 52px;
    width: auto;
    display: block;
}

.wased-header__toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--wased-accent, #fede8a);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

.wased-header__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    flex: 1;
    justify-content: center;
}

.wased-header__nav a {
    color: var(--wased-accent, #fede8a);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 2px;
}

.wased-header__nav a:hover {
    color: #fff;
}

.wased-header__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.wased-header__user {
    color: var(--wased-accent, #fede8a);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 120px;
}

.wased-header__user span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wased-header__link {
    color: #ccc;
    font-size: 13px;
}

.wased-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    line-height: 1.35 !important;
    height: 38px;
    min-width: 88px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    vertical-align: middle;
    border: 0;
    cursor: pointer;
}

.wased-header__btn--register {
    background: #fede8a;
    color: #111 !important;
}

.wased-header__btn--register:hover {
    background: #ffe9a8;
    color: #000 !important;
}

.wased-header__btn--register i {
    font-size: 18px;
}

.wased-header__btn--login {
    background: transparent;
    color: var(--wased-accent, #fede8a) !important;
    border: 1px solid rgba(254, 222, 138, 0.45);
}

.wased-header__btn--login:hover {
    background: rgba(254, 222, 138, 0.12);
    color: #fff !important;
    border-color: var(--wased-accent, #fede8a);
}

.wased-header__btn--logout {
    background: transparent;
    color: var(--wased-accent, #fede8a) !important;
    border: 1px solid rgba(254, 222, 138, 0.45);
    min-width: 72px;
}

.wased-header__btn--logout:hover {
    background: rgba(254, 222, 138, 0.12);
    color: #fff !important;
    border-color: var(--wased-accent, #fede8a);
}

#header-scroll.wased-header.h-fixed .wased-header__btn {
    height: 38px;
    line-height: 1.35 !important;
    padding: 0 16px;
}

#header-scroll.wased-header.h-fixed .wased-header__bar {
    min-height: 64px;
    padding: 6px 0;
}

#header-scroll.wased-header.h-fixed .wased-header__logo img {
    height: 46px;
    transition: height 0.2s ease;
}

.wased-search-advanced-wrap {
    text-align: center;
    margin: 6px 0 0;
}

.wased-search-advanced {
    background: transparent;
    border: 0;
    color: #fede8a;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.wased-footer {
    background: var(--wased-footer-bg, #111);
    color: #bbb;
    border-top: 1px solid #2a2a2a;
    padding: 32px 0 24px;
    margin-top: 24px;
    font-family: var(--wased-font, "IBM Plex Sans Arabic", Tahoma, sans-serif);
}

.wased-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.wased-footer__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: normal;
    color: var(--wased-accent, #fede8a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.wased-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wased-footer__list li {
    margin-bottom: 6px;
}

.wased-footer__list a {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
}

.wased-footer__list a:hover {
    color: var(--wased-accent, #fede8a);
}

.wased-footer__list--cols {
    columns: 2;
    column-gap: 20px;
}

.wased-footer__copy {
    margin: 24px 0 0;
    text-align: center;
    font-size: 13px;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

#wrap.outtermainpage {
    padding-top: 72px;
}

.profile_user {
    padding-top: 24px;
}

.wased-profile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 480px;
    margin: 20px auto 8px;
    padding: 0 12px;
}

.wased-profile-actions__row {
    display: grid;
    gap: 12px;
    width: 100%;
}

.wased-profile-actions__row--pair {
    grid-template-columns: repeat(2, minmax(120px, 150px));
    justify-content: center;
}

.wased-profile-actions__row--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wased-profile-actions__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
    padding: 16px 10px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    text-decoration: none;
    color: #222;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wased-profile-actions__card:hover {
    border-color: #03a588;
    box-shadow: 0 4px 16px rgba(3, 165, 136, 0.14);
    color: #111;
}

.wased-profile-actions__card:active {
    transform: scale(0.98);
}

.wased-profile-actions__card i {
    font-size: 28px;
    line-height: 1;
    color: #03a588;
}

.wased-profile-actions__card img {
    display: block;
    width: 28px;
    height: 28px;
}

.wased-profile-actions__card span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.wased-profile-actions__card--vip {
    background: linear-gradient(180deg, #fffbeb, #fff);
    border-color: #fede8a;
}

.wased-profile-actions__card--static {
    cursor: default;
}

.wased-profile-actions__card--static:hover {
    border-color: #e8e8e8;
    box-shadow: none;
    transform: none;
}

@media (max-width: 400px) {
    .wased-profile-actions__row--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 300px;
        margin: 0 auto;
    }
}

#block-search-form {
    margin-bottom: 12px;
}

#footer-fixed {
    display: none !important;
}

@media (min-width: 768px) {
    .wased-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .wased-footer__list--cols {
        columns: 2;
    }
}

@media (min-width: 992px) {
    .wased-header__bar {
        min-height: 80px;
    }

    .wased-header__logo img {
        height: 60px;
    }

    #header-scroll.wased-header.h-fixed .wased-header__logo img {
        height: 52px;
    }

    #wrap.outtermainpage {
        padding-top: 80px;
    }
}

@media (max-width: 991px) {
    .wased-header__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .wased-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--wased-header-bg, #0a0a0a);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 16px;
        border-bottom: 1px solid rgba(3, 165, 136, 0.35);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .wased-header__nav.is-open {
        display: flex;
    }

    .wased-header__nav a {
        padding: 10px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wased-header__bar {
        flex-wrap: wrap;
        position: relative;
    }
}

/* Legal / static pages */
.wased-legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 4px 32px;
    line-height: 1.85;
    color: #1e293b;
    font-size: 16px;
    text-align: right;
}

.wased-legal-page h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.15rem;
    color: #0f172a;
    border-bottom: 2px solid #03a588;
    padding-bottom: 6px;
}

.wased-legal-page p,
.wased-legal-page ul {
    margin-bottom: 1rem;
}

.wased-legal-page ul {
    padding-right: 1.25rem;
}

.wased-legal-page a {
    color: #03a588;
    text-decoration: underline;
}

.wased-legal-page em {
    color: #64748b;
    font-size: 14px;
}

/* Profile share modal */
.wased-share-modal .wased-share-modal__inner {
    padding: 20px 16px 24px;
}

.wased-share-modal__title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.wased-share-modal__subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.wased-share-native,
.wased-share-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.wased-share-native {
    background: #03a588;
    color: #fff;
}

.wased-share-copy {
    background: #f1f5f9;
    color: #0f172a;
}

.wased-share-native:hover,
.wased-share-copy:hover {
    opacity: 0.92;
}

.wased-share-copy-feedback {
    margin: -4px 0 12px;
    font-size: 13px;
    color: #03a588;
}

.wased-share-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.wased-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 72px;
    padding: 12px 8px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.wased-share-btn i {
    font-size: 26px;
}

.wased-share-btn:active {
    transform: scale(0.97);
}

.wased-share-btn--whatsapp { background: #25d366; }
.wased-share-btn--telegram { background: #229ed9; }
.wased-share-btn--facebook { background: #1877f2; }
.wased-share-btn--twitter { background: #1da1f2; }

.wased-share-qr {
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.wased-share-qr__label {
    margin: 0 0 12px;
    font-size: 15px;
    color: #334155;
}

.wased-share-qr img {
    border-radius: 10px;
    background: #fff;
}

@media (min-width: 480px) {
    .wased-share-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wased-share-btn {
        min-height: 80px;
    }
}

    select {
        height: 25px;
        padding: 0 3px;
        border-radius: 0;
        cursor: pointer;
        border-color: #e4e4e4 #d2d2d2 #b4b4b4;
        float: right;
        margin-left: 10px;
        border: 0;
        background: rgba(255, 255, 255, .2);
        color: #DDD;
        font-family: "JF Flat Regular"
    }

    select option {
        color: #000
    }

    #myModal {
        direction: rtl;
        font-family: "JF Flat Regular", Helvetica, Arial, sans-serif
    }

    #myModal.fade {
        display: none
    }

    #myModal.in {
        z-index: 99999999;
        display: block;
        position: relative;
    }

    #myModal>.closee {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(0, 0, 0, .3)
    }

    .w3-modal {
        z-index: 3;
        /*! display:none; */
        padding-top: 70px;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, .4)
    }

    .w3-modal-content {
        margin: auto;
        background-color: #fff;
        position: relative;
        padding: 0;
        outline: 0;
        width: 400px;
        direction: rtl
    }

    @media (max-width:600px) {
        .w3-modal-content {
            width: 80% !important
        }

        .w3-modal {
            padding-top: 40px
        }

        .w3-dropdown-hover.w3-mobile .w3-dropdown-content,
        .w3-dropdown-click.w3-mobile .w3-dropdown-content {
            position: relative
        }

        .w3-hide-small {
            isplay: none !important
        }

        .w3-mobile {
            display: block;
            width: 100% !important
        }

        .w3-bar-item.w3-mobile,
        .w3-dropdown-hover.w3-mobile,
        .w3-dropdown-click.w3-mobile {
            text-align: center
        }

        .w3-dropdown-hover.w3-mobile,
        .w3-dropdown-hover.w3-mobile .w3-btn,
        .w3-dropdown-hover.w3-mobile .w3-button,
        .w3-dropdown-click.w3-mobile,
        .w3-dropdown-click.w3-mobile .w3-btn,
        .w3-dropdown-click.w3-mobile .w3-button {
            width: 100%
        }
    }

    @media (max-width:768px) {
        .w3-modal-content {
            width: 400px
        }

        .w3-modal {
            padding-top: 60px
        }
    }

    @media (min-width:993px) {
        .w3-hide-large {
            display: none !important
        }

        .w3-sidebar.w3-collapse {
            display: block !important
        }
    }

    .w3-teal,
    .w3-hover-teal:hover {
        color: #fff !important;
        background-color: #2d3131 !important;
        font-size: 18px;
        margin-top: 10px;
        font-weight: 500;
        margin-bottom: 10px
    }

    .w3-container,
    .w3-panel {
        padding: .01em 16px;
        text-align: right
    }

    .w3-container:after,
    .w3-container:before,
    .w3-panel:after,
    .w3-panel:before,
    .w3-row:after,
    .w3-row:before,
    .w3-row-padding:after,
    .w3-row-padding:before,
    .w3-cell-row:before,
    .w3-cell-row:after,
    .w3-clear:after,
    .w3-clear:before,
    .w3-bar:before,
    .w3-bar:after {
        content: "";
        display: table;
        clear: both
    }

    .w3-display-topleft {
        position: absolute;
        left: 6px;
        top: 4px
    }

    .w3-display-topright {
        position: absolute;
        right: 0;
        top: 0
    }

    .close1:not(:disabled):not(.disabled) {
        cursor: pointer
    }

    .close1 {
        float: right;
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        text-shadow: 0 1px 0 #fff
    }

    .nam1 {
        font-size: 2rem;
        color: #000
    }
