/* --- Overall Page Styling --- */
.mp-directory-container {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    min-height: 100vh;
}

/* --- Search Input --- */
.facetwp-facet-mp_search .facetwp-search {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 25px;
    border: 1px solid #334756;
    border-radius: 8px;
    background-color: #1a202c;
    color: #f0f0f0;
    font-size: 1.1em;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.facetwp-facet-mp_search .facetwp-search:focus {
    border-color: #00a0d2;
    box-shadow: 0 0 7px rgba(0, 160, 210, 0.8);
}

/* --- Loader --- */
.mp-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00a0d2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Profile Container --- */
.mp-profile-container {
    background-color: #1a202c;
    border: 2px solid #334756;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Profile Header --- */
.mp-profile-header {
    text-align: center;
    margin-bottom: 25px;
}

/* --- Profile Image --- */
.mp-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* --- Profile Heading --- */
.mp-profile-header h2 {
    color: #64d9bc;
}

/* --- Labels --- */
.mp-label {
    display: inline-block;
    min-width: 150px;
    font-weight: bold;
}

/* --- Postal Code Dropdown --- */
.facetwp-facet-postal_code_filter .facetwp-dropdown {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 25px;
    border: 1px solid #334756;
    border-radius: 8px;
    background-color: #1a202c;
    color: #f0f0f0;
    font-size: 1.1em;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* --- Pager --- */
.facetwp-pager {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.facetwp-page,
.facetwp-pager .facetwp-dots {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #334756;
    border-radius: 4px;
    background-color: #1a202c;
    color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.facetwp-page.active,
.facetwp-page:hover,
.facetwp-pager .facetwp-dots:hover {
    background-color: #00a0d2;
    border-color: #00a0d2;
    color: #fff;
}