/*    --- --- RESETS --- ---   */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

body * {
    scroll-margin-top: 50px;
}

.post, 
.page {
    margin: 0;
}

body > * {
    max-width: 1920px;
    margin: auto;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
    outline: 0;
    text-decoration: none;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-weight: 700;
}

p {
    line-height: 1.5;
}

ul,
ol {
    margin: 0;
    padding-left: 20px;
}

mark, 
ins {
    background: transparent;
}

fieldset {
    padding: 0 20px 20px;
}

body.logged-in .show-logged-out,
body:not(.logged-in) .show-logged-in {
    display: none;
}

.entry-footer {
    display: none;
}

.entry-content,
.hentry {
    margin: 0;
}

.clear:after,
.clear::before,
.clear::after,
.clear {
    clear: both;
}

.flex {
    display: flex;
}

.overflow-container {
    overflow: hidden;
}

#primary {
    margin-top: 75px;
    position: relative;
    margin-bottom: 75px;
}

.custom_animate {
    opacity: 0;
}

.custom_animate.custom_animation_in-complete {
    opacity: 1;
}

/*    --- ---   VARIABLES   --- ---    */

:root {
    --color-grey-1: #222222;
    --color-grey-2: #353535;
    --color-grey-3: #909090;
    --color-grey-4: #BBB8B8;
    --color-grey-5: #EBEBEB;
    --color-grey-6: #F2F1F1;
    --color-grey-7: #FBFAFA;

    --border-radius-large: 25px;
    --border-radius-small: 10px;

    --spacing-primary: 60px;
    --spacing-secondary: 50px;
    --spacing-tertiary: 25px;

    --fontsize-heading-primary: 36px;
    --fontsize-heading-secondary: 24px;
    --fontsize-heading-tertiary: 20px;
    --fontsize-heading-quarternary: 16px;
    --fontsize-body-normal: 16px;
    --fontsize-body-small: 12px;

    --fontfamily-body: "Helvetica Neue", sans-serif;
    --fontfamily-headings: "Helvetica Neue", sans-serif;

    color-scheme: only light;
}

/*    --- ---   DEFAULTS   --- ---    */
body {
    color: #000;
    font-family: var(--fontfamily-body);
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-family: var(--fontfamily-body);
}

h1 {
    font-size: var(--fontsize-heading-primary);
}

h2 {
    font-size: var(--fontsize-heading-secondary);
}

h3 {
    font-size: var(--fontsize-heading-tertiary);
}

h4 {
    font-size: var(--fontsize-heading-quarternary);
}

p {
    font-size: var(--fontsize-body-normal);
}

ul,
ol {
    margin: 0;
    padding-left: 20px;
    font-size: var(--fontsize-body-normal);
}

.max-width-container,
.max-width {
    margin-left: auto;
    margin-right: auto;
    max-width: 1065px;
    width: 90%;
}

.max-width-container .max-width-container,
.max-width .max-width {
    width: 100%;
}

header#masthead,
footer#colophon {
    background-color: black;
    padding: 35px 10px;
    color: white;
}

footer#colophon {
    padding: 0px;
}

header#masthead {
    display: flex;
    padding: 35px 100px !important;
}

.site-branding .custom-logo {
    width: 122px;
}

header#masthead a,
footer#colophon a {
    color: white;
    text-decoration: none;
}

header#masthead a:hover,
footer#colophon a:hover {
    text-decoration: underline;
}

#site-navigation ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 52px;
}

footer#colophon .site-info {
    display: flex;
    padding: 120px 150px;
    justify-content: space-between;
}

footer#colophon .sub-footer {
    display: flex;
    height: 66px;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    color: #FFF;
    text-transform: uppercase;
    font-optical-sizing: auto;
    font-size: 11px;
    border-top: 1px solid #fff;
    padding: 0 100px;
}

.footer-branding .custom-logo {
    width: 122px;
}

footer#colophon .sub-footer svg {
    width: 13px;
    height: 13px;
    vertical-align: text-top;
    margin-left: 10px;
}

#footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: end;
}

#footer-menu > li {
    position: relative;
}

#footer-menu > li:nth-child(n+2)::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -15px;
    height: 16px;
    width: 1px;
    background-color: #fff;
}

