/* =====================================
   ABA AUSTRALIA - CLEANED WILD APRICOT CSS
   Reorganised from legacy custom CSS
   Notes:
   - Active/global styling kept live where likely still in use.
   - Legacy pricing-table / panel code moved into commented sections.
   - Page-specific rules kept only where they may still be relevant.
   - Review page-specific IDs before keeping long-term.
===================================== */

/* =====================================
   GLOBAL TYPOGRAPHY & BODY
===================================== */

p {
    margin-top: 0;
    line-height: 1.5em;
}

body,
#bodyTable {
    background-color: #ffffff !important;
}

[class*='EditableArea'] ol {
    margin: 1em 0 1em 24px;
    padding: 0 0 0 10px;
}

.h1,
h1,
.gadgetStyleNone H1,
.h2,
h2,
.gadgetStyleNone H2,
.h3,
h3,
.h4,
h4,
.h5,
h5 {
    font-family: 'Ubuntu', 'Arial', sans-serif;
}

.h2,
h2,
.gadgetStyleNone H2,
.gadgetStyle002 H2,
.gadgetStyle001 H2 {
    text-transform: uppercase;
    margin-bottom: 0.3em;
}

H1:not(.promo),
.gadgetStyleNone H1:not(.promo) {
    font-size: 1.50em;
    font-weight: normal;
    color: #3D4041;
}

H3,
.gadgetStyleNone H3 {
    font-size: 1.30em !important;
    font-weight: normal !important;
    color: #8DCB00 !important;
}

H4:not(.gadgetTitleH4),
.gadgetStyleNone H4:not(.gadgetTitleH4) {
    font-size: 1.30em !important;
    font-weight: normal !important;
    color: #3d4041 !important;
}

H5,
.gadgetStyleNone H5 {
    font-size: 1.0em !important;
    color: #8DCB00 !important;
}

.title-heading {
    border-bottom: solid 2px #8DCB00;
    margin-bottom: 36px;
    padding: 0;
    line-height: 1.3em;
}

.fieldSubContainer {
    font-size: 1em;
}

/* =====================================
   RESPONSIVE MEDIA
===================================== */

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.camera_wrap {
    position: relative;
    z-index: 0;
    float: left;
    display: none;
    width: 100%;
    background: #ffffff;
}

/* =====================================
   GENERAL BUTTONS
===================================== */

.functionalButton,
.generalFieldsContainer input.typeButton,
.generalFieldsContainer input[type=submit],
.navigationOuterContainer input.nextButton,
.navigationOuterContainer input.typeButton,
.navigationOuterContainer input[type=submit] {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    min-width: 120px;
    margin: 0;
    padding: 14px 18px 15px;
    background: #8DCB00;
    border: 0;
    outline: 0;
    color: white;
    font: normal 18px/1.22 'Ubuntu', 'Arial', sans-serif;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0 12px;
}

.navigationOuterContainer input.nextButton,
.navigationOuterContainer input.typeButton,
.navigationOuterContainer input[type=submit] {
    border-radius: 0 16px;
    margin: 0 10px 10px 0;
    background: #8dcb00;
}

.functionalButton:hover,
.generalFieldsContainer input.typeButton:hover,
.generalFieldsContainer input[type=submit]:hover,
.navigationOuterContainer input.nextButton:hover,
.navigationOuterContainer input.typeButton:hover,
.navigationOuterContainer input[type=submit]:hover {
    background: #71B300;
    color: white;
}

a.buttonStyle001,
a:link.buttonStyle001 {
    position: relative;
    display: inline-block;
    min-width: 60px;
    margin: 0;
    padding: 14px 18px;
    border-radius: 0 12px;
    color: white;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.22;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
}

a.stylizedButton.buttonStyle001:hover {
    background-color: #71B300;
}

a.buttonStyle002,
a:link.buttonStyle002 {
    position: relative;
    display: inline-block;
    min-width: 60px;
    margin: 0;
    padding: 12px 16px;
    background: #ffffff;
    color: #8dcb00;
    border: solid 2px #8dcb00;
    border-radius: 0 16px;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.22;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
}

a.stylizedButton.buttonStyle002:hover {
    background-color: #8dcb00;
}

a.buttonStyle008,
a:link.buttonStyle008 {
    padding: 12px 16px;
    border: 2px solid white !important;
    border-radius: 0 16px;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-size: 20px !important;
}

