.branch-profile-page,
html,
body {
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

.branch-profile-page {
    width: min(1160px, calc(100% - 36px));
    margin: 34px auto 88px;
    color: #172033;
}



.branch-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #778195;
    font-size: 12px;
}

.branch-breadcrumb a {
    color: #6f5720;
    text-decoration: none;
}

.branch-breadcrumb a:hover {
    color: var(--gold-premium, #b68d2e);
}

.branch-breadcrumb i {
    color: #aab1bd;
    font-size: 9px;
}

.branch-profile-hero {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 300px;
    padding: 52px 58px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.09), transparent 28%),
        linear-gradient(135deg, #101b31 0%, #1d3153 62%, #293f63 100%);
    color: #fff;
    box-shadow: 0 24px 55px rgba(16, 27, 49, 0.18);
}

.branch-profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(7, 20, 39, 0.38) 0%, rgba(13, 34, 63, 0.56) 48%, rgba(10, 27, 52, 0.82) 100%);
    pointer-events: none;
}

.branch-map-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #1d3153;
}

.branch-map-tiles {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(5, 256px);
    gap: 0;
    width: 1280px;
    height: 768px;
    direction: ltr;
    transform: translate(
        calc(-50% + var(--map-shift-x, 0px)),
        calc(-50% + var(--map-shift-y, 0px))
    ) scale(1.06);
    transform-origin: center;
    filter: grayscale(0.08) saturate(0.96) contrast(1.08) brightness(1.08);
}

.branch-map-tiles img {
    display: block;
    width: 257px;
    height: 257px;
    margin-right: -1px;
    margin-bottom: -1px;
    max-width: none;
    backface-visibility: hidden;
}

.branch-map-attribution {
    position: absolute;
    bottom: 9px;
    left: 13px;
    z-index: 3;
    padding: 2px 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.62);
    color: rgba(20, 39, 65, 0.82);
    font: 500 7.5px/1.3 Arial, sans-serif;
    text-decoration: none;
    direction: ltr;
    opacity: 0.72;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.branch-map-attribution:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #172033;
    opacity: 1;
    text-decoration: underline;
}

.branch-profile-hero::after {
    content: '';
    position: absolute;
    inset: auto -120px -180px auto;
    width: 390px;
    height: 390px;
    z-index: 1;
    border: 1px solid rgba(206, 166, 67, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(206, 166, 67, 0.045), 0 0 0 90px rgba(206, 166, 67, 0.025);
}

.branch-profile-hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.branch-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(222, 186, 91, 0.38);
    border-radius: 999px;
    background: rgba(206, 166, 67, 0.12);
    color: #f3d98c;
    font-size: 12px;
    font-weight: 700;
}

.branch-profile-hero h1 {
    margin: 0 0 13px;
    color: #fff;
    font: 800 clamp(30px, 4vw, 49px) / 1.35 'Cairo', sans-serif;
    text-shadow: 0 3px 18px rgba(5, 14, 28, 0.42);
}

.branch-profile-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.95;
    text-shadow: 0 2px 12px rgba(5, 14, 28, 0.38);
}

.branch-profile-hero__mark {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 138px;
    height: 138px;
    flex: 0 0 138px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.07);
    color: #d7b351;
    font-size: 55px;
    transform: rotate(-4deg);
    backdrop-filter: blur(8px);
}

.branch-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 22px;
    margin-top: 24px;
}

.branch-profile-card {
    padding: 30px;
    border: 1px solid rgba(20, 31, 54, 0.09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
}

.branch-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid #edf0f4;
}

.branch-card-heading__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(182, 141, 46, 0.18), rgba(182, 141, 46, 0.06));
    color: var(--gold-premium, #b68d2e);
    font-size: 18px;
}

.branch-card-heading span {
    display: block;
    margin-bottom: 3px;
    color: #9a7a2b;
    font-size: 10.5px;
    font-weight: 700;
}

