/*
 * Shared components for the client portal (login, portal, MIAM form,
 * agreement, payment, profile, set-password). Loaded only on those pages,
 * see inc/enqueue.php. Consolidates styling that was previously duplicated
 * inline, slightly differently, across every view.
 */

.bmc-shell {
    background: #f9fafb;
    min-height: calc(100vh - 64px);
}

.bmc-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.bmc-card--lg {
    padding: 2rem;
}

.bmc-card--clickable {
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.bmc-card--clickable:hover {
    border-color: #99f6e4;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.1);
    transform: translateY(-1px);
}

.bmc-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin: 0 0 0.25rem;
}

.bmc-eyebrow--brand {
    color: #0f766e;
}

.bmc-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bmc-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.bmc-input:disabled {
    background: #f3f4f6;
    color: #6b7280;
}

.bmc-banner {
    border-radius: 0.75rem;
    padding: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.bmc-banner-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.bmc-banner-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.bmc-banner-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.bmc-banner-info {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    color: #0f766e;
}

/* Progress badge ("2 of 3 complete") and step-number/checkmark circles */
.bmc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.8125rem;
    background: #f0fdfa;
    color: #0f766e;
}

.bmc-status-dot {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #f3f4f6;
    color: #6b7280;
}

.bmc-status-dot--done {
    background: #dcfce7;
    color: #166534;
}