.buttonw {
    background: none;
    border: 2px solid #fff;
    border-radius: 0;
    font-size: 25px !important;
    font-weight: bold;
    line-height: 1;
    text-decoration: none !important;
    padding: 8px 20px;
    color: #fff;
}

.buttonb {
    background: none;
    border: 2px solid #3c4041;
    color: #3c4041;
    border-radius: 0;
    font-size: 25px !important;
    text-decoration: none !important;
    font-weight: bold;
    line-height: 1;
    padding: 8px 20px;
}

a.buttonw:hover,
a.buttonb:hover {
    color: #90ca0f !important;
    border-color: #90ca0f !important;
}

/* =====================================
   LOGIN / PROFILE / FORM BUTTONS
===================================== */

.WaGadgetLoginForm .loginButton {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    min-width: 60px;
    margin: 0;
    padding: 10px 14px;
    background: #8dcb00;
    border: 0;
    border-radius: 0 12px;
    color: white;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-weight: normal;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.22;
}

.WaGadgetAuthorizationRequired .loginPageTable input.loginButton,
.WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm .loginAction input.loginButton,
.WaGadgetContactProfile .topButtonsOuterContainer input.typeButton {
    background: #8dcb00;
    color: white;
    border-radius: 0 16px;
    font-family: 'Ubuntu', 'Arial', sans-serif;
}

.WaGadgetLoginForm .loginButton:hover,
.WaGadgetAuthorizationRequired .loginPageTable input.loginButton:hover,
.WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm .loginAction input.loginButton:hover,
.WaGadgetContactProfile .topButtonsOuterContainer input.typeButton:hover {
    background: #71B300;
    color: white;
}

.WaGadgetLoginForm .authenticated .loginPanel a,
.WaGadgetLoginForm .authenticated .loginPanel .loginBoxLogout {
    color: #71B300;
    text-decoration: none;
}

.WaGadgetLoginForm .authenticated .loginPanel a:hover,
.WaGadgetLoginForm .authenticated .loginPanel .loginBoxLogout:hover {
    color: #737778;
    text-decoration: none;
}

.WaGadgetUnsubscribeFromEmails form input[type=submit],
.WaGadgetTermsOfUse .login-role-actions input[type='submit'] {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    min-width: 120px;
    margin: 0;
    padding: 14px 18px 15px;
    background: #8DCB00;
    border: 0;
    outline: 0;
    color: white;
    font: normal 18px/1.22 'Ubuntu', 'Arial', sans-serif;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-appearance: none;
    margin-right: 10px;
    border-radius: 0 12px;
}

.WaGadgetUnsubscribeFromEmails form input[type=submit]:hover,
.WaGadgetTermsOfUse .login-role-actions input[type='submit']:hover {
    background: #71B300;
    color: white;
}

/* =====================================
   EVENT / BLOG / STORE / FORUM BUTTONS
===================================== */

.WaGadgetEventsStateList .boxOuterContainer .boxBodyOuterContainer .boxBodyInfoOuterContainer .boxActionContainer input.typeButton,
.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxActionContainer input.typeButton,
.WaGadgetOnlineStoreProduct .OnlineStoreProduct_aside .OnlineStoreButton input.typeButton,
.forumPanelOuterContainer .forumPanelContainer input.typeButton,
.WaGadgetMemberPublicProfileStateMain .profileHeaderContainer input.typeButton,
.WaGadgetBlogStateList #idAddNewPostButtonContainer input[type=submit],
.WaGadgetBlogStateAddPost .boxFooterOuterContainer input,
.WaGadgetBlogStateEditPost .boxFooterOuterContainer input,
.WaGadgetContactProfileStatePhotoGallery #idMemberPhotoAlbumContainer #idPhotoAlbumHeaderContainer .buttonsInTitleContainer input.typeButton,
.WaGadgetContactProfileStatePhotoGallery .emptyGalleryPanelInnerDiv .addAlbumButton {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    min-width: 120px;
    margin: 0;
    padding: 14px 18px 15px;
    background: #8DCB00;
    border: 0;
    outline: 0;
    color: white;
    font: normal 18px/1.22 'Ubuntu', 'Arial', sans-serif;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0 12px;
}

