@import url("../../components/popup/popup.css");
@import url("../../components/plans-chart/plans-chart.css");
.close.small {
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer; }
  .close.small:before {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 14px;
    height: 14px;
    background: url("../../img/gallery.png") right -469px no-repeat;
    opacity: .7; }
  .close.small:hover:before {
    opacity: 1; }

.text-notice {
  padding-bottom: 1.25rem; }

@media screen and (max-width: 767px) {
  .content-padding-negative {
    margin-left: -0.625rem;
    margin-right: -0.625rem; } }

input[type=button].cancel,
button.cancel {
  background: #ababab; }
  input[type=button].cancel:hover,
  button.cancel:hover {
    background: #bcbcbc; }

.icon.delete,
.icon.cancel,
.icon.manage,
.icon.crop,
.icon.rotate {
  width: 17px;
  height: 17px;
  background: url("../../img/gallery.png") right -489px no-repeat;
  cursor: pointer;
  opacity: 0.7;
  display: inline-block; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .icon.delete,
    .icon.cancel,
    .icon.manage,
    .icon.crop,
    .icon.rotate {
      background: url("../../img/@2x/gallery2.png") right -755px no-repeat;
      background-size: 40px auto; } }

.icon:hover {
  opacity: 1; }

.icon.manage {
  background-position: left -489px; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .icon.manage {
      background-position: 0 -755px; } }

.icon.crop {
  background-position: 0 -513px; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .icon.crop {
      background-position: right -776px; } }

svg.icon {
  background: transparent !important;
  fill: #565656; }

.my-profile-sidebar {
  position: relative; }
  .my-profile-sidebar .image-preview-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block; }
    .my-profile-sidebar .image-preview-wrapper input[type=file] {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      opacity: 0;
      bottom: 0;
      cursor: pointer;
      z-index: 1; }
    .my-profile-sidebar .image-preview-wrapper .image-preview {
      width: 110px;
      height: 140px;
      margin-bottom: 0.3125rem; }
      .my-profile-sidebar .image-preview-wrapper .image-preview img {
        width: 100%;
        height: 100%;
        background: var(--upload-zone-background-color);
        object-fit: contain; }
    .my-profile-sidebar .image-preview-wrapper #navigation {
      position: relative; }
      .my-profile-sidebar .image-preview-wrapper #navigation:not(.loaded) .icon {
        display: none; }
      .my-profile-sidebar .image-preview-wrapper #navigation.loading:after {
        content: attr(data-loading);
        position: absolute;
        text-align: center;
        width: 100%;
        height: 100%;
        left: 0;
        top: -3px; }
      .my-profile-sidebar .image-preview-wrapper #navigation.loading > * {
        visibility: hidden; }
    .my-profile-sidebar .image-preview-wrapper nav.icons {
      position: relative;
      z-index: 2; }
      .my-profile-sidebar .image-preview-wrapper nav.icons > * {
        margin-left: 5px; }
  .my-profile-sidebar .info {
    margin-top: 1.25rem; }
    .my-profile-sidebar .info .account-removing {
      margin-top: 20px; }
      @media screen and (max-width: 767px) {
        .my-profile-sidebar .info .account-removing a {
          width: 100%;
          text-align: center; } }
    @media screen and (min-width: 768px) and (max-width: 991px) {
      .my-profile-sidebar .info {
        margin-top: 0; } }

div.account-removing-popup-password div.field.error {
  padding-top: 10px; }

div.account-removing-popup-password input[name="account-removing-password-input"] {
  width: 100%;
  margin-top: 10px; }


/* ==========================================================
   BCASW - MY PROFILE
   COMPLETE CSS
   Replace the previous My Profile CSS with this file.
   CSS only. No JS. No HTML changes.
   ========================================================== */

body.my-profile-page {
    --bcasw-green: #174f41;
    --bcasw-green-dark: #103d33;
    --bcasw-green-mid: #28715e;
    --bcasw-green-soft: #edf7f3;
    --bcasw-green-soft-2: #f7fbf9;
    --bcasw-border: #d6e8e1;
    --bcasw-text: #18312a;
    --bcasw-muted: #60756e;
    --bcasw-danger: #a33b42;

    font-family: "Onest", sans-serif;
}