.branch-card-heading h2 {
    margin: 0;
    color: var(--navy-corporate, #141f36);
    font: 750 18px / 1.5 'Cairo', sans-serif;
}

.branch-card-heading--compact {
    margin-bottom: 18px;
}

.branch-head-profile-large {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.branch-head-photo {
    position: relative;
    width: 190px;
    aspect-ratio: 1;
    padding: 7px;
    border: 1px solid rgba(182, 141, 46, 0.3);
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #f5f0e4);
    box-shadow: 0 15px 35px rgba(20, 31, 54, 0.12);
}

.branch-head-photo::after {
    content: '';
    position: absolute;
    inset: 12px -8px -8px 12px;
    z-index: -1;
    border-radius: 24px;
    background: rgba(182, 141, 46, 0.12);
}

.branch-head-photo img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.branch-head-photo--placeholder img {
    padding: 24px;
    background: #fff;
    object-fit: contain;
}

.branch-head-copy > span {
    color: #a17a1d;
    font-size: 11px;
    font-weight: 700;
}

.branch-head-copy h3 {
    margin: 6px 0 8px;
    color: var(--navy-corporate, #141f36);
    font: 800 25px / 1.45 'Cairo', sans-serif;
}

.branch-head-copy p {
    margin: 0 0 20px;
    color: #687386;
    font-size: 13px;
    line-height: 1.9;
}

.branch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.branch-button--primary {
    background: linear-gradient(135deg, #b68d2e, #d2ad50);
    color: #fff;
    box-shadow: 0 8px 20px rgba(182, 141, 46, 0.2);
}

.branch-button--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(182, 141, 46, 0.28);
}

.branch-contact-list {
    margin: 0;
}

.branch-contact-list > div {
    padding: 16px 2px;
    border-bottom: 1px solid #edf0f4;
}

.branch-contact-list > div:last-child {
    border-bottom: 0;
}

.branch-contact-list dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #8290a3;
    font-size: 10.5px;
    font-weight: 700;
}

.branch-contact-list dt i {
    width: 16px;
    color: var(--gold-premium, #b68d2e);
    text-align: center;
}

.branch-contact-list dd {
    margin: 0 24px 0 0;
    color: var(--navy-corporate, #141f36);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.7;
}

.branch-contact-list a {
    color: var(--navy-corporate, #141f36);
    text-decoration: none;
}

.branch-contact-list a:hover {
    color: var(--gold-premium, #b68d2e);
}

.branch-information-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px;
    margin-top: 17px;
    border: 1px solid rgba(182, 141, 46, 0.18);
    border-radius: 13px;
    background: rgba(182, 141, 46, 0.055);
    color: #6f5720;
}

.branch-information-note i {
    margin-top: 4px;
    color: var(--gold-premium, #b68d2e);
}

.branch-information-note p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.8;
}

.branch-directory-back {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 20px;
    margin-top: 22px;
    border-top: 1px solid #edf0f4;
    color: #765a18;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.branch-directory-back:hover {
    color: var(--gold-premium, #b68d2e);
}

.branch-training-plan {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(20, 31, 54, 0.09);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.075);
}

.branch-training-plan__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 38px 76px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(135deg, #0d192d, #1b3154 68%, #263f66);
    color: #fff;
}

.branch-training-plan__heading {
    max-width: 760px;
}

.branch-training-plan__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #e0bd61;
    font-size: 11.5px;
    font-weight: 700;
}

.branch-training-plan__header h2 {
    margin: 0 0 10px;
    color: #fff;
    font: 800 clamp(23px, 3vw, 34px) / 1.55 'Cairo', sans-serif;
}

.branch-training-plan__header p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.73);
    font-size: 13px;
    line-height: 1.9;
}

.branch-training-plan__year {
    display: grid;
    place-items: center;
    min-width: 112px;
    min-height: 104px;
    padding: 13px;
    border: 1px solid rgba(221, 183, 84, 0.34);
    border-radius: 20px;
    background: rgba(206, 166, 67, 0.1);
    text-align: center;
}

.branch-training-plan__header-actions {
    flex: 0 0 auto;
    display: grid;
    gap: 10px;
}

.branch-training-plan__print {
    min-height: 42px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(221, 183, 84, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, #c3932e, #ddb755);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    color: #101b2c;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.branch-training-plan__print:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.23);
}

.branch-training-plan__year small {
    color: #e8ce84;
    font-size: 10px;
}

.branch-training-plan__year strong {
    display: block;
    color: #fff;
    font-size: 27px;
    line-height: 1.2;
}

.branch-training-plan__summary {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: -45px 28px 0;
}

.branch-training-plan__summary > div {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 90px;
    padding: 17px 18px;
    border: 1px solid rgba(182, 141, 46, 0.13);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.branch-training-plan__summary i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(182, 141, 46, 0.1);
    color: var(--gold-premium, #b68d2e);
    font-size: 16px;
}

.branch-training-plan__summary span {
    color: #748095;
    font-size: 12px;
    line-height: 1.45;
}

.branch-training-plan__summary strong {
    display: block;
    color: var(--navy-corporate, #141f36);
    font-size: 21px;
}

.branch-training-plan__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 27px 28px 18px;
}

.branch-plan-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    flex: 1;
    padding: 0 15px;
    border: 1px solid #e1e6ed;
    border-radius: 12px;
    background: #fbfcfd;
    color: #9a7a2b;
}

.branch-plan-search input {
    width: 100%;
    min-height: 45px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font: 500 13.5px 'Cairo', sans-serif;
}

.branch-plan-filter {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
}

.branch-plan-filter select {
    min-height: 45px;
    padding: 0 13px;
    border: 1px solid #e1e6ed;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: #172033;
    font: 600 13px 'Cairo', sans-serif;
}

.branch-plan-visible-count {
    color: #8792a5;
    font-size: 12px;
    white-space: nowrap;
}

.branch-training-plan__table-wrap {
    margin: 0 28px;
    overflow-x: auto;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
}

.branch-training-plan__table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    background: #fff;
}

.branch-training-plan__table th {
    padding: 17px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #172842;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12.5px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.branch-training-plan__table td {
    padding: 17px 15px;
    border-bottom: 1px solid #edf0f4;
    color: #59667a;
    font-size: 13.25px;
    line-height: 1.75;
    vertical-align: middle;
}

.branch-training-plan__table tbody tr:last-child td {
    border-bottom: 0;
}

.branch-training-plan__table tbody tr:hover td {
    background: #fcfaf4;
}

.branch-training-plan__table tbody tr:nth-child(even) td {
    background: #fbfcfe;
}

.branch-training-plan__table tbody tr:nth-child(even):hover td {
    background: #fcfaf4;
}

.branch-plan-sequence {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(182, 141, 46, 0.1);
    color: #8a6717;
    font-weight: 800;
}

.branch-plan-code {
    display: inline-block;
    padding: 5px 8px;
    border: 1px solid #dce2ea;
    border-radius: 8px;
    background: #f7f9fb;
    color: #233552;
    font: 800 12px 'Cairo', sans-serif;
}

.branch-plan-course-name {
    min-width: 300px;
    color: #172033 !important;
    font-size: 13.75px !important;
    font-weight: 800;
}

.branch-plan-category-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(182, 141, 46, 0.09);
    color: #806116;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.branch-plan-no-results {
    padding: 45px 20px;
    color: #8a95a6;
    text-align: center;
}

.branch-plan-no-results i {
    margin-bottom: 10px;
    color: #b68d2e;
    font-size: 24px;
}

.branch-plan-no-results p {
    margin: 0;
    font-size: 13px;
}

.branch-training-plan__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0 30px;
    margin: 18px 0 26px;
    color: #7c8798;
    font-size: 12.5px;
    line-height: 1.8;
}