.WaGadgetEventsStateList .boxOuterContainer .boxBodyOuterContainer .boxBodyInfoOuterContainer .boxActionContainer input.typeButton:hover,
.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxActionContainer input.typeButton:hover,
.WaGadgetOnlineStoreProduct .OnlineStoreProduct_aside .OnlineStoreButton input.typeButton:hover,
.forumPanelOuterContainer .forumPanelContainer input.typeButton:hover,
.WaGadgetMemberPublicProfileStateMain .profileHeaderContainer input.typeButton:hover,
.WaGadgetBlogStateList #idAddNewPostButtonContainer input[type=submit]:hover,
.WaGadgetBlogStateAddPost .boxFooterOuterContainer input:hover,
.WaGadgetBlogStateEditPost .boxFooterOuterContainer input:hover,
.WaGadgetContactProfileStatePhotoGallery #idMemberPhotoAlbumContainer #idPhotoAlbumHeaderContainer .buttonsInTitleContainer input.typeButton:hover,
.WaGadgetContactProfileStatePhotoGallery .emptyGalleryPanelInnerDiv .addAlbumButton:hover {
    background: #71B300;
    color: white;
}

.WaGadgetContactProfileStatePhotoGallery #idMemberPhotoAlbumContainer #idPhotoAlbumHeaderContainer .buttonsInTitleContainer input.typeButton {
    margin-left: 10px;
}

.forumPanelOuterContainer .forumPanelContainer input.typeButton {
    margin: 0 20px 0 0;
}

.WaGadgetBlog .controlPanel .toggleButton {
    position: relative;
    z-index: 5;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #8DCB00;
    color: white;
    vertical-align: top;
    cursor: pointer;
    border-radius: 0 12px;
}

.WaGadgetBlog .controlPanel .toggleButton:hover {
    background: #71B300;
    color: white;
}

/* =====================================
   NAVIGATION - DESKTOP
===================================== */

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a {
    position: relative;
    display: block;
    height: 26px;
    padding: 10px 13px 10px;
    background: inherit;
    color: #3d4041;
    font: normal 18px/26px 'Ubuntu', 'Arial', sans-serif;
    white-space: nowrap;
    vertical-align: top;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a {
    color: #3d4041;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a {
    color: #8dcb00;
}

.WaGadgetMenuHorizontal .menuInner ul ul li > .item > a {
    color: #3d4041;
    font: normal 16px/21px 'Ubuntu', 'Arial', sans-serif;
    white-space: nowrap;
    text-align: left;
    text-transform: uppercase;
}

.WaGadgetMenuHorizontal .menuInner ul ul li > .item:hover > a {
    background: #8dcb00;
    color: white;
}

.WaGadgetMenuHorizontal .menuInner ul ul li.sel > .item > a {
    color: #71B300;
}

/* =====================================
   NAVIGATION - MOBILE
===================================== */

.WaGadgetMobilePanel .mobilePanel {
    position: relative;
    height: 50px;
    background: #8dcb00;
    color: white;
    margin-bottom: 4px;
}

.WaGadgetMobilePanel .mobilePanel .menuInner {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 40000;
    display: none;
    font: 18px/1em 'Ubuntu', 'Arial', sans-serif;
    text-transform: uppercase;
}

.WaGadgetMobilePanel .mobilePanel .menuInner ul ul li.sel > .item > a {
    color: #71B300;
}

.WaGadgetMobilePanel .mobilePanel .mobilePanelButton:hover {
    background: 0;
    color: #ffffff;
}

/* =====================================
   BLOG / SOCIAL / STORE / FOOTER
===================================== */

.WaGadgetRecentBlogPosts.gadgetStyleNone ul li .author a,
.WaGadgetRecentBlogPosts.gadgetStyleNone ul li .author span,
.WaGadgetForumUpdates.gadgetStyleNone ul li .author span,
.WaGadgetForumUpdates.gadgetStyleNone ul li .author a {
    color: #90ca0f;
}

.WaGadgetBlog a {
    font-size: 24px !important;
}

.WaGadgetEventsStateList h3.sectionTitle,
.WaGadgetEventsStateCalendar .sectionTitle {
    background-color: transparent;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    color: #8DCB00;
    font-size: 1.4em;
    line-height: 1.167;
    text-transform: uppercase;
    float: left;
    margin: 0 10px 0 0;
}

.WaGadgetOnlineStoreCatalog .OnlineStoreCatalog_list .OnlineStoreCatalog_list_item,
.WaGadgetOnlineStoreCatalog .OnlineStoreCatalog_list .OnlineStoreCatalog_list_item_outOfStock {
    position: relative;
    display: inline-block;
    width: 210px;
    margin: 0 10px 40px 10px;
    padding: 0;
    list-style: none outside;
    vertical-align: top;
    border-top: #8DCB00 solid 10px;
}

.WaGadgetOnlineStoreCatalog .OnlineStoreCatalog_list {
    position: relative;
    margin: 0;
    padding: 0;
}

.WaGadgetSocialProfile.gadgetThemeStyle2 li a:hover {
    background: #f7f7f7;
    color: #71B300;
}

.foot-links ul li {
    background: url(https://afbaa.wildapricot.org/resources/Pictures/footer-path.png) no-repeat left 5px;
    padding-bottom: 20px;
    margin-bottom: 0;
    padding-left: 40px;
}

.foot-links ul li a {
    color: #fff !important;
    font-size: 18px;
    line-height: 26px;
    text-decoration: none !important;
}

.zonePlace.zoneFooter2 {
    background: #3c4041 !important;
}

#idFooterPoweredByContainer {
    height: 25px !important;
    text-align: center !important;
    padding-bottom: 20px !important;
}

/* =====================================
   LOGIN LINK / HOVER TABLES / MISC
===================================== */

a#id_MoBw3nY_loginLink {
    background: #8DCB00 !important;
    color: #fff;
    border-radius: 0 12px;
}

