/* Instant Member Directory coming-soon page. Moved from the store's inline styles
   (comresources.com/member-directory) and recolored with the IMD Brand Kit v1.0. */

:root {
    /* Brand identity (IMD Brand Kit v1.0) */
    --imd-blue: #175EA6;
    --imd-blue-hover: #124B85;
    --imd-moss: #8A9A5B;
    --imd-moss-light: #C9D3A8;

    /* Page */
    --md-ink: #1F2A37;
    --md-ink-soft: #3A4651;
    --md-muted: #5E6A73;
    --md-surface: #FEFEFE;
    --md-surface-alt: #F2F5F8;
    --md-border: #E6EBEE;
    --md-hero-top: #E8F0F8;
    --md-on-brand: #FFFFFF;
    --md-on-brand-soft: #DCE7F3;
    --md-shadow: rgba(31, 42, 55, 0.10);
    --md-shadow-soft: rgba(31, 42, 55, 0.06);

    --bs-link-color: var(--imd-blue);
    --bs-link-hover-color: var(--imd-blue-hover);
}

body.md-body {
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: var(--md-ink);
    background-color: var(--md-surface);
    margin: 0;
}

.md-body h1, .md-body h2, .md-body h3, .md-body h4 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: var(--md-ink);
    font-weight: 700;
}

.md-header {
    background-color: var(--md-surface);
    border-bottom: 1px solid var(--md-border);
    padding: 14px 0;
}

.md-logo {
    height: 44px;
    width: auto;
}

.md-section {
    padding: 64px 0;
}

.md-section--alt {
    background-color: var(--md-surface-alt);
}

.md-section--brand {
    background-color: var(--imd-blue);
    color: var(--md-on-brand);
}

.md-section--brand h2,
.md-section--brand h3,
.md-section--brand .fw-bold {
    color: var(--md-on-brand);
}

.md-section--brand .md-lead {
    color: var(--md-on-brand-soft);
}

.md-badge {
    display: inline-block;
    background-color: var(--imd-moss);
    color: var(--md-on-brand);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.md-hero {
    background: linear-gradient(180deg, var(--md-hero-top) 0%, var(--md-surface) 100%);
    padding: 72px 0 64px;
}

.md-hero h1 {
    font-size: 3.2rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.md-accent-text {
    color: var(--imd-blue);
}

.md-lead {
    font-size: 1.15rem;
    color: var(--md-ink-soft);
    max-width: 640px;
}

.md-btn-primary {
    background-color: var(--imd-blue);
    border-color: var(--imd-blue);
    color: var(--md-on-brand);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
}

.md-btn-primary:hover,
.md-btn-primary:focus {
    background-color: var(--imd-blue-hover);
    border-color: var(--imd-blue-hover);
    color: var(--md-on-brand);
}

.md-note {
    font-size: 0.85rem;
    color: var(--md-muted);
}

.md-text-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.md-text-link:hover,
.md-text-link:focus {
    color: inherit;
    text-decoration: underline;
}

.md-card {
    background: var(--md-surface);
    border: 1px solid var(--md-border);
    border-radius: 10px;
    padding: 26px;
    height: 100%;
    box-shadow: 0 1px 3px var(--md-shadow-soft);
}

.md-icon {
    color: var(--imd-moss);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.md-icon--xl {
    font-size: 3rem;
}

.md-icon--on-brand {
    color: var(--imd-moss-light);
}

.md-feature {
    text-align: center;
    padding: 16px;
}

.md-feature .md-icon {
    font-size: 2.2rem;
}

.md-list {
    list-style: none;
    padding-left: 0;
}

.md-list li {
    padding: 6px 0 6px 30px;
    position: relative;
}

.md-list li:before {
    content: "\2714";
    color: var(--imd-moss);
    position: absolute;
    left: 0;
    top: 6px;
    font-weight: 700;
}

.md-hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px var(--md-shadow);
}

.md-form-wrap {
    background: var(--md-surface);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 18px var(--md-shadow);
    max-width: 520px;
}

.md-thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.md-footer {
    background-color: var(--md-ink);
    color: var(--md-on-brand-soft);
    text-align: center;
    padding: 28px 0;
    font-size: 0.9rem;
}

.md-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .md-hero h1 { font-size: 2rem; }
    .md-section { padding: 44px 0; }
    .md-logo { height: 36px; }
}