.footer-button {
    background-color: #fff;
    display: block;
    text-align: center;
    color: #000 !important;
    border: 1px solid #fff;
    text-transform: uppercase;
    width: 200px;
    height: 40px;
    line-height: 38px;
    text-decoration: none !important;
    font-weight: 500;
}

.footer-button:hover {
    background-color: #000000;
    color: #fff !important;
}

#primary .wplh-dashboard {
    font-family: var(--fontfamily-body);
    max-width: 100%;
}

body.page-id-10 #primary .entry-content {
    position: relative;
}

body.page-id-10 #primary .wplh-dashboard {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

body.page-id-10 #primary .wplh-dashboard > * {
    width: 100%;
    order: 5;
}

.wplh-dashboard > header > div {
    position: absolute;
    bottom: 100%;
    right: 0;
    text-align: right;
}

.wplh-dashboard h1 {
    color: #000;
    font-size: var(--fontsize-heading-tertiary);
}

.wplh-dashboard h1 + p {
    margin-top: 0 !important;
    color: var(--color-grey-3);
    font-size: var(--fontsize-body-normal);
    font-weight: 400;
}

.wplh-dashboard h2 {
    font-size: var(--fontsize-heading-secondary);
    color: #000;
}

.wplh-dashboard h2 + .wplh-btn {
    border-radius: 0;
    height: 50px;
    padding: 0 40px;
}

.wplh-btn, 
button, 
.button {
    background-color: #fff;
    color: #000 !important;
    border-radius: 10px;
    border: 1px solid #000;
    text-transform: uppercase;
    font-size: 16px;
    height: 40px;
    padding: 0 30px;
    opacity: 1 !important;
    transform: unset !important;
}

.wplh-dashboard-nav .wplh-btn:not(.wplh-btn-secondary), 
.wplh-dashboard nav .wplh-btn:not(.wplh-btn-secondary), 
.wplh-search .wplh-btn,
.wplh-btn:hover, 
button:hover, 
.button:hover {
    background-color: #000;
    color: #fff !important;
}

.wplh-search .wplh-btn:hover {
    background-color: #fff;
    color: #000 !important;
    border-color: #000;
}

.wplh-card, 
.wplh-stat-card, 
.wplh-reporting-panel {
    border: 1px solid var(--color-grey-5) !important;
    box-shadow: unset;
    background-color: var(--color-grey-7);
    border-radius: var(--border-radius-small);
    color: #000;
    position: relative;
    padding: 35px 45px;
}

.wplh-stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
}

.wplh-stats-grid .wplh-stat-card {
    padding: 35px 45px 85px;
}

.wplh-stats-grid .wplh-stat-card .wplh-btn:first-child {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
    color: #fff !important;
    border-radius: 0 0 var(--border-radius-small) var(--border-radius-small);
    width: 100%;
    text-align: left !important;
    justify-content: start;
    padding: 0 45px !important;
    font-weight: 400;
    height: 50px;
}

.wplh-stats-grid .wplh-stat-card .wplh-btn:first-child:hover {
    background-color: #fff;
    color: #000 !important;
}

.wplh-reporting-panel h3, 
.wplh-stat-card span {
    color: #000;
    margin: 0;
    font-size: var(--fontsize-heading-tertiary);
    text-transform: unset;
    letter-spacing: unset;
    font-weight: 500;
}

.wplh-stat-card strong {
    font-size: var(--fontsize-heading-primary);
    color: #000;
    font-weight: 400;
}

body:not(.role-member.view-overview) .wplh-stat-card:nth-child(3):last-child {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

body:not(.role-member.view-overview) .wplh-stat-card:nth-child(3):last-child span, 
body:not(.role-member.view-overview) .wplh-stat-card:nth-child(3):last-child strong {
    color: #fff;
}

.wplh-table-responsive table {
    margin: 0 !important;
}

.wplh-dashboard th {
    background-color: #000;
    color: #fff;
    font-size: var(--fontsize-body-small);
    font-weight: 400;
    text-align: left;
    border-color: #000;
    padding: 15px 20px;
}

.wplh-dashboard th:first-child, 
.wplh-dashboard td:first-child {
    padding-left: 50px;
}

.wplh-dashboard th:last-child, 
.wplh-dashboard td:last-child {
    padding-right: 50px;
    text-align: right;
}

.wplh-dashboard td {
    background-color: var(--color-grey-7);
    color: #000;
    font-size: var(--fontsize-body-normal);
}

/*    --- ---   LOGIN PAGE   --- ---    */
body.page.login {
    background-color: #000;
}

body.page.login .entry-header {
    display: none;
}

body.page.login #primary .wplh-dashboard {
    margin-top: 0 !important;
}