/* ==========================================================
   PAGE / GENERAL LAYOUT
   ========================================================== */

body.my-profile-page #main_container {
    background: var(--bcasw-green-soft-2);
}

body.my-profile-page .inside-container {
    max-width: 1320px;
}

body.my-profile-page #content {
    min-width: 0;
}

body.my-profile-page #content > h1 {
    color: var(--bcasw-green-dark);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 24px;
}


/* ==========================================================
   MAIN PROFILE CARD
   ========================================================== */

body.my-profile-page #controller_area {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bcasw-border);
    border-radius: 22px;
    box-shadow:
        0 18px 50px rgba(16, 61, 51, 0.06),
        0 3px 12px rgba(16, 61, 51, 0.03);
}

body.my-profile-page #controller_area > .content-padding {
    padding: 30px 32px 34px;
    background: #fff;
}

/* Remove old Flynax grey tab backgrounds */
body.my-profile-page #controller_area .tab_area,
body.my-profile-page #area_profile,
body.my-profile-page #area_account,
body.my-profile-page #area_membership {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* ==========================================================
   TABS
   ========================================================== */

body.my-profile-page ul.tabs.tabs-hash {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--bcasw-green-soft);
    border: 0;
}

body.my-profile-page ul.tabs.tabs-hash > li {
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body.my-profile-page ul.tabs.tabs-hash > li::before,
body.my-profile-page ul.tabs.tabs-hash > li::after,
body.my-profile-page ul.tabs.tabs-hash > li > a::before,
body.my-profile-page ul.tabs.tabs-hash > li > a::after {
    display: none !important;
}

body.my-profile-page ul.tabs.tabs-hash > li > a {
    display: block;
    padding: 12px 19px;
    border: 0 !important;
    border-radius: 11px;
    background: transparent;
    color: var(--bcasw-green-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

body.my-profile-page ul.tabs.tabs-hash > li > a:hover {
    background: rgba(255, 255, 255, .7);
    color: var(--bcasw-green-dark);
}

body.my-profile-page ul.tabs.tabs-hash > li.active > a {
    background: var(--bcasw-green);
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(23, 79, 65, .16);
}


/* ==========================================================
   FORMS / ROWS
   ========================================================== */

body.my-profile-page .tab_area form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.my-profile-page .tab_area form > .submit-cell,
body.my-profile-page .fieldset .submit-cell {
    display: grid;
    grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
    gap: 12px 24px;
    align-items: start;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 17px 0;

    border-bottom: 1px solid var(--bcasw-green-soft);
    box-sizing: border-box;
}

body.my-profile-page .tab_area form > .submit-cell:last-child {
    border-bottom: 0;
}

body.my-profile-page .submit-cell > .name {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 12px 0 0 !important;

    color: var(--bcasw-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

body.my-profile-page .submit-cell > .field {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.my-profile-page .submit-cell > .field.single-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}


/* ==========================================================
   INPUTS
   ========================================================== */

body.my-profile-page .tab_area input[type="text"],
body.my-profile-page .tab_area input[type="email"],
body.my-profile-page .tab_area input[type="password"],
body.my-profile-page .tab_area input[type="tel"],
body.my-profile-page .tab_area input[type="number"],
body.my-profile-page .tab_area textarea,
body.my-profile-page .fieldset input[type="text"],
body.my-profile-page .fieldset input[type="email"],
body.my-profile-page .fieldset input[type="password"],
body.my-profile-page .fieldset input[type="tel"],
body.my-profile-page .fieldset input[type="number"],
body.my-profile-page .fieldset textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px;

    padding: 10px 14px;

    border: 1px solid var(--bcasw-border) !important;
    border-radius: 11px !important;
    background: #fff !important;

    color: var(--bcasw-text);
    font-family: "Onest", sans-serif;
    font-size: 14px;

    box-shadow: none !important;
    outline: none;
    box-sizing: border-box !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


/* ==========================================================
   SELECTS
   IMPORTANT:
   Remove the Mac/Chrome native grey inner control and make
   the WHOLE select look exactly like the other BCASW inputs.
   ========================================================== */

body.my-profile-page .tab_area select,
body.my-profile-page .fieldset select {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;

    padding: 10px 42px 10px 14px !important;

    border: 1px solid var(--bcasw-border) !important;
    border-radius: 11px !important;

    color: var(--bcasw-text) !important;
    font-family: "Onest", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.3 !important;

    background-color: #fff !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23174f41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 7px !important;

    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}

body.my-profile-page .tab_area select:disabled,
body.my-profile-page .fieldset select:disabled {
    color: #87968f !important;
    background-color: #f1f5f3 !important;
    opacity: 1 !important;
}

body.my-profile-page .tab_area input:focus,
body.my-profile-page .tab_area select:focus,
body.my-profile-page .tab_area textarea:focus,
body.my-profile-page .fieldset input:focus,
body.my-profile-page .fieldset select:focus,
body.my-profile-page .fieldset textarea:focus {
    border-color: var(--bcasw-green-mid) !important;
    box-shadow: 0 0 0 4px rgba(40, 113, 94, .09) !important;
}


/* ==========================================================
   ACCOUNT SETTINGS
   HARD WIDTH LOCK FOR GEO / LANGUAGE FIELDS
   Prevent Country, Province, City and language fields from
   stretching outside the account card.
   ========================================================== */

body.my-profile-page #area_account {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.my-profile-page #area_account form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.my-profile-page #area_account .submit-cell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.my-profile-page #sf_field_country,
body.my-profile-page #sf_field_country_level1,
body.my-profile-page #sf_field_country_level2,
body.my-profile-page #sf_field_langs,
body.my-profile-page #sf_field_lang2,
body.my-profile-page #sf_field_lang3 {
    position: relative;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    overflow: hidden;
    box-sizing: border-box !important;
}

body.my-profile-page #sf_field_country > select,
body.my-profile-page #sf_field_country_level1 > select,
body.my-profile-page #sf_field_country_level2 > select,
body.my-profile-page #sf_field_langs > select,
body.my-profile-page #sf_field_lang2 > select,
body.my-profile-page #sf_field_lang3 > select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Covers wrappers if the autocomplete library creates one */
body.my-profile-page #sf_field_country > *:not(script),
body.my-profile-page #sf_field_country_level1 > *:not(script),
body.my-profile-page #sf_field_country_level2 > *:not(script),
body.my-profile-page #sf_field_langs > *:not(script),
body.my-profile-page #sf_field_lang2 > *:not(script),
body.my-profile-page #sf_field_lang3 > *:not(script) {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.my-profile-page #area_account .ui-selectmenu-button,
body.my-profile-page #area_account .select2-container,
body.my-profile-page #area_account .chosen-container,
body.my-profile-page #area_account .selectize-control,
body.my-profile-page #area_account .selectize-input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}


/* ==========================================================
   MEMBERSHIP NUMBER
   Main prominent member ID
   ========================================================== */

body.my-profile-page #area_account .submit-cell:has(#sf_field_membership_no) {
    display: grid;
    grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
    align-items: center;

    margin: 2px 0 25px;
    padding: 23px 26px;

    border: 0;
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(255, 255, 255, .14),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--bcasw-green-dark) 0%,
            var(--bcasw-green) 52%,
            var(--bcasw-green-mid) 100%
        );

    box-shadow: 0 13px 30px rgba(16, 61, 51, .16);
}

body.my-profile-page #area_account
.submit-cell:has(#sf_field_membership_no) > .name {
    padding: 0 !important;

    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.my-profile-page #sf_field_membership_no {
    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    color: #fff;
    overflow: visible;
}

body.my-profile-page #sf_field_membership_no b {
    display: inline-block;

    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: .055em;
    font-variant-numeric: tabular-nums;

    text-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}


