/* File: wp-content/mu-plugins/brc-frontend.css */

/*
 * BRC Frontend CSS.
 * DEV/STAGE.
 *
 * Shared frontend visual layer for BRC shortcodes.
 */

/* Shared shell */

.brc-ui-screen {
    width: 100%;
    padding: 20px 14px;
    box-sizing: border-box;
}

.brc-ui-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.brc-ui-card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(220, 227, 234, 0.90);
    border-radius: 24px;
    padding: 22px 18px 18px 18px;
    box-sizing: border-box;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.04);
}

.brc-ui-card::before {
    content: '';
    display: block;
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.14);
    margin: 0 auto 18px auto;
}

.brc-ui-head {
    text-align: center;
    margin-bottom: 16px;
}

.brc-ui-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.10);
    border: 1px solid rgba(29, 78, 216, 0.14);
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.brc-ui-title {
    margin: 0 0 8px 0;
    font-size: 1.28rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.brc-ui-note {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.45;
    color: #5b6678;
}

/* Reserved Area dashboard */

.brc-dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.brc-dashboard-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 13px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 16px;
    background: #f7f9fc;
    box-sizing: border-box;
    color: #0f172a;
    text-decoration: none;
    outline: none;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.14s ease;
}

.brc-dashboard-btn:hover,
.brc-dashboard-btn:focus,
.brc-dashboard-btn:focus-visible {
    border-color: #6ea8fe;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.14);
}

.brc-dashboard-btn:active {
    transform: translateY(1px);
}

.brc-dashboard-btn-text {
    display: block;
    min-width: 0;
}

.brc-dashboard-btn-main {
    display: block;
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.brc-dashboard-btn-note {
    display: block;
    margin-top: 3px;
    font-size: 0.82rem;
    line-height: 1.25;
    font-weight: 500;
    color: #667085;
}

.brc-dashboard-btn-arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.10);
    color: #1d4ed8;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
}

/* Mobile */

@media (max-width: 480px) {
    .brc-ui-screen {
        padding: max(12px, env(safe-area-inset-top)) 10px max(18px, env(safe-area-inset-bottom)) 10px;
    }

    .brc-ui-wrap {
        max-width: none;
    }

    .brc-ui-card {
        border-radius: 20px;
        padding: 18px 14px 14px 14px;
    }

    .brc-ui-card::before {
        width: 48px;
        margin-bottom: 14px;
    }

    .brc-ui-badge {
        min-height: 26px;
        padding: 0 10px;
        margin-bottom: 10px;
        font-size: 0.7rem;
    }

    .brc-ui-title {
        font-size: 1.12rem;
    }

    .brc-ui-note {
        font-size: 0.88rem;
    }

    .brc-dashboard-actions {
        gap: 10px;
    }

    .brc-dashboard-btn {
        min-height: 54px;
        padding: 12px;
        border-radius: 15px;
    }

    .brc-dashboard-btn-main {
        font-size: 0.95rem;
    }

    .brc-dashboard-btn-note {
        font-size: 0.78rem;
    }

    .brc-dashboard-btn-arrow {
        width: 24px;
        height: 24px;
        font-size: 1.25rem;
    }
}

/* End File: wp-content/mu-plugins/brc-frontend.css */