.genericListTable tr.hover td,
.membersTable tr.hover td {
    color: #414a54;
    background-color: #f6f6f6;
    cursor: pointer;
}

.wa-authenticateLoginLink .authenticateLoginText {
    padding-left: 5px;
    color: #ffffff;
    border-radius: 0 12px;
}

/* =====================================
   POSSIBLY ACTIVE CUSTOM COMPONENTS
   Review before removing
===================================== */

@media screen and (min-width: 1200px) {
    .two-col-left:before {
        background: url(https://afbaa.wildapricot.org/resources/Pictures/leaf-image.png) no-repeat;
        content: "";
        height: 108px;
        width: 108px;
        position: absolute;
        bottom: -30px;
        left: 500px;
        z-index: 999;
    }

    .two-col-right:before {
        background: url(https://afbaa.wildapricot.org/resources/Pictures/leaf-image.png) no-repeat;
        content: "";
        height: 108px;
        width: 108px;
        position: absolute;
        bottom: -30px;
        right: -30px;
        z-index: 999;
    }
}

.tech-slideshow {
    height: 150px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.mover-1 {
    height: 150px;
    width: 10000px;
    position: absolute;
    overflow-x: hidden;
    top: 0;
    left: 0;
    animation: moveSlideshow 50s linear infinite;
}

.mover-1 img {
    display: inline-block;
    vertical-align: middle;
    width: 350px;
    margin: 0;
}

@keyframes moveSlideshow {
    100% {
        transform: translateX(-4400px);
    }
}

/* =====================================
   PAGE-SPECIFIC RULES TO REVIEW
   Remove if pages no longer exist
===================================== */

#PAGEID_18113 li ol {
    margin-bottom: 22px !important;
}

@media only all and (max-width: 480px) {
    #PAGEID_18113 ol li {
        font-size: 15.4px !important;
    }

    #PAGEID_18113 ol li p font {
        font-size: 15.4px !important;
    }

    #PAGEID_18155 table.contStyleExcSimpleTable td a:link.buttonStyle008 {
        font-size: 17px !important;
    }
}

@media only all and (max-width: 620px) {
    #PAGEID_18155 table.contStyleExcSimpleTable td {
        float: left;
        width: 98%;
    }

    #PAGEID_18155 table.contStyleExcSimpleTable td a:link.buttonStyle008 {
        padding: 12px 0;
        width: 100%;
    }

    #PAGEID_18155 table.contStyleExcSimpleTable,
    #PAGEID_18155 table.contStyleExcSimpleTable tbody,
    #PAGEID_18155 table.contStyleExcSimpleTable tbody tr {
        display: block;
    }
}
/* =====================================
   LEGACY CODE - TEST REMOVE
   OLD WORDPRESS / PRICING TABLE / PANEL CODE
   Commented out intentionally.
   If nothing breaks after testing, this can be deleted.
===================================== */

