/*
Theme Name: the Member List
Author: theALMAgroup
Description: Your description goes here
Version: 1.0
Template: generatepress

This is the child theme for GeneratePress theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }
}
.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }
}
.member-profile-wrapper {
    max-width: 900px;
    margin: auto;
}

.member-profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.member-profile-logo img {
    max-width: 200px;
}

.membership-level {
    background: #1e73be;
    color: #fff;
    padding: 6px 14px;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 8px;
}

.member-profile-details p {
    margin: 6px 0;
}

.member-profile-social {
    margin: 20px 0;
}

.member-profile-social a {
    margin-right: 15px;
    font-weight: 600;
}

.member-profile-description {
    margin-top: 30px;
}/* Remove grey background from single member page */
.single-members .site-content {
    background: transparent;
}

/* Member profile container card */
.member-profile-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
}

/* Header layout */
.member-profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

/* Logo styling */
.member-profile-logo img {
    max-width: 200px;
    height: auto;
}

/* Membership badge */
.membership-level {
    background: #1e73be;
    color: #fff;
    padding: 6px 14px;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 8px;
}

/* Contact details spacing */
.member-profile-details p {
    margin: 6px 0;
}

/* Social links spacing */
.member-profile-social {
    margin: 20px 0;
}

.member-profile-social a {
    margin-right: 15px;
    font-weight: 600;
}

/* Description spacing */
.member-profile-description {
    margin-top: 30px;
}

/* Mobile layout */
@media (max-width: 768px) {
    .member-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-profile-wrapper {
        padding: 25px;
    }
}
.member-category-filter-form {
    margin-bottom: 20px;
}

.member-category-filter-wrap select {
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }

    .member-category-filter-wrap select {
        width: 100%;
        min-width: 0;
    }
}
.member-category-filter-form {
    margin-bottom: 20px;
}

.member-category-filter-wrap select {
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }

    .member-category-filter-wrap select {
        width: 100%;
        min-width: 0;
    }
}
.member-directory-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.member-category-filter-form {
    margin: 0;
}

.member-category-filter-wrap select {
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }

    .member-category-filter-wrap select {
        width: 100%;
        min-width: 0;
    }
}
.member-search-filter-form {
    margin-bottom: 20px;
}

.member-search-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-search-filter-wrap input[type="search"] {
    flex: 1 1 320px;
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-search-filter-wrap button {
    padding: 10px 16px;
    border: 1px solid #1e73be;
    background: #1e73be;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.member-search-filter-wrap button:hover {
    opacity: .92;
}

.member-category-filter-form {
    margin-bottom: 20px;
}

.member-category-filter-wrap select {
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-results-count {
    margin-bottom: 18px;
    font-weight: 600;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }

    .member-category-filter-wrap select,
    .member-search-filter-wrap input[type="search"] {
        width: 100%;
        min-width: 0;
    }
}
/* Business Contacts section */

.member-profile-contacts {
    margin-top: 30px;
}

/* Section title */

.member-profile-contacts h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Contact card grid */

.member-contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Individual contact card */

.member-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

/* Contact name */

.member-contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

/* Contact title */

.member-contact-title {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

/* Email + phone */

.member-contact-card p {
    font-size: 14px;
    margin: 4px 0;
}

/* Mobile responsiveness */

@media (max-width: 768px) {
    .member-contact-list {
        grid-template-columns: 1fr;
    }
}
.tml-chamber-login-wrap,
.tml-chamber-dashboard {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
}

.tml-chamber-dashboard-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.tml-chamber-dashboard-card {
    background: #fff;
    border: 1px solid #dbe3ea;
    border-radius: 10px;
    padding: 20px;
}

.tml-chamber-dashboard-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.tml-dashboard-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #1e73be;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.tml-dashboard-btn:hover {
    background: #155a96;
    color: #fff;
}

.tml-chamber-login-wrap form p {
    margin-bottom: 15px;
}

.tml-chamber-login-wrap input[type="text"],
.tml-chamber-login-wrap input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
}

.tml-chamber-login-wrap input[type="submit"] {
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .tml-chamber-dashboard-list {
        grid-template-columns: 1fr;
    }
}
.tml-chamber-edit-wrap {
    max-width: 950px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
}

