﻿.rz-panel-titlebar-toggler .rzi-minus:before {
    content: "keyboard_arrow_up";
    font-size: 20pt;
}
.rz-panel-titlebar-toggler .rzi-plus:before {
    content: "keyboard_arrow_down";
    font-size: 20pt;
}
.rz-button.rz-button-primary {
    min-height: 1.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.875rem;
    line-height: 1.2;
}

.rz-panel-titlebar-toggler .rzi-minus:before {
    content: "keyboard_arrow_up";
    font-size: 20pt;
}

.rz-panel-titlebar-toggler .rzi-plus:before {
    content: "keyboard_arrow_down";
    font-size: 20pt;
}

.rz-button.rz-button-primary {
    min-height: 1.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.875rem;
    line-height: 1.2;
}

/* Firefox shows default underline on menu links; remove it */
.rz-navigation-item-link,
.rz-navigation-item-link:hover,
.rz-navigation-item-link:focus,
.rz-navigation-item-link:visited {
    text-decoration: none !important;
}

/* ─── Home page hero (Index.razor) ─── */
.home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* vertically center content */
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
    background-color: #ffffff;
    min-height: calc(100vh - 140px); /* fill viewport minus header + footer */
}

.home-hero-title {
    color: #800000; /* maroon */
    font-weight: 700;
    margin: 0;
}

.home-logo-triangle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-logo-top img {
    max-height: 140px;
    width: auto;
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 6px;
}

.home-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

    .home-logo-row img {
        max-height: 110px;
        width: auto;
        background-color: #ffffff;
        padding: 0.5rem;
        border-radius: 6px;
    }

.help-tooltip-link:focus-visible {
    outline: 2px solid #005a9c;
    outline-offset: 2px;
}

/* Ensure sufficient contrast (>= 4.5:1) against the card background */
.help-tooltip-link {
    color: #0056b3; /* example — verify with a contrast checker */
    text-decoration: underline;
}

/* Uniform board logo slot — shared by Limited and Full profile views */
.compact-board-logo-wrapper {
    width: 128px;
    height: 56px;
    flex: 0 0 128px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0.5rem;
    margin-right: 0rem;
}

.compact-board-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Cranberry auth button — always cranberry, darker on hover */
button.rz-button.auth-action-btn,
button.rz-button.auth-action-btn:not(:disabled):not(.rz-state-disabled):hover,
button.rz-button.auth-action-btn:not(:disabled):not(.rz-state-disabled):focus {
    background-color: rgb(139, 21, 61) !important;
    color: #ffffff !important;
    margin-right: 0.73rem;
    padding: 0.5rem 1.5rem;
    min-width: 130px;
    border-color: rgb(99, 15, 44) !important;
}

    button.rz-button.auth-action-btn:not(:disabled):not(.rz-state-disabled):hover {
        background-color: rgb(99, 15, 44) !important;
    }

    button.rz-button.auth-action-btn .rz-link,
    button.rz-button.auth-action-btn .rzi,
    button.rz-button.auth-action-btn a {
        color: #ffffff !important;
        text-decoration: none !important;
    }

/* ─── Help tooltip trigger (info icon before the label) ─── */
/*.help-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 0.4rem;
    border-radius: 50%;
    background-color: var(--rz-primary);
    color: var(--rz-on-primary, #ffffff);
    cursor: help;
    vertical-align: middle;*/
    /* Solid 2px border subtle shadow makes the bubble pop off the page.
       Border also guarantees 3:1 boundary vs light backgrounds (WCAG 1.4.11). */
    /*border: 2px solid var(--rz-primary-dark, #0b5ed7);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

    .help-tooltip-trigger:hover {
        background-color: var(--rz-primary-dark, #0b5ed7);
        transform: scale(1.15);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    }

    .help-tooltip-trigger:focus-visible {
        outline: 2px solid var(--rz-primary);
        outline-offset: 2px;
    }

    .help-tooltip-trigger .rzi {
        font-size: 15px;
        line-height: 1;
        font-weight: 700;
        color: var(--rz-on-primary, #ffffff);
    }*/

/* Windows High Contrast forced-colors mode */
/*@media (forced-colors: active) {
    .help-tooltip-trigger {
        background-color: ButtonFace;
        color: ButtonText;
        border-color: ButtonText;
    }
}*/

/*  Tooltip popup  */
/*.help-tooltip .rz-popup {
    background-color: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;*/
    /* Bridge: extend hit area upward so cursor can travel from icon into tooltip */
    /*margin-top: -6px !important;
}

.help-tooltip-body {
    max-width: 340px;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.help-tooltip-link {
    align-self: flex-start;
    color: #93c5fd !important;
    text-decoration: underline;
    font-weight: 600;
    padding: 0.25rem 0;*/ /* larger click target */
/*}

    .help-tooltip-link:hover,
    .help-tooltip-link:focus {
        color: #ffffff !important;
    }*/
