﻿:root {
    --blue: #049ad3;
    --blue-dark: #0676a8;
    --gold: #f9ab1a;
    --ink: #232323;
    --muted: #6c7280;
    --bg: #f4f7f9;
    --border: #e3e9ed;
    --side: 274px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: "Tajawal",Arial,sans-serif;
    font-size: 15px
}

button, input, select, textarea {
    font-family: inherit
}

a {
    text-decoration: none
}

.text-blue {
    color: var(--blue) !important
}

.btn-mep {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 11px;
    font-weight: 700;
    padding: .7rem 1.2rem;
    box-shadow: 0 8px 18px rgba(4,154,211,.17)
}

    .btn-mep:hover, .btn-mep:focus {
        color: #fff;
        background: var(--blue-dark);
        border-color: var(--blue-dark)
    }

.btn-outline-mep {
    color: var(--blue);
    background: #fff;
    border: 1px solid rgba(4,154,211,.38);
    border-radius: 10px;
    font-weight: 700
}

    .btn-outline-mep:hover {
        color: #fff;
        background: var(--blue);
        border-color: var(--blue)
    }

.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 94px;
    padding: .55rem .8rem;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 11px;
    font-weight: 700
}

    .language-btn:hover {
        color: #fff;
        background: rgba(255,255,255,.18)
    }

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 15px 5px 15px 5px;
    background: linear-gradient(145deg,var(--gold),#ffc94e);
    box-shadow: 0 14px 30px rgba(249,171,26,.24)
}

.brand-word {
    font-size: 1.05rem;
    font-weight: 800
}

.brand-sub {
    font-size: .7rem;
    opacity: .68;
    letter-spacing: .09em
}

.login-screen {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 24px;
    background: radial-gradient(circle at 12% 20%,rgba(249,171,26,.22),transparent 28%),radial-gradient(circle at 90% 85%,rgba(4,154,211,.35),transparent 30%),linear-gradient(135deg,#092837,#064e6c 48%,#049ad3)
}

    .login-screen:before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .14;
        background-image: linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);
        background-size: 46px 46px
    }

.login-wrap {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 48px)
}

.login-brand {
    color: #fff;
    max-width: 520px
}

.login-title {
    font-size: clamp(2rem,5vw,3.65rem);
    line-height: 1.15;
    font-weight: 800;
    margin-top: 3rem
}

.login-copy {
    color: rgba(255,255,255,.76);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 490px
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .58rem .85rem;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px
}

    .feature-chip i {
        color: var(--gold)
    }

.login-card {
    width: 100%;
    max-width: 470px;
    border: 0;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 30px 70px rgba(4,21,29,.28)
}

.form-control, .form-select {
    min-height: 48px;
    border-color: var(--border);
    border-radius: 11px;
    background-color: #fff
}

    .form-control:focus, .form-select:focus {
        border-color: rgba(4,154,211,.7);
        box-shadow: 0 0 0 .23rem rgba(4,154,211,.12)
    }

.input-group .input-group-text {
    background: #fff;
    border-color: var(--border);
    color: var(--muted)
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: var(--side);
    z-index: 1030;
    color: #fff;
    background: linear-gradient(180deg,#063f58,#062d3d);
    border-inline-end: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column
}

.sidebar-head {
    padding: 24px 22px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.sidebar .nav {
    gap: 7px;
    padding: 20px 14px
}

.sidebar .nav-link {
    color: rgba(255,255,255,.72);
    border-radius: 12px;
    padding: .85rem .95rem;
    display: flex;
    align-items: center;
    gap: .82rem;
    font-weight: 600;
    position: relative
}

    .sidebar .nav-link i {
        font-size: 1.12rem;
        width: 24px;
        text-align: center
    }

    .sidebar .nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,.08)
    }

    .sidebar .nav-link.active {
        color: #fff;
        background: var(--blue);
        box-shadow: 0 10px 22px rgba(4,154,211,.24)
    }

        .sidebar .nav-link.active:after {
            content: "";
            position: absolute;
            inset-inline-end: -14px;
            width: 4px;
            height: 26px;
            background: var(--gold);
            border-radius: 6px
        }

.sidebar-user {
    margin-top: auto;
    padding: 17px 20px;
    border-top: 1px solid rgba(255,255,255,.1)
}

.avatar-sm {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 0px;
    border: 1px solid rgba(249,171,26,.7);
    padding: 3px;
}

.main-area {
    min-height: 100vh;
    margin-inline-start: var(--side)
}

.topbar {
    height: 76px;
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    padding: 0 30px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border)
}

    .topbar .language-btn {
        color: var(--ink);
        background: #f5f7f8;
        border-color: var(--border)
    }

.page-content {
    padding: 30px
}

.section-view {
    display: none;
    animation: fadeUp .28s ease both
}

    .section-view.active {
        display: block
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.page-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: .35rem
}