.branch-training-plan__note i {
    margin-top: 4px;
    color: var(--gold-premium, #b68d2e);
}

.branch-plan-registration-heading,
.branch-plan-registration-cell {
    text-align: center !important;
}

.branch-plan-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 104px;
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid #b68d2e;
    border-radius: 11px;
    background: linear-gradient(135deg, #caa23f, #a87d20);
    box-shadow: 0 8px 18px rgba(182, 141, 46, 0.2);
    color: #fff;
    cursor: pointer;
    font: 800 12.5px 'Cairo', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.branch-plan-register-button:hover,
.branch-plan-register-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(182, 141, 46, 0.28);
    filter: brightness(1.04);
}

.branch-plan-register-button:focus-visible {
    outline: 3px solid rgba(182, 141, 46, 0.25);
    outline-offset: 3px;
}

.branch-plan-registration-closed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 104px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 11px;
    background: #f8fafc;
    color: #64748b;
    font: 700 12px 'Cairo', sans-serif;
    user-select: none;
}

.branch-plan-registration-closed-badge i {
    font-size: 11px;
    opacity: 0.75;
}

body.branch-registration-open {
    overflow: hidden;
}

.branch-plan-registration-dialog {
    position: fixed !important;
    inset: 50% auto auto 50% !important;
    width: min(94vw, 860px);
    max-width: 860px;
    max-height: calc(100dvh - 32px);
    padding: 0;
    margin: 0 !important;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(229, 238, 250, 0.14);
    box-shadow:
        0 38px 110px rgba(4, 12, 25, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(28px) saturate(1.28);
    -webkit-backdrop-filter: blur(28px) saturate(1.28);
    color: #172033;
    direction: rtl;
    overscroll-behavior: contain;
    transform: translate(-50%, -50%) !important;
    scrollbar-color: rgba(182, 141, 46, 0.55) transparent;
    scrollbar-width: thin;
}

.branch-plan-registration-dialog:not([open]) {
    display: none;
}

.branch-plan-registration-dialog::backdrop {
    background: rgba(4, 12, 25, 0.58);
    backdrop-filter: blur(6px) saturate(0.88);
    -webkit-backdrop-filter: blur(6px) saturate(0.88);
}

.branch-registration-modal {
    position: relative;
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    grid-template-areas: "intro form";
    min-height: 550px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 26px;
    background: rgba(238, 244, 252, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px) saturate(1.22);
    -webkit-backdrop-filter: blur(24px) saturate(1.22);
    direction: ltr;
    text-align: right;
}

.branch-registration-modal__close {
    position: absolute;
    z-index: 5;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.branch-registration-modal__close:hover,
.branch-registration-modal__close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(4deg);
}

.branch-registration-modal__close:focus-visible {
    outline: 3px solid rgba(225, 190, 94, 0.35);
    outline-offset: 3px;
}

.branch-registration-intro {
    position: relative;
    grid-area: intro;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 72px 28px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 5%, rgba(219, 181, 78, 0.25), transparent 31%),
        linear-gradient(155deg, rgba(28, 53, 89, 0.88) 0%, rgba(16, 33, 59, 0.82) 54%, rgba(9, 21, 37, 0.88) 100%);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    color: #fff;
    direction: rtl;
}

