/* ===========================================
   BMC MEMBERSHIP CHECKER STYLES (SCOPED)
   - Uses CMF-like colors (blue/red palette)
   - Fully scoped under .bmc-container
   - Avoids global selectors to prevent conflicts
   =========================================== */

/* Container */
.bmc-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

/* Card wrapper */
.bmc-form-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Form */
.bmc-form {
    padding: 20px;
}

/* Sections */
.bmc-section {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.bmc-section-title {
    color: #1e4d8b;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bmc-intro {
    margin: 0;
    color: #555;
    font-size: 14px;
}

/* Layout */
.bmc-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.bmc-col-half {
    flex: 1;
}

.bmc-col-full {
    flex: 1;
}

/* Labels */
.bmc-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.bmc-required {
    color: #c62828;
}

/* Inputs */
.bmc-form input[type="text"],
.bmc-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bmc-form input:focus {
    outline: none;
    border-color: #1e4d8b;
    box-shadow: 0 0 0 2px rgba(30, 77, 139, 0.1);
}

.bmc-help {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 12px;
}

/* Submit button */
.bmc-submit-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.bmc-submit-btn:hover:not(:disabled) {
    background: #b71c1c;
}

.bmc-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.bmc-messages {
    margin-top: 15px;
}

.bmc-message {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    margin-top: 10px;
}

.bmc-message--success {
    background: #e8f5e8;
    color: #2e7d32;
    border-color: #4caf50;
}

.bmc-message--error {
    background: #ffebee;
    color: #c62828;
    border-color: #ef5350;
}

.bmc-message--error a {
    color: #1e4d8b;
    text-decoration: underline;
}

.bmc-message--info {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #42a5f5;
}

/* Honeypot (hidden) */
.bmc-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 768px) {
    .bmc-row {
        flex-direction: column;
        gap: 10px;
    }

    .bmc-form {
        padding: 15px;
    }

    .bmc-section {
        padding: 15px;
    }
}

