  /* =========================================
   Global
========================================= */

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: Cairo, sans-serif;
      }

      html {
        direction: rtl;
      }

      body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: #f3f5f8;
        font-family: Tahoma, Arial, sans-serif;
        color: #222222;
      }

      /* =========================================
   Navigation
========================================= */

      .apoc-navigation-wrapper {
        width: 100%;
        height: 70px;
        background: #ffffff;

        position: relative;
        z-index: 1000;

        box-shadow: 0 3px 10px rgba(17,46,78, 0.12);
        border-bottom: 3px solid #112e4e;
      }

      /* =========================================
   Navigation Container
========================================= */

      .apoc-navigation-container {
        width: 100%;
        height: 100%;

        position: relative;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding-left: 91px;
        padding-right: 141px;
      }

      /* =========================================
   Logo Area
========================================= */

      .apoc-brand-anchor {
        position: absolute;
        right: auto;
        left: 91px;
        top: 50%;
        transform: translateY(-50%);

        display: flex;
        align-items: center;
        gap: 10px;

        text-decoration: none;
        z-index: 10;
      }

      /* =========================================
   Logo Image
========================================= */

      .apoc-brand-image {
        width: auto;
        height: 64px;
        max-width: 140px;
        display: block;
        object-fit: contain;
      }

      .apoc-brand-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
      }

      .apoc-brand-text strong {
        font-size: 14px;
        font-weight: 800;
        color: #112e4e;
      }

      .apoc-brand-text small {
        font-size: 10px;
        color: #112e4e;
      }

      /* =========================================
   Menu Container
========================================= */

      .apoc-menu-container {
        position: absolute;

        right: 8%;
        top: 0;

        height: 100%;

        display: flex;
        align-items: center;

        gap: 47px;
      }

      /* =========================================
   Home Link
========================================= */

      .apoc-home-link {
        color: #112e4e;

        font-size: 15px;
        font-weight: 700;

        line-height: 1;

        text-decoration: none;

        white-space: nowrap;

        transition:
          color 0.25s ease,
          transform 0.25s ease;
      }

      /* =========================================
   Login Link
========================================= */

      .apoc-login-link {
        color: #112e4e;

        font-size: 15px;
        font-weight: 700;

        line-height: 1;

        text-decoration: none;

        white-space: nowrap;

        transition:
          color 0.25s ease,
          transform 0.25s ease;
      }

      /* =========================================
   Hover Effects
========================================= */

      .apoc-home-link:hover {
        color: #112e4e;
        transform: translateY(-1px);
      }

      .apoc-login-link:hover {
        color: #112e4e;
        transform: translateY(-1px);
      }

      /* =========================================
   Empty Page Content
========================================= */

      .apoc-page-content {
        width: 100%;
        min-height: calc(100vh - 106px);

        background: #ffffff;
      }

      /* =========================================
   Responsive Design
========================================= */

      @media (max-width: 900px) {
        .apoc-navigation-container {
          padding-left: 30px;
          padding-right: 30px;
        }

        .apoc-brand-anchor {
          left: 30px;
        }

        .apoc-menu-container {
          right: 30px;
          gap: 30px;
        }
      }

      @media (max-width: 600px) {
        .apoc-navigation-wrapper {
          height: 85px;
        }

        .apoc-navigation-container {
          padding-left: 20px;
          padding-right: 20px;
        }

        .apoc-brand-anchor {
          left: 20px;
          top: 50%;
        }

        .apoc-brand-image {
          width: auto;
          height: 54px;
          max-width: 100px;
        }

        .apoc-brand-text {
          display: none;
        }

        .apoc-menu-container {
          right: 20px;
          height: 85px;
          gap: 20px;
        }

        .apoc-home-link,
        .apoc-login-link {
          font-size: 14px;
        }
      }
      /* =========================================
   Main Page
========================================= */

      .main-page-wrapper {
        width: 100%;
        flex: 1 0 auto;

        display: flex;
        justify-content: center;
        align-items: flex-start;

        padding-top: 60px;
        padding-bottom: 50px;
      }

      /* =========================================
   Main Container
========================================= */

      .basic-data-container {
        width: 75%;
        min-height: 640px;

        background: #ffffff;

        border: 1px solid #d3dce8;
        border-top: 4px solid #112e4e;
        border-radius: 8px;

        box-shadow: 0 6px 24px rgba(17,46,78, 0.10);

        overflow: hidden;
      }

      /* =========================================
   Header
========================================= */

      .basic-header-area {
        height: 99px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        background: #ffffff;
      }

      .basic-main-heading {
        font-size: 25px;
        font-weight: 700;

        color: #112e4e;

        margin-bottom: 0px;
      }

      .basic-header-description {
        font-size: 15px;
        font-weight: 400;

        color: #112e4e;
      }

      /* =========================================
   Navigation
========================================= */

      .data-navigation-bar {
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: row;
        background: #e9eef5;
        align-content: center;
        align-items: center;
      }
      .navigation-account-button,
      .navigation-personal-button,
      .navigation-id-button,
      .navigation-address-button {
        height: 100%;
        flex: 1;

        position: relative;
        top: -2px;

        border: none;
        outline: none;

        background: transparent;

        color: #112e4e;
        font-size: 14px;
        font-family: Cairo, sans-serif;

        cursor: pointer;

        transition:
          background-color 0.3s ease,
          color 0.3s ease,
          box-shadow 0.3s ease;
      }

      .active-navigation-item {
        background: linear-gradient(135deg, #112e4e, #112e4e);

        color: #ffffff;

        border-radius: 3px;

        box-shadow: 0 7px 15px rgba(17,46,78, 0.35);
      }

      /* =========================================
   Content
========================================= */

      .basic-content-area {
        width: 100%;
        padding: 49px 23px 28px;
      }

      /* =========================================
   Information Message
========================================= */

      .account-information-message {
        width: 570px;
        min-height: 65px;
        margin: 0 auto;
        padding: 10px 14px;
        display: flex;
        gap: 7px;
        background: #e9eef5;
        border: 1px solid #d3dce8;
        border-radius: 4px;
        color: #112e4e;
        align-items: center;
      }

      .message-information-icon {
        margin-top: -3%;
        font-size: 15px;
        flex-shrink: 0;
      }

      .message-information-text {
        font-size: 12px;
        line-height: 1.8;

        text-align: right;
      }

      /* =========================================
   Fields
========================================= */

      .account-fields-wrapper {
        width: 100%;

        margin-top: 54px;

        display: flex;
        flex-direction: row;
        justify-content: center;

        gap: 22px;
      }

      /* =========================================
   Membership
========================================= */

      .membership-field-box {
        width: 167px;

        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .membership-icon-circle {
        width: 87px;
        height: 87px;

        border: 3px solid #d3dce8;
        border-radius: 50%;

        display: flex;
        justify-content: center;
        align-items: center;
      }

      .membership-icon {
        color: #112e4e;
        font-size: 26px;
      }

      .membership-field-title {
        margin-top: 17px;

        font-size: 14px;
        font-weight: 700;

        color: #112e4e;
      }

      /* =========================================
   License
========================================= */

      .license-field-box {
        width: 167px;

        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .license-icon-circle {
        width: 87px;
        height: 87px;

        border: 3px solid #d3dce8;
        border-radius: 50%;

        display: flex;
        justify-content: center;
        align-items: center;
      }

      .license-icon {
        color: #112e4e;
        font-size: 29px;
      }

      .license-field-title {
        margin-top: 17px;

        font-size: 14px;
        font-weight: 700;

        color: #112e4e;
      }

      /* =========================================
   Accountant
========================================= */

      .accountant-field-box {
        width: 167px;

        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .accountant-icon-circle {
        width: 87px;
        height: 87px;

        border: 3px solid #d3dce8;
        border-radius: 50%;

        display: flex;
        justify-content: center;
        align-items: center;
      }

      .accountant-icon {
        color: #112e4e;
        font-size: 25px;
      }

      .accountant-field-title {
        margin-top: 17px;

        font-size: 14px;
        font-weight: 700;

        color: #112e4e;
      }

      /* =========================================
   Member type selection
========================================= */

      .member-type-option {
        cursor: pointer;
        outline: none;
      }

      .member-type-option .membership-icon-circle,
      .member-type-option .license-icon-circle,
      .member-type-option .accountant-icon-circle {
        transition:
          background-color 0.25s ease,
          border-color 0.25s ease,
          box-shadow 0.25s ease;
      }

      .member-type-option:hover [class$="-icon-circle"],
      .member-type-option:focus-visible [class$="-icon-circle"] {
        border-color: #112e4e;
      }

      .member-type-option.selected [class$="-icon-circle"] {
        background: #112e4e;
        border-color: #112e4e;
        box-shadow: 0 0 0 4px rgba(17,46,78, 0.2);
      }

      .member-type-option.selected [class$="-icon-circle"] i {
        color: #ffffff;
      }

      .member-type-error {
        margin-top: 24px;
        text-align: center;
        color: #c0392b;
        font-size: 13px;
      }

      /* =========================================
   Bottom
========================================= */

      .content-bottom-divider {
        width: 100%;
        height: 1px;

        margin-top: 86px;

        background: #eeeeee;
      }

      .content-action-area {
        width: 100%;

        margin-top: 22px;

        display: flex;
        justify-content: flex-start;
      }

      .next-step-action-button {
        width: 105px;
        height: 32px;

        border: none;
        border-radius: 2px;

        background: #112e4e;

        color: #ffffff;

        font-family: Tahoma, Arial, sans-serif;
        font-size: 13px;

        cursor: pointer;

        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);

        transition:
          background-color 0.25s ease,
          transform 0.25s ease;
      }

      .next-step-action-button:hover {
        background: #112e4e;
      }

      .next-step-action-button:active {
        transform: translateY(1px);
      }

      /* =========================================
   Input Focus
========================================= */

      .membership-number-input:focus {
        outline: none;
      }

      /* =========================================
   Responsive
========================================= */

      @media (max-width: 760px) {
        .main-page-wrapper {
          padding: 15px;
        }

        .basic-data-container {
          width: 100%;
          min-height: auto;
        }

        .basic-content-area {
          padding-left: 18px;
          padding-right: 18px;
        }

        .account-information-message {
          width: 100%;
        }

        .account-fields-wrapper {
          gap: 10px;
        }

        .membership-field-box,
        .license-field-box,
        .accountant-field-box {
          width: 30%;
        }
      }

      @media (max-width: 550px) {
        .basic-main-heading {
          font-size: 18px;
        }

        .basic-header-description {
          font-size: 10px;
        }

        .account-fields-wrapper {
          flex-direction: column;
          align-items: center;
          gap: 35px;
        }

        .membership-field-box,
        .license-field-box,
        .accountant-field-box {
          width: 190px;
        }

        .content-bottom-divider {
          margin-top: 45px;
        }

        .data-navigation-bar {
          overflow-x: auto;
        }

        .navigation-account-button,
        .navigation-personal-button,
        .navigation-id-button,
        .navigation-address-button {
          min-width: 100px;
        }
      }
      /* =========================================================
   PERSONAL PANEL
========================================================= */

#personalPanel {
    width: 100%;
}

#personalPhotoInformation {
    width: 100%;
    height: 215px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 120px;

    background: #eeeeee;

    border-radius: 4px;
}

#personalPhotoArea {
    width: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;

    order: 2;
}