.wplh-dashboard.wplh-login-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 730px !important;
    background: linear-gradient(263deg, rgba(0, 0, 0, 0.20) 42.92%, rgba(52, 51, 51, 0.20) 73.8%), #222;
    border-radius: var(--border-radius-large);
    color: #fff;
    display: flex;
    gap: 60px;
    align-items: center;
    padding: var(--spacing-primary);
}

.wplh-dashboard.wplh-login-form header {
    text-align: left !important;
    margin-bottom: 0 !important;
}

.wplh-dashboard.wplh-login-form header::before {
    content: "";
    width: 100%;
    height: 40px;
    background-image: url(/wp-content/themes/smg-club/images/smg-logo-white.svg);
    display: block;
    background-repeat: no-repeat;
    background-position: top left;
    margin-bottom: 60px;
}

.wplh-dashboard.wplh-login-form header h2 {
    font-size: 1px;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.wplh-dashboard.wplh-login-form header p {
    margin: 0;
}

.wplh-dashboard.wplh-login-form header p::before {
    content: "Login";
    display: block;
    font-size: var(--fontsize-heading-primary);
    font-weight: 700;
}

.wplh-login-form #wplh-login-form {
    width: 240px;
    margin-left: auto;
    background-color: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wplh-login-form #wplh-login-form p {
    margin: 0 !important;
    width: 100%;
}

.wplh-login-form #wplh-login-form label {
    font-weight: 300;
    margin-bottom: 10px;
    display: block;
    line-height: 1em;
}

.wplh-login-form #wplh-login-form #user_login, 
.wplh-login-form #wplh-login-form #user_pass {
    border-radius: 0;
    border: 0 !important;
    outline: 0 !important;
    background-color: var(--color-grey-2);
    color: #fff;
    display: block;
    width: 100%;
    font-size: var(--fontsize-body-small);
    height: 40px;
    padding: 0 20px;
    font-weight: 400;
}

.wplh-login-form #wplh-login-form #user_login::placeholder, 
.wplh-login-form #wplh-login-form #user_pass::placeholder {
    color: #989898;
    opacity: 1;
    font-size: 10px;
    font-weight: 300;
}

.wplh-login-form .login-remember label {
    position: relative;
    padding: 0 0 0 20px;
    margin-bottom: 0 !important;
}

.wplh-login-form .login-remember label #rememberme {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    visibility: hidden;
}

.wplh-login-form #wplh-login-form label span {
    position: absolute;
    top: 2px;
    left: 0;
    width: 13px;
    height: 13px;
    background-color: #fff;
}

.wplh-login-form #wplh-login-form label span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/smg-club/images/tick-black.png');
    background-size: 9px auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}

.wplh-login-form #wplh-login-form label input:checked ~ span::before {
    opacity: 1;
}

#wplh-login-form #wp-submit {
    background-color: #fff;
    border-radius: 0;
    cursor: pointer;
    color: #000;
    border: 1px solid #fff;
    font-size: var(--fontsize-body-normal);
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    padding: 0;
    height: 40px;
    transition: all 0.1s ease 0s;
}

#wplh-login-form #wp-submit:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/*    --- ---   DEALER DASHBOARD - Overview  --- ---    */
body.role-branch_admin.view-overview .wplh-card {
    order: 0 !important;
    border-radius: 0;
    box-shadow: unset;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
}

body.role-branch_admin.view-overview .wplh-card > div {
    margin-left: auto;
}

body.role-branch_admin.view-overview .wplh-card h3 {
    margin: 0 0 0 30px;
    font-size: 24px;
}