.tml-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.tml-chamber-edit-form input[type="text"],
.tml-chamber-edit-form input[type="email"],
.tml-chamber-edit-form input[type="url"],
.tml-chamber-edit-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    max-width: 100%;
}

.tml-frontend-contacts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tml-frontend-contact-row {
    background: #fff;
    border: 1px solid #dbe3ea;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 18px;
}

.tml-remove-frontend-contact {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
}

.tml-remove-frontend-contact:hover {
    background: #eef2f7;
}

.tml-form-message.success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 12px 14px;
    border-radius: 8px;
    margin: 16px 0 20px;
}

.tml-form-actions {
    margin-top: 24px;
}

.tml-dashboard-btn.secondary {
    background: #fff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.tml-dashboard-btn.secondary:hover {
    background: #f8fafc;
    color: #1e293b;
}

@media (max-width: 768px) {
    .tml-form-grid {
        grid-template-columns: 1fr;
    }
}
.tml-portal-box {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.tml-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.tml-dashboard-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
}

.tml-dashboard-header p {
    margin: 0;
    color: #64748b;
}

.tml-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.tml-dashboard-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    background: #fff;
}

.tml-dashboard-card-logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 14px;
    display: block;
}

.tml-dashboard-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.tml-dashboard-card p {
    margin: 0 0 10px;
}

.tml-dashboard-card .tml-meta {
    color: #64748b;
}

.tml-dashboard-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tml-btn {
    display: inline-block;
    background: #1e73be;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.tml-btn:hover {
    background: #155a96;
    color: #fff;
}

.tml-btn-secondary {
    background: #fff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.tml-btn-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
}

.tml-edit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.tml-edit-form input[type="text"],
.tml-edit-form input[type="email"],
.tml-edit-form input[type="url"],
.tml-edit-form input[type="date"],
.tml-edit-form input[type="file"],
.tml-edit-form textarea,
.tml-edit-form select,
.tml-login-box input[type="text"],
.tml-login-box input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}

.tml-edit-form textarea {
    resize: vertical;
}

.tml-form-section {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.tml-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.tml-form-section h3 {
    margin: 0 0 16px;
    font-size: 24px;
}

.tml-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
}

.tml-category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.tml-category-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.tml-current-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.tml-frontend-contact-row {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    background: #fff;
}

.tml-remove-frontend-contact {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}

.tml-remove-frontend-contact:hover {
    background: #eef2f7;
}

.tml-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.tml-form-message.success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.tml-empty-state {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 900px) {
    .tml-dashboard-grid,
    .tml-form-grid {
        grid-template-columns: 1fr;
    }

    .tml-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
.tml-remove-frontend-contact {
    background: #1e293b;
    color: #ffffff;
    border: 1px solid #1e293b;
}

.tml-remove-frontend-contact:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.member-search-filter-form {
    margin-bottom: 20px;
}

.member-search-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-search-filter-wrap input[type="search"] {
    flex: 1 1 320px;
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-search-filter-wrap button {
    padding: 10px 16px;
    border: 1px solid #1e73be;
    background: #1e73be;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.member-category-filter-form {
    margin-bottom: 20px;
}

.member-category-filter-wrap select {
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-results-count {
    margin-bottom: 18px;
    font-weight: 600;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

/* Portal */
.tml-portal-box {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.tml-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.tml-dashboard-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
}

.tml-dashboard-header p {
    margin: 0;
    color: #64748b;
}

.tml-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.tml-dashboard-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    background: #fff;
}

.tml-dashboard-card-logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 14px;
    display: block;
}

.tml-dashboard-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.tml-dashboard-card p {
    margin: 0 0 10px;
}

.tml-dashboard-card .tml-meta {
    color: #64748b;
}

.tml-dashboard-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tml-btn {
    display: inline-block;
    background: #1e73be;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.tml-btn:hover {
    background: #155a96;
    color: #fff;
}

.tml-btn-secondary {
    background: #fff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.tml-btn-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
}

.tml-edit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.tml-edit-form input[type="text"],
.tml-edit-form input[type="email"],
.tml-edit-form input[type="url"],
.tml-edit-form input[type="date"],
.tml-edit-form input[type="file"],
.tml-edit-form textarea,
.tml-edit-form select,
.tml-login-box input[type="text"],
.tml-login-box input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}

.tml-edit-form textarea {
    resize: vertical;
}

.tml-form-section {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.tml-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.tml-form-section h3 {
    margin: 0 0 16px;
    font-size: 24px;
}

.tml-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
}

.tml-category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.tml-category-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.tml-current-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.tml-frontend-contact-row {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    background: #fff;
}

.tml-remove-frontend-contact {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #dc2626;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}

.tml-remove-frontend-contact:hover {
    background: #b91c1c;
    color: #ffffff;
    border-color: #b91c1c;
}

.tml-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.tml-form-message.success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.tml-empty-state {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    text-align: center;
    color: #64748b;
}

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tml-dashboard-grid,
    .tml-form-grid {
        grid-template-columns: 1fr;
    }

    .tml-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }

    .member-category-filter-wrap select,
    .member-search-filter-wrap input[type="search"] {
        width: 100%;
        min-width: 0;
    }
}
.tml-dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tml-form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
}
/* ---------------------------------------------------------
   DIRECTORY
--------------------------------------------------------- */