#personalPhotoCircle {
    width: 80px;
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 3px solid #cccccc;
    border-radius: 50%;

    background: #ffffff;

    overflow: hidden;
}

#personalPhotoIcon {
    font-size: 48px;
    color: #aaaaaa;
}

#personalPhotoTitle {
    margin-top: 10px;

    font-size: 13px;
    color: #333333;
}

#personalPhotoDescription {
    width: 270px;

    text-align: right;

    order: 1;
}

#personalPhotoHeading {
    margin-bottom: 12px;

    font-size: 17px;
    font-weight: 400;

    color: #333333;
}

#personalPhotoFirstText,
#personalPhotoSecondText {
    margin-top: 8px;

    font-size: 10px;
    line-height: 1.8;

    color: #999999;
}

#personalFieldsGrid {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 30px;
    direction: rtl;
}

.personal-field {
    position: relative;
    width: 100%;
    direction: rtl;
}

.personal-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #112e4e;
    text-align: right;
}

.personal-field .required-mark {
    color: #d93025;
    font-weight: 400;
}

.personal-field input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d3dce8;
    border-radius: 6px;
    outline: none;
    background: #f3f5f8;
    font-family: inherit;
    font-size: 13px;
    color: #222;
    direction: rtl;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.personal-field input[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.personal-field input::placeholder {
    color: #d3dce8;
    font-size: 12px;
}

.personal-field input:hover {
    border-color: #c9962b;
}

.personal-field input:focus {
    border-color: #112e4e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17,46,78, .15);
}

.personal-field input.validation-error {
    border-color: #d93025;
    background: #fff6f5;
}

.field-hint,
.field-error-message {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    text-align: right;
}

.field-hint { color: #5d6f85; }
.field-error-message { color: #d93025; }
.field-error-message[hidden] { display: none; }

/* Photo uploader */
#personalPhotoInput {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#personalPhotoButton {
    margin-top: 10px;
    padding: 7px 18px;
    border: 1px solid #112e4e;
    border-radius: 4px;
    color: #112e4e;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}

#personalPhotoButton:hover,
#personalPhotoInput:focus-visible + #personalPhotoButton {
    background: #112e4e;
    color: #fff;
}

#personalPhotoPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#personalPhotoInformation {
    height: auto;
    min-height: 215px;
    padding: 24px 0;
    background: #e9eef5;
}

#personalPhotoCircle {
    border-color: #d3dce8;
}

