/*
 * Reporting module theme.
 *
 * Reporting is built from the licensing components (licensing/index.css, the
 * lic- classes) so the two portals stay one design. This file loads after it
 * and does two things only:
 *
 *  - re-points the brand accent from licensing's pink to indigo, on
 *    .reporting-app, so nobody mistakes one portal for the other. Every
 *    component that uses var(--lic-brand*) follows automatically.
 *  - adds the handful of pieces licensing has no equivalent for (rep- prefix).
 *
 * The email layout (resources/views/mail/reporting/layout.blade.php) carries
 * the same accent inline, since mail clients strip stylesheets.
 */

.reporting-app {
    --lic-brand: #5b5bd6;
    --lic-brand-dark: #4646b8;
    --lic-brand-soft: #ecebfb;

    /* The navbar's scalloped edge */
    --rep-edge: #5b5bd6;
}

/* --- Dashboard report cards --------------------------------------------- */

a.rep-viewcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--lic-text);
    text-decoration: none;
    transition: box-shadow .15s ease, transform .15s ease;
}

a.rep-viewcard:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(42, 42, 85, .08), 0 10px 24px rgba(42, 42, 85, .10);
}

.rep-viewcard-open {
    margin-top: auto;
    padding-top: 12px;
    color: var(--lic-brand);
    font-weight: 700;
    font-size: 14px;
}

/* --- Users: HQ search results and pending invitations -------------------- */

.rep-pick-list {
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid var(--lic-line);
    border-radius: var(--lic-radius-sm);
}

.rep-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--lic-line);
}

.rep-pick:last-child { border-bottom: 0; }

.rep-invite {
    padding: 10px 0;
    border-bottom: 1px solid var(--lic-line);
}

.rep-invite:first-of-type { padding-top: 0; }