body.role-branch_admin.view-overview .wplh-card .wplh-btn {
    border-radius: 0;
    height: 50px;
    padding: 0 40px;
}

body.role-branch_admin.view-overview .wplh-card .wplh-btn::after {
    content: "\2192";
    display: inline-block;
    margin-left: 10px;
}

body.role-branch_admin.view-overview .wplh-card .wplh-btn img,
body.role-branch_admin.view-overview .wplh-card .wplh-btn .emoji {
    display: none !important;
}

.wplh-modal-content {
    background-color: var(--color-grey-1);
    color: #fff;
    padding: 70px 90px;
    max-height: calc(90% - 50px);
    overflow-y: scroll;
}

.wplh-modal-content h3 {
    font-size: var(--fontsize-heading-secondary);
    margin-top: 0;
    color: #fff;
}

.wplh-modal-content form label {
    font-size: var(--fontsize-body-normal);
    font-weight: 300;
}

.wplh-modal-content form input[type="email"], 
.wplh-modal-content form input[type="text"] {
    border-radius: 0;
    height: 32px;
    border: 0;
    outline: 0 !important;
    font-size: var(--fontsize-body-normal);
}

.wplh-modal-content > button:first-child {
    position: absolute !important;
    top: 20px !important;
    right: 5px !important;
    color: #fff !important;
    font-size: 32px !important;
}

.wplh-modal-content form .wplh-btn[type="submit"] {
    border-radius: 0;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff !important;
    font-weight: 500;
    height: 42px;
}

.wplh-modal-content form .wplh-btn[type="submit"]:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

body.view-settings .wplh-card > h2 {
    font-size: var(--fontsize-heading-tertiary);
    font-weight: 500;
    margin: 0;
}

#wplh-branch-settings-form,
#wplh-vendor-profile-form {
    margin-top: 10px;
}

#wplh-branch-settings-form label {
    display: block;
    width: 100%;
    font-size: var(--fontsize-body-normal);
    color: #000;
    margin-top: 15px;
    padding-left: 10px;
}

#wplh-branch-settings-form input[type="text"], 
#wplh-branch-settings-form input[type="email"], 
#wplh-branch-settings-form input[type="url"], 
#wplh-branch-settings-form textarea,
#wplh-vendor-profile-form input[type="text"], 
#wplh-vendor-profile-form input[type="email"], 
#wplh-vendor-profile-form input[type="url"], 
#wplh-vendor-profile-form textarea {
    width: 100%;
    display: block;
    border-radius: 0;
    border: 1px solid var(--color-grey-3);
    min-height: 50px;
    padding: 0 20px;
}

#wplh-branch-settings-form textarea,
#wplh-vendor-profile-form textarea {
    height: 139px !important;
    resize: none;
}

#wplh-branch-settings-form .wplh-image-preview,
#wplh-vendor-profile-form .wplh-image-preview {
    background: #fff !important;
    border: 1px dashed var(--color-grey-3) !important;
}

#wplh-branch-settings-form .wplh-btn[type="submit"],
#wplh-vendor-profile-form .wplh-btn[type="submit"] {
    border-radius: 0;
    background-color: #000;
    color: #fff !important;
    height: 50px;
    display: block;
    width: 100%;
    border: 1px solid #000 !important;
    margin-top: 40px !important;
}

#wplh-branch-settings-form .wplh-btn[type="submit"]:hover,
#wplh-vendor-profile-form .wplh-btn[type="submit"]:hover {
    background-color: #fff;
    color: #000 !important;
}

.wplh-dashboard header {
    border-bottom: 0 !important;
}

body.role-vendor.view-overview .wplh-dashboard .wplh-stats-grid {
    margin-top: 75px;
}

body.role-vendor.view-overview .wplh-dashboard .wplh-stats-grid::before {
    content: "My Benefits";
    display: block;
    width: 100%;
    font-size: var(--fontsize-heading-secondary);
    color: #000;
    position: absolute;
    top: 75px;
    font-weight: 700;
}

body.role-member.view-overview .wplh-dashboard > header > div {
    min-width: 50%;
    text-align: right;
    justify-content: end;
    bottom: calc(100% + 32px);
}