.page-kicker {
    color: var(--muted);
    margin: 0
}

.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 7px 24px rgba(13,21,37,.045)
}

.profile-cover {
    height: 145px;
    border-radius: 18px 18px 0 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg,#053f58,var(--blue))
}

    .profile-cover:after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border: 55px solid rgba(249,171,26,.22);
        border-radius: 50%;
        inset-inline-end: -70px;
        top: -115px
    }

.profile-avatar-wrap {
    margin-top: -58px;
    position: relative;
    z-index: 2;
    width: 118px
}

.profile-avatar {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 24px;
    border: 5px solid #fff;
    background: #eef4f6;
    box-shadow: 0 10px 25px rgba(13,21,37,.12)
}

.avatar-edit {
    position: absolute;
    bottom: -5px;
    inset-inline-end: -5px;
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer
}

.barcode-box {
    background: #fff;
    border: 1px dashed #cfd9df;
    border-radius: 16px;
    padding: 18px;
    text-align: center
}

    .barcode-box img {
        max-width: 100%;
        height: 112px;
        object-fit: contain
    }

.search-box {
    position: relative
}

    .search-box i {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        inset-inline-start: 16px;
        color: #89939d
    }

    .search-box .form-control {
        padding-inline-start: 44px
    }

.result-count {
    background: rgba(249,171,26,.13);
    color: #956000;
    border-radius: 999px;
    padding: .38rem .7rem;
    font-weight: 700
}

.exhibitor-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 17px;
    transition: .2s
}

    .exhibitor-card:before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 3px;
        background: linear-gradient(90deg,var(--blue),var(--gold));
        opacity: 0
    }

    .exhibitor-card:hover {
        transform: translateY(-4px);
        border-color: rgba(4,154,211,.35);
        box-shadow: 0 15px 32px rgba(13,21,37,.09)
    }

        .exhibitor-card:hover:before {
            opacity: 1
        }

.company-logo {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--blue-dark);
    background: rgba(4,154,211,.09);
    border-radius: 14px;
    font-weight: 800
}

.exhibitor-name {
    font-size: 1.03rem;
    font-weight: 800;
    margin: 0
}

.company-name {
    color: var(--muted);
    font-size: .9rem;
    margin: .15rem 0 0
}

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    padding: .35rem .62rem;
    color: #58616b;
    background: #f3f6f7;
    border-radius: 999px
}

.pagination .page-link {
    border-color: var(--border);
    color: var(--ink);
    border-radius: 9px !important;
    margin: 0 3px;
    min-width: 38px;
    text-align: center
}

.pagination .page-item.active .page-link {
    background: var(--blue);
    border-color: var(--blue)
}

.wizard-card {
    overflow: hidden
}

.wizard-head {
    padding: 24px;
    color: #fff;
    background: linear-gradient(120deg,#063f58,#067aa6)
}

.wizard-steps {
    display: flex;
    max-width: 700px;
    margin: auto;
    padding: 24px 24px 4px
}

.wizard-step {
    flex: 1;
    text-align: center;
    position: relative;
    color: #9aa4ad;
    font-size: .84rem;
    font-weight: 700
}

    .wizard-step:not(:last-child):after {
        content: "";
        position: absolute;
        top: 18px;
        width: calc(100% - 46px);
        height: 2px;
        background: #e3e8eb;
        inset-inline-start: calc(50% + 23px)
    }

.step-dot {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #edf1f3;
    color: #8d98a1;
    position: relative;
    z-index: 2
}

.wizard-step.active {
    color: var(--blue)
}

    .wizard-step.active .step-dot, .wizard-step.done .step-dot {
        color: #fff;
        background: var(--blue)
    }

.wizard-step.done:after {
    background: var(--blue)
}

.day-option, .time-option {
    position: relative
}

    .day-option input, .time-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none
    }

    .day-option label {
        cursor: pointer;
        display: block;
        padding: 18px 14px;
        text-align: center;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 15px
    }

    .day-option input:checked + label {
        color: var(--blue);
        background: rgba(4,154,211,.06);
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(4,154,211,.1)
    }

.day-number {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(105px,1fr));
    gap: 10px
}

.time-option label {
    display: block;
    cursor: pointer;
    padding: 11px 8px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 11px;
    font-weight: 700
}

.time-option input:checked + label {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue)
}

.time-option input:disabled + label {
    color: #b5bcc2;
    background: #f1f3f4;
    cursor: not-allowed;
    text-decoration: line-through
}

.selection-summary {
    background: #f6f9fa;
    border: 1px solid var(--border);
    border-radius: 14px
}

.booking-card {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px
}

    .booking-card + .booking-card {
        margin-top: 12px
    }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .7rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700
}

.status-pending {
    color: #9a6904;
    background: #fff4d9
}

