/*
 * Customer area on top of Tabler (Resources/Public/Contrib/tabler).
 * Keep this file small: use Tabler/Bootstrap utilities and the Fluid components first.
 */

/* Brand colour of ferienimmo.media */
:root,
[data-bs-theme="light"] {
    --tblr-primary: #b61e3f;
    --tblr-primary-rgb: 182, 30, 63;
    --tblr-primary-lt-rgb: 248, 233, 236;
}

.fi-logo {
    height: 2.25rem;
    width: auto;
}

/* Help panel (fi:help.panel): native <details>, styled as a card */
.fi-help > summary {
    list-style: none;
    cursor: pointer;
}
.fi-help > summary::-webkit-details-marker {
    display: none;
}
.fi-help:not([open]) > summary {
    border-bottom: 0;
}
.fi-help-chevron {
    transition: transform .2s;
}
.fi-help[open] .fi-help-chevron {
    transform: rotate(180deg);
}

/* Steps of a help panel (fi:help.step) */
.fi-steps {
    counter-reset: fi-step;
    list-style: none;
    padding: 0;
    margin: 0;
}
.fi-step {
    counter-increment: fi-step;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.25rem;
}
.fi-step:last-child {
    margin-bottom: 0;
}
.fi-step::before {
    content: counter(fi-step);
    position: absolute;
    left: 0;
    top: -.1rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--tblr-primary-lt);
    color: var(--tblr-primary);
    font-weight: var(--tblr-font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fi-screenshot {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
}

/* Status badges: icon and text on one line */
.fi-status {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.fi-property-switcher {
    max-width: 16rem;
}

/* Card header (fi:card): on narrow screens the actions move below the title */
.card-header > .card-actions {
    margin-left: auto;
}

/* Honeypot of the registration form: invisible for people, still in the DOM for bots */
.fi-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
