/* The "FairSquad in your phone" page (Views/Home/App.cshtml). */

.install-platforms {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.25rem;
    border-radius: 0.75rem;
    background: var(--bs-tertiary-bg);
}

.install-platforms button {
    flex: 1;
    padding: 0.45rem 0.5rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: var(--bs-secondary-color);
    font-weight: 600;
}

.install-platforms button.active {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.install-steps {
    margin: 0;
    padding-left: 1.4rem;
}

.install-steps li {
    padding: 0.35rem 0;
}

.install-steps li::marker {
    color: var(--brand-text);
    font-weight: 700;
}

/* The share / menu icon as it looks on the phone. */
.install-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    margin-left: 0.2rem;
    border-radius: 0.4rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-link-color);
    vertical-align: middle;
}

/* "Open it in Safari" when on iPhone in another browser - the step everything depends on. */
.install-step-warning {
    color: var(--bs-warning-text-emphasis);
    font-weight: 600;
}

.install-warning {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
}

.install-done {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-text);
    font-weight: 600;
}

.install-done .mdi {
    font-size: 1.5rem;
}

.install-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.install-qr {
    flex: 0 0 auto;
    width: 9.5rem;
    padding: 0.4rem;
    border-radius: 0.6rem;
    background: #fff;
    line-height: 0;
}

.install-qr svg {
    width: 100%;
    height: auto;
}

.install-share-actions {
    flex: 1 1 14rem;
    min-width: 0;
}