#personalPhotoIcon { color: #c9962b; }

#personalBottomLine {
    width: 100%;
    height: 1px;

    margin-top: 70px;

    background: #eeeeee;
}

#personalActions {
    width: 100%;

    margin-top: 22px;

    display: flex;
    justify-content: space-between;

    direction: ltr;
}

#personalNextButton,
#personalPreviousButton {
    width: 105px;
    height: 34px;

    border: none;
    border-radius: 2px;

    background: #112e4e;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;

    cursor: pointer;
}

#personalPreviousButton {
    order: -1;
}

/* =========================================================
   IDENTITY PANEL
========================================================= */

#identityPanel {
    width: 100%;
}

#identityFieldsGrid {
    width: 100%;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 30px;
    direction: rtl;
}

.personal-field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d3dce8;
    border-radius: 6px;
    outline: none;
    background: #f3f5f8;
    font-family: inherit;
    font-size: 13px;
    color: #222;
    direction: rtl;
    cursor: pointer;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.personal-field select:hover { border-color: #c9962b; }

.personal-field select:focus {
    border-color: #112e4e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17,46,78, .15);
}

.personal-field select.validation-error {
    border-color: #d93025;
    background: #fff6f5;
}

.personal-field input[type="date"] {
    text-align: right;
}

/* File upload */
.file-upload-box {
    min-height: 44px;
    padding: 0 8px 0 14px;
    border: 1px dashed #c9962b;
    border-radius: 6px;
    background: #f3f5f8;
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.file-upload-button {
    flex-shrink: 0;
    margin: 0 !important;
    padding: 6px 16px;
    border: 1px solid #112e4e;
    border-radius: 4px;
    background: #fff;
    color: #112e4e !important;
    font-size: 12px !important;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}

.file-upload-button:hover,
.file-upload-input:focus-visible + .file-upload-button {
    background: #112e4e;
    color: #fff !important;
}

.file-upload-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #5d6f85;
    direction: ltr;
    text-align: right;
}

.file-upload-input.validation-error ~ .file-upload-button {
    border-color: #d93025;
    color: #d93025 !important;
    background: #fff6f5;
}

.file-upload-box:has(.validation-error) {
    border-color: #d93025;
    background: #fff6f5;
}

#identityBottomLine {
    width: 100%;
    height: 1px;

    margin-top: 60px;

    background: #eeeeee;
}