.status-confirmed {
    color: #08734b;
    background: #def7eb
}

.status-cancelled {
    color: #9c3340;
    background: #fde6e9
}

.empty-state {
    text-align: center;
    padding: 55px 20px
}

.empty-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: var(--blue);
    background: rgba(4,154,211,.09);
    border-radius: 22px;
    font-size: 1.8rem
}

.password-meter {
    height: 5px;
    background: #edf0f2;
    overflow: hidden;
    border-radius: 999px
}

    .password-meter span {
        height: 100%;
        display: block;
        width: 0;
        border-radius: inherit;
        transition: .2s
    }

.mobile-nav {
    display: none
}

.toast-container {
    z-index: 2000
}

.required:after {
    content: " *";
    color: #dc3545
}
#profileName {
    font-size: 1.2rem!important;
}
.imgLogin {
height:130px;
}

@media(max-width: 991.98px) {
    .imgLogin {
        height: 50px;
    }

    .login-brand {
        text-align: center;
        margin: auto
    }

    .login-copy {
        margin-inline: auto
    }

    .login-title {
        margin-top: 1.8rem
    }

    .sidebar {
        display: none
    }

    .main-area {
        margin: 0;
        padding-bottom: 75px
    }

    .topbar {
        height: 68px;
        padding: 0 18px
    }

    .page-content {
        padding: 20px 16px
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 68px;
        z-index: 1040;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 22px rgba(13,21,37,.07)
    }

        .mobile-nav .nav-link {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            color: #7d8790;
            font-size: .68rem;
            padding: 5px 2px
        }

            .mobile-nav .nav-link i {
                font-size: 1.2rem
            }

            .mobile-nav .nav-link.active {
                color: var(--blue)
            }
}

@media(max-width: 575.98px) {
    .login-screen {
        padding: 14px
    }

    .login-wrap {
        min-height: calc(100vh - 28px)
    }

    .feature-list {
        display: none !important
    }

    .login-card {
        border-radius: 19px
    }

    .time-grid {
        grid-template-columns: repeat(2,minmax(105px,1fr))
    }

    .wizard-steps {
        padding-inline: 8px
    }

    .wizard-step {
        font-size: .72rem
    }

    .page-title {
        font-size: 1.35rem
    }
}
/* Mobile Login Fix */
@media (max-width: 767.98px) {

    html,
    body {
        min-height: 100%;
        overflow-x: hidden;
    }

    .login-screen {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 12px;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .login-wrap {
        display: block !important;
        min-height: auto;
    }

        .login-wrap > .row {
            width: 100% !important;
            margin: 0 !important;
            --bs-gutter-x: 0;
            --bs-gutter-y: 0;
        }

            .login-wrap > .row > div {
                width: 100%;
                padding-inline: 0 !important;
            }

    /* قسم الشعار والنص */
    .login-brand {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 12px;
        text-align: center;
    }

        .login-brand > .d-flex {
            justify-content: center !important;
        }

    .imgLogin {
        width: 100%;
        max-width: 340px;
        height: auto !important;
        max-height: 85px;
        object-fit: contain;
    }

    .login-title {
        max-width: 350px;
        margin: 12px auto 5px !important;
        font-size: 1.3rem !important;
        line-height: 1.35;
    }

    /* إخفاء النصوص الطويلة على الموبايل */
    .login-copy,
    .feature-list {
        display: none !important;
    }

    /* قسم نموذج الدخول */
    .login-wrap .col-md-8 {
        margin-top: 0 !important;
    }

        .login-wrap .col-md-8 > .d-flex {
            justify-content: center !important;
            margin-bottom: 10px !important;
        }

    .language-btn {
        padding: 7px 12px;
        font-size: 0.85rem;
    }

    .login-card {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        padding: 10px !important;
        border-radius: 18px;
    }

        .login-card .card-body {
            padding: 10px !important;
        }

        .login-card h2 {
            margin-bottom: 5px !important;
            font-size: 1.4rem;
        }

        .login-card .text-secondary {
            margin-bottom: 18px !important;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .login-card .input-group {
            flex-wrap: nowrap;
        }

        .login-card .form-control,
        .login-card .input-group-text,
        .login-card .js-toggle-password {
            min-height: 48px;
        }

        .login-card .form-control {
            min-width: 0;
            font-size: 16px;
        }

        .login-card .form-check {
            margin-top: 10px;
        }

        .login-card .btn-mep {
            min-height: 48px;
        }
}

@media (max-width: 380px) {

    .login-screen {
        padding: 8px;
    }

    .imgLogin {
        max-width: 290px;
        max-height: 72px;
    }

    .login-title {
        font-size: 1.15rem !important;
    }

    .login-card {
        padding: 7px !important;
        border-radius: 15px;
    }

        .login-card .card-body {
            padding: 8px !important;
        }
}