/*
-----------------------------------------
LEGACY MEMBERSHIP PANELS
-----------------------------------------
The original file contained a very large amount of CSS for:
- .fl-builder-content
- .fl-pricing-table
- .uk-grid
- .uk-overlay
- .uk-slider
- membership panels
- advertisement panels

Because these appear to be tied to old pricing table / migrated WordPress layouts,
they have been intentionally removed from the live stylesheet in this cleaned version.

If you discover a live page still depends on them, restore the original CSS from backup
and reintroduce only the specific selectors needed for that page.
*/

/* ============================================
   ABA AUSTRALIA - MEMBER DIRECTORY STYLING
   Paste this into Wild Apricot Custom CSS
   ============================================ */

/* HERO SECTION - Add above the member directory widget */
.memberDirectoryContainer::before {
    content: "Find Your Specialist";
    display: block;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    padding: 60px 20px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
}

/* CONTAINER STYLING */
.memberDirectoryContainer {
    background: linear-gradient(to bottom right, #eff6ff, #ffffff, #eef2ff);
    padding: 40px 20px;
    border-radius: 16px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* SEARCH FORM STYLING */
.memberDirectorySearchForm,
.advancedSearch {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

/* FORM FIELD LAYOUT */
.memberDirectorySearchForm table,
.advancedSearch table {
    width: 100%;
    border: none !important;
}

.memberDirectorySearchForm tr,
.advancedSearch tr {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: center;
}

.memberDirectorySearchForm td,
.advancedSearch td {
    border: none !important;
    padding: 0 !important;
}

/* LABELS */
.memberDirectorySearchForm td:first-child,
.advancedSearch td:first-child {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-align: right;
    padding-right: 16px !important;
}

/* INPUT FIELDS & DROPDOWNS */
.memberDirectorySearchForm input[type="text"],
.memberDirectorySearchForm select,
.advancedSearch input[type="text"],
.advancedSearch select {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s;
}

.memberDirectorySearchForm input[type="text"]:focus,
.memberDirectorySearchForm select:focus,
.advancedSearch input[type="text"]:focus,
.advancedSearch select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* SEARCH BUTTON */
.memberDirectorySearchForm input[type="submit"],
.advancedSearch input[type="submit"],
.memberDirectorySearchForm button,
.advancedSearch button {
    background: #2563eb !important;
    color: white !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: background 0.3s;
    margin-top: 16px;
}

.memberDirectorySearchForm input[type="submit"]:hover,
.advancedSearch input[type="submit"]:hover,
.memberDirectorySearchForm button:hover,
.advancedSearch button:hover {
    background: #1d4ed8 !important;
}

/* "GO TO SIMPLE SEARCH" LINK */
.memberDirectorySearchForm a,
.advancedSearch a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    margin-left: 16px;
}

.memberDirectorySearchForm a:hover,
.advancedSearch a:hover {
    text-decoration: underline;
}

/* ============================================
   RESULTS SECTION - CARD GRID LAYOUT
   ============================================ */

/* RESULTS CONTAINER */
.searchResults,
.memberDirectoryResults {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* INDIVIDUAL MEMBER CARDS */
.searchResult,
.memberDirectoryItem,
.contactDetails {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    padding: 24px !important;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #e5e7eb !important;
    display: block !important;
}

.searchResult:hover,
.memberDirectoryItem:hover,
.contactDetails:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    border-color: #bfdbfe !important;
    transform: translateY(-2px);
}

/* MEMBER NAME */
.searchResult .name,
.memberDirectoryItem .name,
.contactDetails .name,
.searchResult h3,
.memberDirectoryItem h3,
.contactDetails h3 {
    font-size: 1.25rem !important;
    font-weight: bold !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

/* JOB TITLE */
.searchResult .jobTitle,
.memberDirectoryItem .jobTitle,
.contactDetails .jobTitle {
    color: #2563eb !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 12px !important;
    display: block;
}

/* FIELD LABELS */
.searchResult .fieldLabel,
.memberDirectoryItem .fieldLabel,
.contactDetails .fieldLabel {
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FIELD VALUES */
.searchResult .fieldValue,
.memberDirectoryItem .fieldValue,
.contactDetails .fieldValue {
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    margin-bottom: 12px !important;
    display: block;
}

/* STATE/TERRITORY */
.searchResult .state,
.memberDirectoryItem .state,
.contactDetails .state {
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    margin-bottom: 12px !important;
}

.searchResult .state::before,
.memberDirectoryItem .state::before,
.contactDetails .state::before {
    content: "📍 ";
}

/* BADGES (for certifications, membership type, etc.) */
.searchResult .badge,
.memberDirectoryItem .badge,
.contactDetails .badge,
.searchResult .certification,
.memberDirectoryItem .certification,
.contactDetails .certification {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    background: #dbeafe !important;
    color: #1e40af !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
}

/* BACB CERTIFICATION BADGE */
.searchResult .bacbCert,
.memberDirectoryItem .bacbCert,
.contactDetails .bacbCert {
    background: #dbeafe !important;
    color: #1e40af !important;
}

.searchResult .bacbCert::before,
.memberDirectoryItem .bacbCert::before,
.contactDetails .bacbCert::before {
    content: "🏆 ";
}

/* MEMBERSHIP TYPE */
.searchResult .membership,
.memberDirectoryItem .membership,
.contactDetails .membership {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

/* NDIS REGISTRATION */
.searchResult .ndis,
.memberDirectoryItem .ndis,
.contactDetails .ndis {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.searchResult .ndis::before,
.memberDirectoryItem .ndis::before,
.contactDetails .ndis::before {
    content: "✓ ";
}

/* SUPERVISION */
.searchResult .supervision,
.memberDirectoryItem .supervision,
.contactDetails .supervision {
    background: #e9d5ff !important;
    color: #6b21a8 !important;
}

.searchResult .supervision::before,
.memberDirectoryItem .supervision::before,
.contactDetails .supervision::before {
    content: "👥 ";
}

/* REFERRALS */
.searchResult .referrals,
.memberDirectoryItem .referrals,
.contactDetails .referrals {
    background: #dbeafe !important;
    color: #1e40af !important;
}

.searchResult .referrals::before,
.memberDirectoryItem .referrals::before,
.contactDetails .referrals::before {
    content: "✓ ";
}

/* EXPERTISE TAGS */
.searchResult .expertise,
.memberDirectoryItem .expertise,
.contactDetails .expertise {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f3f4f6 !important;
}

.searchResult .expertise .tag,
.memberDirectoryItem .expertise .tag,
.contactDetails .expertise .tag {
    display: inline-block;
    background: #f3f4f6 !important;
    color: #374151 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    margin-right: 4px !important;
    margin-bottom: 4px !important;
}

/* QUALIFICATION TEXT */
.searchResult .qualification,
.memberDirectoryItem .qualification,
.contactDetails .qualification {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
    font-style: italic;
}

/* REMOVE TABLE LAYOUT FROM RESULTS */
.searchResults table,
.memberDirectoryResults table {
    display: block !important;
}

.searchResults tr,
.memberDirectoryResults tr {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

.searchResults td,
.memberDirectoryResults td {
    display: block !important;
    border: none !important;
}

/* RESULTS COUNT */
.resultsCount,
.searchResultsCount {
    color: #374151;
    font-size: 1rem;
    margin: 24px 0;
    text-align: center;
}

.resultsCount strong,
.searchResultsCount strong {
    color: #1e3a8a;
    font-size: 1.25rem;
}

/* NO RESULTS MESSAGE */
.noResults,
.noSearchResults {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.noResults::before,
.noSearchResults::before {
    content: "🔍";
    display: block;
    font-size: 4rem;
    margin-bottom: 16px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .memberDirectoryContainer::before {
        font-size: 2rem;
        padding: 40px 20px;
    }
    
    .memberDirectorySearchForm tr,
    .advancedSearch tr {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .memberDirectorySearchForm td:first-child,
    .advancedSearch td:first-child {
        text-align: left;
        padding-right: 0 !important;
    }
    
    .searchResults,
    .memberDirectoryResults {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WILD APRICOT SPECIFIC OVERRIDES
   ============================================ */

/* Remove Wild Apricot default borders */
.WaGadget table,
.WaGadget tr,
.WaGadget td {
    border: none !important;
}

/* Override Wild Apricot's default padding */
.WaGadget .memberDirectorySearchForm td,
.WaGadget .advancedSearch td {
    padding: 0 !important;
}

/* Fix Wild Apricot's default button styling */
.WaGadget input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
}

/* Ensure proper spacing in Wild Apricot context */
.WaGadget .memberDirectoryContainer {
    max-width: 1200px;
    margin: 0 auto;
}