#identityActions {
    width: 100%;

    margin-top: 22px;

    display: flex;
    justify-content: space-between;

    direction: ltr;
}

#identityNextButton,
#identityPreviousButton {
    width: 105px;
    height: 34px;

    border: none;
    border-radius: 3px;

    background: #112e4e;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

    cursor: pointer;
}

#identityPreviousButton {
    order: -1;
}

/* =========================================================
   ADDRESS PANEL
========================================================= */

#addressPanel {
    width: 100%;
}

#addressFieldsGrid {
    width: 100%;

    margin-top: 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 30px;
    row-gap: 38px;

    direction: rtl;
}

#stateField,
#mobileField,
#workPlaceField,
#jobField,
#addressDetailsField {
    position: relative;

    width: 100%;
}

#stateLabel,
#mobileLabel,
#workPlaceLabel,
#jobLabel,
#addressDetailsLabel {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    color: #222222;

    text-align: right;
}

#stateRequired,
#mobileRequired,
#addressDetailsRequired {
    color: red;
}

#stateSelect {
    width: 100%;
    height: 30px;

    padding: 0 8px;

    border: 1px solid #aaaaaa;
    border-radius: 4px;

    outline: none;

    background: #ffffff;

    color: #888888;

    font-family: Tahoma, Arial, sans-serif;

    font-size: 11px;
}