.member-search-filter-form {
    margin-bottom: 20px;
}

.member-search-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-search-filter-wrap input[type="search"] {
    flex: 1 1 320px;
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-search-filter-wrap button {
    padding: 10px 16px;
    border: 1px solid #1e73be;
    background: #1e73be;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.member-search-filter-wrap button:hover {
    background: #155a96;
}

.member-category-filter-form {
    margin-bottom: 20px;
}

.member-category-filter-wrap select {
    min-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
}

.member-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.member-alpha-filter a {
    display: inline-block;
    padding: 8px 12px;
    background: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    color: #222;
    font-weight: 600;
}

.member-alpha-filter a.active,
.member-alpha-filter a:hover {
    background: #1e73be;
    color: #fff;
}

.member-directory-results-count {
    margin-bottom: 18px;
    font-weight: 600;
}

.member-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.member-card-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.member-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.member-card-title a {
    text-decoration: none;
}

.member-card-location,
.member-card-phone,
.member-card-email,
.member-card-website {
    margin: 0 0 8px;
}

/* ---------------------------------------------------------
   PORTAL WRAPPERS
--------------------------------------------------------- */

.tml-portal-box {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.tml-dashboard-wrap,
.tml-edit-wrap,
.tml-renewal-center-wrap,
.tml-renewal-letter-wrap,
.tml-signature-settings-wrap,
.tml-login-box {
    width: 100%;
}

/* ---------------------------------------------------------
   DASHBOARD / HEADER
--------------------------------------------------------- */

.tml-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.tml-dashboard-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.15;
}

.tml-dashboard-header p {
    margin: 0;
    color: #64748b;
}

.tml-dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.tml-btn {
    display: inline-block;
    background: #1e73be;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tml-btn:hover {
    background: #155a96;
    color: #fff;
}

.tml-btn-secondary {
    background: #fff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.tml-btn-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
}

button.tml-btn {
    appearance: none;
    -webkit-appearance: none;
}

/* ---------------------------------------------------------
   LOGIN FORM
--------------------------------------------------------- */

.tml-login-box form p {
    margin-bottom: 15px;
}

.tml-login-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.tml-login-box input[type="text"],
.tml-login-box input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}

.tml-login-box input[type="submit"] {
    display: inline-block;
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.tml-login-box input[type="submit"]:hover {
    background: #155a96;
}

/* ---------------------------------------------------------
   DASHBOARD CARDS
--------------------------------------------------------- */

.tml-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.tml-dashboard-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    background: #fff;
}

.tml-dashboard-card-logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 14px;
    display: block;
}

.tml-dashboard-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.tml-dashboard-card p {
    margin: 0 0 10px;
}

.tml-dashboard-card .tml-meta {
    color: #64748b;
}

.tml-dashboard-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tml-empty-state {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    text-align: center;
    color: #64748b;
}

/* ---------------------------------------------------------
   FORMS
--------------------------------------------------------- */