.branch-registration-intro::before,
.branch-registration-intro::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(218, 181, 82, 0.18);
    border-radius: 50%;
}

.branch-registration-intro::before {
    width: 220px;
    height: 220px;
    right: -115px;
    bottom: -80px;
}

.branch-registration-intro::after {
    width: 150px;
    height: 150px;
    right: -78px;
    bottom: -44px;
}

.branch-registration-intro__mark {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border: 1px solid rgba(225, 190, 94, 0.3);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #e2bd5b;
    font-size: 23px;
}

.branch-registration-intro__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    padding: 6px 9px;
    margin-bottom: 12px;
    border: 1px solid rgba(225, 190, 94, 0.22);
    border-radius: 999px;
    color: #e5c66e;
    font-size: 10px;
    font-weight: 800;
}

.branch-registration-intro h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 9px;
    color: #fff;
    font: 800 20px/1.65 'Cairo', sans-serif;
}

.branch-registration-intro > p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 11.5px;
    line-height: 1.9;
}

.branch-registration-intro ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.branch-registration-intro li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10.5px;
    line-height: 1.7;
}

.branch-registration-intro li i {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(222, 185, 82, 0.14);
    color: #e0bd61;
    font-size: 8px;
}

.branch-registration-intro__branch {
    position: relative;
    z-index: 1;
    padding: 13px 14px;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.branch-registration-intro__branch span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
}

.branch-registration-intro__branch strong {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 11.5px;
    line-height: 1.6;
}

.branch-registration-intro__branch i {
    color: #dfb84f;
}

.branch-registration-form-panel {
    grid-area: form;
    min-width: 0;
    padding: 30px 34px 23px;
    background:
        radial-gradient(circle at 100% 0%, rgba(205, 165, 61, 0.15), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.76));
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
    direction: rtl;
}

.branch-registration-form-panel__header {
    display: block !important;
    padding-left: 8px;
}

.branch-registration-modal__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #9a741e;
    font-size: 10.5px;
    font-weight: 800;
}

.branch-registration-form-panel h2 {
    margin: 0 0 5px;
    color: #12213a;
    font: 800 24px/1.55 'Cairo', sans-serif;
}

.branch-registration-form-panel__header p {
    margin: 0;
    color: #728096;
    font-size: 11.5px;
    line-height: 1.8;
}