#stateSelect:focus {
    border-color: #112e4e;
}

/* Address normal inputs */

#workPlaceInput,
#jobInput,
#addressDetailsInput {
    width: 100%;
    height: 32px;

    border: none;
    border-bottom: 1px solid #d2d2d2;

    outline: none;

    background: transparent;

    font-family: Tahoma, Arial, sans-serif;

    font-size: 12px;

    direction: rtl;
}

#workPlaceInput:focus,
#jobInput:focus,
#addressDetailsInput:focus {
    border-bottom-color: #112e4e;
}

/* Phone Fields */

#mobileInputWrapper {
    width: 100%;
    height: 32px;

    display: flex;
    align-items: center;

    direction: ltr;

    border-bottom: 1px solid #d2d2d2;
}

#mobileCountryFlag {
    font-size: 18px;

    margin-right: 7px;
}

#mobileCountryArrow {
    color: #777777;

    font-size: 10px;

    margin-right: 7px;
}

#mobileInput {
    flex: 1;

    height: 30px;

    border: none;
    outline: none;

    background: transparent;

    font-family: Tahoma, Arial, sans-serif;

    font-size: 12px;

    direction: ltr;
}

#mobileInput::placeholder {
    color: #aaaaaa;
}

/* Address Details Full Width */

#addressDetailsField {
    grid-column: 1 / 3;
}

/* Bottom */

#addressBottomLine {
    width: 100%;
    height: 1px;

    margin-top: 92px;

    background: #eeeeee;
}

#addressActions {
    width: 100%;

    margin-top: 22px;

    display: flex;
    justify-content: space-between;

    direction: ltr;
}

#registerButton {
    width: 140px;
    height: 41px;

    border: none;
    border-radius: 3px;

    background: #112e4e;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

    cursor: pointer;

    order: 2;
}

#addressPreviousButton {
    width: 140px;
    height: 41px;

    border: none;
    border-radius: 3px;

    background: #112e4e;

    color: #ffffff;

    font-family: Tahoma, Arial, sans-serif;

    cursor: pointer;

    order: 1;
}

#registerButton:hover {
    background: #112e4e;
}

#addressPreviousButton:hover {
    background: #112e4e;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    #personalPhotoInformation {
        height: auto;

        padding: 25px 15px;

        gap: 30px;
    }

    #personalFieldsGrid,
    #identityFieldsGrid,
    #addressFieldsGrid {
        grid-template-columns: 1fr;
    }

    #addressDetailsField {
        grid-column: auto;
    }

    #personalBottomLine,
    #identityBottomLine,
    #addressBottomLine {
        margin-top: 45px;
    }
}

@media (max-width: 500px) {

    #personalPhotoInformation {
        flex-direction: column;
    }

    #personalPhotoArea,
    #personalPhotoDescription {
        order: initial;
        width: 100%;

        text-align: center;
    }

    #personalPhotoDescription {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #personalActions,
    #identityActions,
    #addressActions {
        gap: 15px;
    }

    #personalNextButton,
    #personalPreviousButton,
    #identityNextButton,
    #identityPreviousButton,
    #registerButton,
    #addressPreviousButton {
        width: 110px;
    }
}