.tml-edit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.tml-edit-form input[type="text"],
.tml-edit-form input[type="email"],
.tml-edit-form input[type="url"],
.tml-edit-form input[type="date"],
.tml-edit-form input[type="file"],
.tml-edit-form textarea,
.tml-edit-form select {
    width: 100%;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}

.tml-edit-form textarea {
    resize: vertical;
}

.tml-form-section {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.tml-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.tml-form-section h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.2;
}

.tml-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
}

.tml-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.tml-form-message.success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.tml-form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
}

/* ---------------------------------------------------------
   CATEGORY CHECKBOXES
--------------------------------------------------------- */

.tml-category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.tml-category-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

/* ---------------------------------------------------------
   LOGO PREVIEW
--------------------------------------------------------- */

.tml-current-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

/* ---------------------------------------------------------
   CONTACT ROWS
--------------------------------------------------------- */

.tml-frontend-contact-row {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    background: #fff;
}

.tml-remove-frontend-contact {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #dc2626;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
}

.tml-remove-frontend-contact:hover {
    background: #b91c1c;
    color: #ffffff;
    border-color: #b91c1c;
}

/* ---------------------------------------------------------
   RENEWAL CENTER
--------------------------------------------------------- */

.tml-renewal-filter-form {
    margin-bottom: 20px;
}

.tml-renewal-filter-form select {
    margin-left: 8px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
}

.tml-renewal-table-wrap {
    overflow-x: auto;
}

.tml-renewal-table {
    width: 100%;
    border-collapse: collapse;
}

.tml-renewal-table th,
.tml-renewal-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.tml-renewal-table th {
    background: #f8fafc;
    font-weight: 700;
}

.tml-renewal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tml-renewal-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.tml-renewal-badge.active {
    background: #dcfce7;
    color: #166534;
}

.tml-renewal-badge.due-soon {
    background: #fef3c7;
    color: #92400e;
}

.tml-renewal-badge.expired {
    background: #fee2e2;
    color: #991b1b;
}

.tml-renewal-badge.no-date {
    background: #e2e8f0;
    color: #334155;
}

/* ---------------------------------------------------------
   RENEWAL LETTER
--------------------------------------------------------- */

.tml-renewal-letter-document {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 40px;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   SINGLE MEMBER PAGE
--------------------------------------------------------- */

.member-profile-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
}

.member-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.member-action-btn {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #d6d6d6;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: #222;
}

.member-action-btn:hover {
    background: #1e73be;
    color: #fff;
    border-color: #1e73be;
}

.member-action-back {
    margin-right: auto;
}

.member-profile-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.member-profile-logo img {
    max-width: 200px;
    height: auto;
    display: block;
}

.member-profile-title h1 {
    margin: 0;
}

.member-profile-details p {
    margin: 6px 0;
}

.member-profile-contacts {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.member-profile-contacts h2,
.member-membership-info h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.member-contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.member-contact-card,
.member-membership-info {
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    padding: 16px;
}

.member-contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.member-contact-title {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.member-contact-card p,
.member-membership-info p {
    font-size: 14px;
    margin: 4px 0;
}

.member-profile-description {
    margin-top: 30px;
}

.member-profile-social {
    margin-top: 24px;
}

.member-profile-social a {
    margin-right: 15px;
    font-weight: 600;
    text-decoration: none;
}

/* ---------------------------------------------------------
   PRINT
--------------------------------------------------------- */

@media print {
    .no-print,
    .site-header,
    .site-footer,
    .inside-header,
    .main-navigation {
        display: none !important;
    }

    .tml-portal-box,
    .tml-renewal-letter-document {
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        background: #fff !important;
    }
}

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

@media (max-width: 1024px) {
    .member-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tml-dashboard-grid,
    .tml-form-grid {
        grid-template-columns: 1fr;
    }

    .tml-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .member-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-profile-wrapper {
        padding: 25px;
    }

    .member-contact-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .member-directory-grid {
        grid-template-columns: 1fr;
    }

    .member-category-filter-wrap select,
    .member-search-filter-wrap input[type="search"] {
        width: 100%;
        min-width: 0;
    }
}
.member-primary-contact {
    margin-top: 12px;
}

.member-primary-contact p {
    margin: 4px 0;
}

.member-primary-contact-title {
    color: #64748b;
    font-size: 14px;
}