/* ==========================================================
   PHONE
   ========================================================== */

body.my-profile-page #sf_field_phone {
    overflow: visible;
}

body.my-profile-page #sf_field_phone > div {
    width: 100%;
    max-width: 100%;
}

body.my-profile-page #sf_field_phone .phone-field {
    width: 100% !important;
    max-width: 320px !important;
}


/* ==========================================================
   RADIO OPTIONS
   ========================================================== */

body.my-profile-page .field.inline-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

body.my-profile-page .field.inline-fields .custom-input {
    margin: 0 !important;
}

body.my-profile-page .field.inline-fields .custom-input label {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 44px;
    margin: 0;
    padding: 9px 15px;

    border: 1px solid var(--bcasw-border);
    border-radius: 11px;
    background: var(--bcasw-green-soft-2);

    color: var(--bcasw-text);
    cursor: pointer;
}


/* ==========================================================
   CHECKBOX GROUPS
   ========================================================== */

body.my-profile-page .field.checkbox-field {
    width: 100% !important;
    max-width: 100% !important;
}

body.my-profile-page .field.checkbox-field > .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;

    width: 100%;
    margin: 0 !important;
}

body.my-profile-page .field.checkbox-field > .row > .custom-input {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.my-profile-page .field.checkbox-field > .row > .custom-input label {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    width: 100%;
    height: 100%;
    min-height: 43px;

    margin: 0;
    padding: 10px 12px;

    border: 1px solid var(--bcasw-border);
    border-radius: 10px;
    background: var(--bcasw-green-soft-2);

    color: var(--bcasw-text);
    font-size: 13px;
    line-height: 1.35;

    cursor: pointer;
    box-sizing: border-box;
}

body.my-profile-page .field.checkbox-field .checkbox_bar {
    margin-top: 10px;
    color: var(--bcasw-muted);
    font-size: 12px;
}

body.my-profile-page .field.checkbox-field .checkbox_bar a {
    color: var(--bcasw-green-mid);
    font-weight: 500;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

body.my-profile-page #controller_area input[type="submit"],
body.my-profile-page #controller_area input[type="button"],
body.my-profile-page #controller_area a.button:not(.warning) {
    min-height: 47px;
    padding: 11px 24px !important;

    border: 1px solid var(--bcasw-green) !important;
    border-radius: 11px !important;

    background: var(--bcasw-green) !important;
    color: #fff !important;

    font-family: "Onest", sans-serif;
    font-size: 14px;
    font-weight: 500;

    box-shadow: 0 6px 15px rgba(23, 79, 65, .13);

    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

body.my-profile-page #controller_area input[type="submit"]:hover,
body.my-profile-page #controller_area input[type="button"]:hover,
body.my-profile-page #controller_area a.button:not(.warning):hover {
    background: var(--bcasw-green-dark) !important;
    border-color: var(--bcasw-green-dark) !important;
    box-shadow: 0 8px 20px rgba(23, 79, 65, .18);
    transform: translateY(-1px);
}

body.my-profile-page .submit-cell .red {
    color: #b6424a !important;
}


/* ==========================================================
   PROFILE SETTINGS
   Remove empty agreement row and tighten email/save area
   ========================================================== */

body.my-profile-page #area_profile form {
    margin-bottom: 24px !important;
}