.branch-registration-course {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    margin: 16px 0 17px;
    border: 1px solid rgba(182, 141, 46, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(252, 250, 245, 0.74), rgba(255, 255, 255, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.branch-registration-course__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(182, 141, 46, 0.11);
    color: #a67d20;
    font-size: 15px;
}

.branch-registration-course div {
    min-width: 0;
}

.branch-registration-course small {
    display: block;
    margin-bottom: 2px;
    color: #9a8670;
    font-size: 9px;
    font-weight: 700;
}

.branch-registration-course strong {
    display: block;
    overflow: hidden;
    color: #172842;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.branch-registration-course bdi {
    padding: 6px 9px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    color: #263956;
    font-size: 10.5px;
    font-weight: 800;
}

#branch-plan-registration-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.branch-registration-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.branch-registration-field > span:first-child {
    color: #314158;
    font-size: 11px;
    font-weight: 800;
}

.branch-registration-field b {
    color: #b68d2e;
}

.branch-registration-input {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    background: rgba(251, 252, 254, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #a27c24;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.branch-registration-input:focus-within {
    border-color: #c39a39;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(182, 141, 46, 0.1);
}

.branch-registration-input input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font: 600 12.5px 'Cairo', sans-serif;
}

.branch-registration-input input[dir="ltr"] {
    text-align: right;
}

.branch-registration-consent,
.branch-registration-status,
.branch-registration-submit {
    grid-column: 1 / -1;
}

.branch-registration-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid #edf0f4;
    border-radius: 11px;
    background: rgba(248, 250, 252, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #657287;
    cursor: pointer;
    font-size: 10.5px;
    line-height: 1.7;
}

.branch-registration-consent input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 2px;
    accent-color: #b68d2e;
}

.branch-registration-consent a {
    color: #8f6b19;
    font-weight: 800;
}

.branch-registration-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 49px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #1b355a, #0b1729);
    box-shadow: 0 12px 26px rgba(16, 32, 56, 0.2);
    color: #fff;
    cursor: pointer;
    font: 800 12.5px 'Cairo', sans-serif;
}

.branch-registration-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #274a7a, #0b1729);
}

.branch-registration-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.branch-registration-status {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
}

.branch-registration-status--error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #a61b29;
}

.branch-registration-success {
    display: grid;
    place-items: center;
    min-height: 285px;
    padding: 24px 10px;
    text-align: center;
}

.branch-registration-success[hidden] {
    display: none;
}

.branch-registration-success > i {
    color: #1f9d68;
    font-size: 52px;
}

.branch-registration-success h3 {
    margin: 10px 0 4px;
    color: #14243d;
    font-size: 22px;
}

.branch-registration-success p {
    max-width: 390px;
    margin: 0 0 15px;
    color: #66758a;
    font-size: 12.5px;
    line-height: 1.8;
}

.branch-registration-success button {
    min-width: 130px;
    min-height: 42px;
    border: 1px solid #d8dee8;
    border-radius: 11px;
    background: #fff;
    color: #172842;
    cursor: pointer;
    font: 800 12px 'Cairo', sans-serif;
}

.branch-registration-modal__privacy {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 13px;
    margin: 14px 0 0 !important;
    border-top: 1px solid #edf0f4;
    color: #8490a1 !important;
    font-size: 9.5px !important;
    line-height: 1.6;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .branch-plan-registration-dialog,
    .branch-registration-modal {
        background: #eef3f9;
    }

    .branch-registration-intro {
        background: linear-gradient(155deg, #1c3559 0%, #10213b 54%, #091525 100%);
    }

    .branch-registration-form-panel {
        background: #f9fbfe;
    }
}

.branch-registration-modal__privacy i {
    color: #b68d2e;
}

.branch-registration-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .branch-plan-registration-dialog {
        width: min(calc(100vw - 24px), 560px);
        max-height: calc(100dvh - 24px);
        border-radius: 22px;
    }

    .branch-registration-modal {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "form";
        min-height: 0;
        border-radius: 22px;
    }

    .branch-registration-intro {
        display: none;
    }

    .branch-registration-modal__close {
        top: 14px;
        left: 14px;
        border-color: #e2e7ee;
        background: #fff;
        color: #66758a;
        box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08);
    }
}

@media (max-height: 650px) and (min-width: 761px) {
    .branch-registration-intro {
        padding-top: 58px;
    }

    .branch-registration-intro ul {
        gap: 8px;
        margin: 15px 0;
    }

    .branch-registration-form-panel {
        padding-top: 22px;
        padding-bottom: 17px;
    }
}

.branch-not-found {
    max-width: 720px;
    padding: 64px 35px;
    margin: 50px auto;
    border: 1px solid rgba(20, 31, 54, 0.09);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
    text-align: center;
}

.branch-not-found__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: rgba(182, 141, 46, 0.1);
    color: var(--gold-premium, #b68d2e);
    font-size: 31px;
}

.branch-eyebrow {
    margin: 0 0 7px;
    color: #9a7a2b;
    font-size: 11px;
    font-weight: 700;
}