body.role-member.view-overview .wplh-dashboard > header > div img {
    display: none;
}

body.role-member.view-overview .wplh-dashboard > header > div h1 {
    font-size: var(--fontsize-heading-tertiary) !important;
}

body.role-member.view-overview .wplh-dashboard > header > div p {
    display: none;
}

.wplh-qr-container {
    background-color: #000;
    box-shadow: unset;
    border-radius: var(--border-radius-large);
    color: #fff;
    display: flex;
    gap: 65px;
    text-align: left;
    padding: 65px 100px;
    align-items: center;
}

.wplh-qr-container > h3,
.wplh-qr-container > p {
    display: none;
}

.member-after-qr-header {
    max-width: 275px;
}

.member-after-qr-header h2 {
    color: #fff;
    margin: 0;
}

.wplh-qr-container img {
    border-radius: 0;
}

.member-after-qr-details h4 {
    margin: 0;
    font-size: var(--fontsize-body-normal);
    font-weight: 500;
}

.member-after-qr-details p {
    color: var(--color-grey-4);
    margin: 10px 0 0;
}

.member-after-qr-line {
    height: 120px;
    width: 2px;
    background-color: #fff;
}

.role-member.view-overview .wplh-stat-card {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
}

.role-member.view-overview .wplh-stat-card > * {
    width: 100%;
    order: 2;
}

.role-member.view-overview .wplh-stat-card div:nth-child(2) {
    order: 1;
}

.wplh-progress-bar-fill {
    background-color: #000 !important;
}

.role-member.view-overview .wplh-stat-card.unavailable::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.7;
}

.role-member.view-overview .wplh-stat-card > div:nth-last-child(1), 
.role-member.view-overview .wplh-stat-card > div:nth-last-child(2) {
    position: relative;
}

.wplh-progress-bar-bg {
    border-radius: 0 !important;
    background-color: #F2F1F1 !important;
}

.role-member.view-overview .wplh-stat-card > div:first-child {
    display: block !important;
}

.role-member.view-overview .wplh-stat-card h4 {
    font-size: var(--fontsize-heading-tertiary) !important;
    line-height: 1.2em;
}

.role-member.view-overview .wplh-stat-card > div:nth-last-child(2) span {
    font-size: var(--fontsize-body-small) !important;
    text-transform: uppercase;
    font-weight: 400;
    align-self: center;
}

.role-member.view-overview .wplh-stat-card > div:nth-last-child(2) strong {
    margin-top: 0;
}

.role-member footer.wplh-card {
    background-color: #000;
    color: #fff;
    position: relative;
}

.role-member footer.wplh-card {
    background-color: #000;
    color: #fff;
    position: relative;
    padding-left: 400px;
}

.role-member footer.wplh-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px !important;
    height: 100% !important;
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small) !important;
}