/* Empty Flynax agreement row */
body.my-profile-page #area_profile form > .submit-cell:nth-of-type(2) {
    display: none !important;
}

body.my-profile-page #area_profile form > .submit-cell:first-of-type {
    padding-top: 8px;
    padding-bottom: 18px;
}

body.my-profile-page #area_profile form > .submit-cell:last-of-type {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 0;
}

body.my-profile-page #area_profile form > .submit-cell:last-of-type .field {
    display: flex;
    justify-content: flex-start;
}


/* ==========================================================
   MANAGE PASSWORD
   Fix New Password being half width.
   Strength meter now sits cleanly BELOW the full-width input.
   ========================================================== */

body.my-profile-page .fieldset {
    overflow: hidden;

    margin-top: 24px;

    border: 1px solid var(--bcasw-border) !important;
    border-radius: 16px !important;

    background: #fff !important;
    box-shadow: none !important;
}

body.my-profile-page .fieldset > header {
    padding: 16px 19px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--bcasw-border) !important;

    background: var(--bcasw-green-soft) !important;
    color: var(--bcasw-green-dark) !important;

    font-size: 16px;
    font-weight: 500;
}

body.my-profile-page .fieldset > .body {
    padding: 8px 20px 18px;
    background: #fff !important;
}

body.my-profile-page #fs_change_password_area .field.two-inline.left {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.my-profile-page #fs_change_password_area .field.two-inline.left > div {
    display: block !important;
    float: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.my-profile-page #fs_change_password_area #new_password {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
}