/* =========================================================
   SITE FOOTER (matches main site identity)
========================================================= */
.site-footer {
    flex-shrink: 0;
    width: 100%;
    background: #112e4e;
    color: #ffffff;
    padding: 56px 0 24px;
    font-family: Cairo, sans-serif;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-brand-head img {
    width: auto;
    height: 112px;
    max-width: 220px;
    object-fit: contain;
}
.footer-brand-name {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
}
.footer-brand-sub {
    font-size: 12px;
    color: #112e4e;
}
.footer-tagline {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #9ca3af;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}
.footer-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 12px;
}
.footer-col a {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-col a:hover {
    color: #112e4e;
}
.footer-contact p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #9ca3af;
}
.footer-phone {
    text-align: right;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(201, 150, 43, 0.18);
    font-size: 13px;
    color: #6b7280;
}
.footer-secure i {
    margin-left: 6px;
    color: #112e4e;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   Phone-type fields (home / fax / office)
========================================================= */
#homePhoneField, #faxField, #officePhoneField { position: relative; width: 100%; }
#homePhoneLabel, #faxLabel, #officePhoneLabel {
    display: block; margin-bottom: 7px; font-size: 13px; color: #222222; text-align: right;
}
#homePhoneWrapper, #faxWrapper, #officePhoneWrapper {
    width: 100%; height: 32px; display: flex; align-items: center;
    direction: ltr; border-bottom: 1px solid #d2d2d2;
}
#homePhoneFlag, #faxFlag, #officePhoneFlag { font-size: 18px; margin-right: 7px; }
#homePhoneArrow, #faxArrow, #officePhoneArrow { color: #777777; font-size: 10px; margin-right: 7px; }
#homePhoneInput, #faxInput, #officePhoneInput {
    flex: 1; height: 30px; border: none; outline: none; background: transparent;
    font-family: Tahoma, Arial, sans-serif; font-size: 12px; direction: ltr;
}
#homePhoneInput::placeholder, #faxInput::placeholder, #officePhoneInput::placeholder { color: #aaaaaa; }
#homePhoneWrapper:focus-within, #faxWrapper:focus-within, #officePhoneWrapper:focus-within { border-bottom-color: #112e4e; }


/* Buttons use the site font (Cairo) */
.next-step-action-button,
#personalNextButton,
#personalPreviousButton,
#identityNextButton,
#identityPreviousButton,
#registerButton,
#addressPreviousButton {
    font-family: Cairo, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* Photo required state */
#personalPhotoInput.validation-error ~ #personalPhotoButton {
    border-color: #d93025;
    color: #d93025;
    background: #fff6f5;
}


/* Address panel */
#addressFieldsGrid {
    width: 100%;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 30px;
    direction: rtl;
}

#addressFieldsGrid .full-row { grid-column: 1 / 3; }

.phone-box {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid #d3dce8;
    border-radius: 6px;
    background: #f3f5f8;
    direction: ltr;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.phone-box:focus-within {
    border-color: #112e4e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17,46,78, .15);
}

.phone-box:has(.validation-error) {
    border-color: #d93025;
    background: #fff6f5;
}

.phone-prefix {
    flex-shrink: 0;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #d3dce8;
    background: #e9eef5;
    color: #112e4e;
    font-size: 13px;
    font-weight: 600;
}

.phone-box input {
    flex: 1;
    min-width: 0;
    height: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

@media (max-width: 700px) {
    #addressFieldsGrid { grid-template-columns: 1fr; }
    #addressFieldsGrid .full-row { grid-column: auto; }
}

/* Footer brand column: logo + tagline centered on the social-icons row */
.footer-brand { width: fit-content; }
.footer-tagline { text-align: center; }

/* أيقونات التواصل الجديدة (SVG جاهزة بإطار ولون الهوية) */
.footer-social a.sids-social-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: transparent;
    overflow: hidden;
}
.footer-social a.sids-social-icon:hover {
    background: transparent;
    transform: scale(1.1);
}
.footer-social a.sids-social-icon img { display: block; width: 100%; height: 100%; }
.footer-phone a { color: inherit; text-decoration: none; }
.footer-phone a:hover { color: #c9962b; }

/* أيقونات الفوتر: مربعات شفافة بحد رفيع وأيقونات بيضاء */
footer .sids-social,footer .footer-social{gap:.75rem;flex-wrap:nowrap}
footer .sids-social .sids-social-icon,footer .footer-social a.sids-social-icon{width:44px;height:44px;flex:0 0 auto;border:0;border-radius:9px;background:transparent;overflow:visible}
footer .sids-social .sids-social-icon img,footer .footer-social a.sids-social-icon img{width:44px !important;height:44px !important}
footer .sids-social .sids-social-icon:hover,footer .footer-social a.sids-social-icon:hover{background:rgba(255,255,255,.08)}