.branch-not-found h1 {
    margin: 0 0 10px;
    color: var(--navy-corporate, #141f36);
    font: 800 30px 'Cairo', sans-serif;
}

.branch-not-found > p:not(.branch-eyebrow) {
    margin: 0 0 25px;
    color: #738095;
}

@media (max-width: 900px) {
    .branch-profile-hero {
        height: auto !important;
        min-height: 260px !important;
        padding: 42px 36px;
    }

    .branch-profile-hero__mark {
        width: 104px;
        height: 104px;
        flex-basis: 104px;
        font-size: 40px;
    }

    .branch-profile-layout {
        grid-template-columns: 1fr;
    }

    .branch-training-plan__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .branch-training-plan__controls {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .branch-profile-page {
        width: min(100% - 24px, 1160px);
        margin-top: 22px;
    }

    .branch-breadcrumb {
        overflow: hidden;
        white-space: nowrap;
    }

    .branch-breadcrumb span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .branch-profile-hero {
        min-height: 245px !important;
        padding: 34px 24px;
        border-radius: 21px;
    }

    .branch-profile-hero::before {
        background: linear-gradient(90deg, rgba(7, 20, 39, 0.48), rgba(10, 27, 52, 0.84));
    }

    .branch-map-attribution {
        bottom: 7px;
        left: 9px;
        font-size: 7px;
    }

    .branch-profile-hero__mark {
        display: none;
    }

    .branch-profile-card {
        padding: 22px;
        border-radius: 18px;
    }

    .branch-card-heading {
        align-items: flex-start;
    }

    .branch-card-heading h2 {
        font-size: 16px;
    }

    .branch-head-profile-large {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .branch-head-photo {
        width: 170px;
        margin: 0 auto;
    }

    .branch-head-copy p {
        font-size: 12px;
    }

    .branch-training-plan {
        border-radius: 20px;
    }

    .branch-training-plan__header {
        flex-direction: column;
        padding: 28px 23px 66px;
    }

    .branch-training-plan__header-actions {
        width: 100%;
        grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .branch-training-plan__print {
        min-height: 82px;
        text-align: center;
    }

    .branch-training-plan__year {
        min-width: 100px;
        min-height: 82px;
    }

    .branch-training-plan__summary {
        gap: 9px;
        margin: -38px 13px 0;
    }

    .branch-training-plan__summary > div {
        min-height: 82px;
        padding: 13px;
    }

    .branch-training-plan__summary i {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .branch-training-plan__summary strong {
        font-size: 18px;
    }

    .branch-training-plan__controls {
        align-items: stretch;
        padding: 22px 14px 15px;
    }

    .branch-plan-search,
    .branch-plan-filter {
        width: 100%;
        min-width: 0;
    }

    .branch-plan-filter {
        justify-content: space-between;
    }

    .branch-plan-filter select {
        flex: 1;
    }

    .branch-plan-visible-count {
        width: 100%;
    }

    .branch-training-plan__table-wrap {
        margin: 0 13px;
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .branch-training-plan__table,
    .branch-training-plan__table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .branch-training-plan__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .branch-training-plan__table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
        padding: 16px;
        margin-bottom: 12px;
        border: 1px solid #e5e9ef;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    }

    .branch-training-plan__table tr[hidden] {
        display: none;
    }

    .branch-training-plan__table td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        min-width: 0;
        padding: 0;
        border: 0;
        font-size: 13px;
    }

    .branch-training-plan__table td::before {
        content: attr(data-label);
        color: #929cad;
        font-size: 10px;
        font-weight: 700;
    }

    .branch-training-plan__table td:nth-child(3),
    .branch-training-plan__table td:nth-child(4),
    .branch-training-plan__table td:last-child {
        grid-column: 1 / -1;
    }

    .branch-plan-course-name {
        min-width: 0;
        font-size: 14px !important;
    }

    .branch-plan-register-button,
    .branch-plan-registration-closed-badge {
        width: 100%;
        min-height: 44px;
        font-size: 13px;
    }

    .branch-registration-form-panel {
        padding: 26px 20px 19px;
    }

    .branch-registration-form-panel h2 {
        padding-left: 34px;
        font-size: 21px;
    }

    .branch-registration-course {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    #branch-plan-registration-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .branch-registration-consent,
    .branch-registration-status,
    .branch-registration-submit {
        grid-column: 1;
    }

    .branch-training-plan__note {
        padding: 0 16px;
        margin-bottom: 22px;
    }
}