body.my-profile-page #fs_change_password_area .password_strength {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 9px 0 0 !important;
}

body.my-profile-page #fs_change_password_area #pass_strength {
    margin-top: 5px;
    color: var(--bcasw-muted);
    font-size: 12px;
}

body.my-profile-page #fs_change_password_area .password_strength .scale {
    width: 100% !important;
    max-width: 240px;
}


/* ==========================================================
   PROFILE SIDEBAR
   ========================================================== */

body.my-profile-page section.side_block.my_profile_sidebar {
    overflow: hidden;

    border: 1px solid var(--bcasw-border);
    border-radius: 20px;
    background: #fff;

    box-shadow:
        0 14px 35px rgba(16, 61, 51, .06),
        0 2px 8px rgba(16, 61, 51, .03);
}

body.my-profile-page section.side_block.my_profile_sidebar > h3 {
    margin: 0;
    padding: 18px 20px;

    border: 0;

    background: var(--bcasw-green);
    color: #fff;

    font-size: 18px;
    font-weight: 500;
}

body.my-profile-page section.side_block.my_profile_sidebar > div {
    padding: 20px;
}

body.my-profile-page .my-profile-sidebar .image-preview {
    overflow: hidden;

    border: 4px solid var(--bcasw-green-soft);
    border-radius: 18px;

    background: var(--bcasw-green-soft);
}

body.my-profile-page .my-profile-sidebar .image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.my-profile-page .my-profile-sidebar #navigation {
    margin-top: 8px;
}

body.my-profile-page .my-profile-sidebar #navigation .link {
    color: var(--bcasw-green-mid);
    font-size: 13px;
    font-weight: 500;
}

body.my-profile-page .my-profile-sidebar .info {
    margin-top: 18px;
}

body.my-profile-page .my-profile-sidebar .table-cell {
    padding: 9px 0;
    border-bottom: 1px solid var(--bcasw-green-soft);
}

body.my-profile-page .my-profile-sidebar .table-cell .name {
    color: var(--bcasw-muted);
    font-size: 12px;
}

body.my-profile-page .my-profile-sidebar .table-cell .value {
    color: var(--bcasw-text);
    font-weight: 500;
}

body.my-profile-page .my-profile-sidebar .account-removing {
    margin-top: 18px;
}

body.my-profile-page .my-profile-sidebar .button.warning {
    border-radius: 10px !important;
    background: #fff5f5 !important;
    border: 1px solid #efd5d7 !important;
    color: var(--bcasw-danger) !important;
}


/* ==========================================================
   MEMBERSHIP TAB
   Remove the old grey right-side stats area completely.
   ========================================================== */

body.my-profile-page #area_membership {
    width: 100%;
    max-width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}

body.my-profile-page #area_membership .packages,
body.my-profile-page #area_membership .packages_single {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.my-profile-page #area_membership .packages > li,
body.my-profile-page #area_membership .packages_single > li {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.my-profile-page #area_membership .package__frame {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;

    margin: 0 !important;
    padding: 25px !important;

    border: 1px solid var(--bcasw-border) !important;
    border-radius: 17px !important;

    background: var(--bcasw-green-soft-2) !important;

    box-shadow: none !important;
    box-sizing: border-box !important;
}

/*
   This element is present in the HTML even when it contains
   no useful membership information. It created the grey strip
   on the right in the screenshot, so remove it completely.
*/
body.my-profile-page #area_membership .package__stats {
    display: none !important;

    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

body.my-profile-page #area_membership .package__name {
    color: var(--bcasw-green-dark);
    font-size: 22px;
    font-weight: 600;
}