.role-member footer.wplh-card {
    background-color: #000;
    color: #fff;
    position: relative;
    padding-left: 500px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.role-member footer.wplh-card h3 {
    font-size: var(--fontsize-heading-secondary);
}

.branch-info-label, 
.branch-info-label + br {
    display: none;
}

.role-member footer.wplh-card h4 {
    margin: 0;
    font-size: var(--fontsize-heading-tertiary);
}

.wplh-btn.wplh-branch-contact-btn {
    border-radius: 0;
    border-color: #fff !important;
    font-weight: 500 !important;
    display: block;
    text-align: center;
    line-height: 38px;
    margin-top: 30px;
}

.role-member footer.wplh-card > div > div {
    width: calc(50% - 20px);
}

.branch-email-link {
    color: #fff !important;
    font-weight: 400 !important;
    margin-top: 15px;
    display: inline-block;
}

.branch-email-link::before {
    content: "Email:";
    display: block;
    line-height: 1em;
}

.branch-address {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.1em;
    font-style: italic;
    text-decoration: underline;
    padding-top: 38px;
    position: relative;
}

.branch-address a {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: calc(100% - 20px);
    opacity: 0;
}

.wplh-qr-container {
    background-image: url(https://smgclub.ccdev.co.za/wp-content/uploads/2026/04/Background.png);
    background-position: calc(100% - 30px) calc(100% - 30px);
    background-repeat: no-repeat;
    background-size: 130px;
}

.wplh-dashboard.wplh-login-form header .attachment-thumbnail.size-thumbnail {
    display: none;
}

.wplh-search input[name="search"] {
    border: 1px solid #000000;
    display: block;
    height: 40px;
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    font-size: 14px;
    padding: 0 20px;
    color: var(--color-grey-2);
    border-style: solid;
    border-color: #000;
    border-width: 1px 0 1px 1px;
}
 
.wplh-search input[name="search"]::placeholder {
    color: var(--color-grey-4);
    opacity: 1;
}

.wplh-search {
    display: flex;
    gap: 0;
}

.wplh-search .wplh-btn {
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}

body.view-benefits .wplh-dashboard td:first-child > div > strong:first-child::before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url('/wp-content/uploads/2026/04/smg-icon1.png');
    background-size: cover;
    border-radius: 4px;
    vertical-align: -9px;
    margin-right: 10px;
}

/*    --- ---   RESPONSIVE   --- ---    */

@media(max-width: 1024px) {
    .wplh-qr-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 50px;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
        gap: 25px;
    }
    .member-after-qr-header {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    .member-after-qr-line {
        height: 2px;
        width: 100%;
        max-width: 200px;
    }
    .member-after-qr-details {
        width: 100%;
        text-align: center;
    }
    .member-after-qr-details p {
        margin: 0;
    }
    .wplh-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .role-member footer.wplh-card {
        padding: 250px 50px 50px;
    }
    .role-member footer.wplh-card img {
        width: 100% !important;
        height: 200px !important;
        border-radius: var(--border-radius-small) var(--border-radius-small) 0 0 !important;
    }  
    body.page-id-10 #primary .wplh-dashboard > * {
        width: 100%;
        order: 5;
        flex-wrap: wrap;
    }
    #primary .wplh-dashboard nav > ul {
        flex-wrap: wrap;
        justify-content: start;
        margin-top: 20px !important;
    }
    #primary .wplh-dashboard nav .wplh-btn {
        padding: 0 15px !important;
        font-weight: 400;
        font-size: 14px;
    }
    body.role-vendor.view-overview .wplh-dashboard .wplh-stats-grid::before {
        position: static;
        margin-top: -20px;
    }
    body.role-vendor.view-overview .wplh-dashboard .wplh-stats-grid {
        margin-top: 15px;
    }
    .wplh-dashboard th:first-child, .wplh-dashboard td:first-child {
        padding-left: 20px;
    }
    .wplh-dashboard th:last-child, .wplh-dashboard td:last-child {
        padding-right: 20px;
        text-align: right;
    }
    body.role-branch_admin.view-overview .wplh-card > div {
        margin-left: auto;
        flex-wrap: ;
    }
}

@media(max-width: 767px) {
    .wplh-stats-grid {
        grid-template-columns: 1fr;
    }
    .role-member footer.wplh-card > div > div {
        width: 100%;
    }
    .branch-address {
        padding-top: 0px;
        font-weight: 300;
    }
    .wplh-qr-container {
        padding-bottom: 100px;
        background-position: center calc(100% - 35px);
    }
    .wplh-dashboard > header > div {
        position: static;
        width: 100%;
        text-align: left;
    }
    .entry-title {
        margin-bottom: 0;
    }
    .wplh-dashboard td {
        font-size: var(--fontsize-body-small);
    }
    #wplh-branch-settings-form > div, 
    #wplh-vendor-profile-form > div {
        grid-template-columns: 1fr !important;
    }
    body.role-branch_admin.view-overview .wplh-card .wplh-btn {
        height: 75px;
        padding: 0 10px;
        width: 100%;
    }
    body.role-branch_admin.view-overview .wplh-card h3 {
        width: 100% !important;
        text-align: center;
        margin: 0 0 15px;
    }
    .wplh-modal-content {
        padding: 30px 30px;
    }
    .wplh-dashboard.wplh-login-form {
        flex-wrap: wrap;
        gap: 20px;
    }
    .wplh-dashboard.wplh-login-form header::before {
        margin-bottom: 20px;
    }
    header#masthead {
        justify-content: center;
    }
}