body.my-profile-page #area_membership .package__price {
    color: var(--bcasw-green);
    font-size: 31px;
    font-weight: 600;
}

body.my-profile-page #area_membership .package__listing-info {
    min-width: 0;
}


/* ==========================================================
   SMALL UI DETAILS
   ========================================================== */

body.my-profile-page .notice_message {
    margin-top: 9px;
    padding: 11px 13px;

    border: 1px solid var(--bcasw-border);
    border-radius: 9px;

    background: var(--bcasw-green-soft-2);
}

body.my-profile-page .table-cell .name {
    color: var(--bcasw-muted);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    body.my-profile-page .inside-container {
        padding-top: 20px !important;
    }

    body.my-profile-page #content > h1 {
        margin-top: 20px;
        margin-bottom: 18px;
        font-size: 28px;
    }

    body.my-profile-page #controller_area {
        border-radius: 16px;
    }

    body.my-profile-page #controller_area > .content-padding {
        padding: 20px 17px 25px;
    }


    /* Tabs */

    body.my-profile-page ul.tabs.tabs-hash {
        flex-wrap: nowrap;
        overflow-x: auto;

        padding: 7px;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.my-profile-page ul.tabs.tabs-hash::-webkit-scrollbar {
        display: none;
    }

    body.my-profile-page ul.tabs.tabs-hash > li {
        flex: 0 0 auto;
    }

    body.my-profile-page ul.tabs.tabs-hash > li > a {
        padding: 11px 15px;
        white-space: nowrap;
    }


    /* Form rows */

    body.my-profile-page .tab_area form > .submit-cell,
    body.my-profile-page .fieldset .submit-cell {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;

        padding: 15px 0;
    }

    body.my-profile-page .submit-cell > .name {
        padding: 0 !important;
        font-size: 13px;
    }


    /* Membership Number */

    body.my-profile-page #area_account
    .submit-cell:has(#sf_field_membership_no) {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;

        margin-bottom: 21px;
        padding: 21px 20px;

        border-radius: 15px;
    }

    body.my-profile-page #sf_field_membership_no b {
        font-size: 31px;
        letter-spacing: .045em;
    }


    /* Inputs / selects */

    body.my-profile-page .tab_area input[type="text"],
    body.my-profile-page .tab_area input[type="email"],
    body.my-profile-page .tab_area input[type="password"],
    body.my-profile-page .tab_area input[type="tel"],
    body.my-profile-page .tab_area input[type="number"],
    body.my-profile-page .tab_area textarea,
    body.my-profile-page .tab_area select,
    body.my-profile-page .fieldset input,
    body.my-profile-page .fieldset select,
    body.my-profile-page .fieldset textarea {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.my-profile-page #sf_field_phone .phone-field {
        max-width: 100% !important;
    }


    /* Checkbox groups */

    body.my-profile-page .field.checkbox-field > .row {
        grid-template-columns: minmax(0, 1fr);
    }

    body.my-profile-page .field.checkbox-field
    > .row > .custom-input label {
        min-height: 44px;
    }


    /* Profile */

    body.my-profile-page #area_profile
    form > .submit-cell:last-of-type .field {
        display: block;
    }

    body.my-profile-page #area_profile
    form > .submit-cell:last-of-type input[type="submit"] {
        width: 100% !important;
    }


    /* Password */

    body.my-profile-page #fs_change_password_area .password_strength .scale {
        max-width: 100%;
    }


    /* Membership */

    body.my-profile-page #area_membership .package__frame {
        padding: 20px !important;
    }


    /* Sidebar */

    body.my-profile-page section.side_block.my_profile_sidebar {
        margin-bottom: 10px;
        border-radius: 16px;
    }

    body.my-profile-page section.side_block.my_profile_sidebar > div {
        padding: 17px;
    }

    body.my-profile-page .my-profile-sidebar .info {
        margin-top: 14px;
    }


    /* Main action button */

    body.my-profile-page .tab_area
    form > .submit-cell:last-child
    .field input[type="submit"] {
        width: 100%;
    }
}
