/* "Open in the app" bar for social in-app browsers, see open-in-app-bar.html */

.open-in-app-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background-color: #ffffff;
    box-shadow: 0 -2px 12px rgba(27, 35, 26, 0.12);
    font-family: var(--font-2);
}

.open-in-app-bar[hidden],
.open-in-app-bar [hidden] {
    display: none;
}

.open-in-app-bar-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 9px;
}

.open-in-app-bar-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    color: var(--col-green-0);
}

/* Second row, lined up with the title */
.open-in-app-bar-fallback {
    flex-basis: 100%;
    margin: 0;
    padding-left: 52px;
    font-size: 13px;
    line-height: 18px;
    color: #666666;
}

.open-in-app-bar-fallback a {
    color: var(--col-green-1);
    font-weight: 600;
    text-decoration: underline;
}

.open-in-app-bar-button,
.open-in-app-bar-button:hover,
.open-in-app-bar-button:focus {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: var(--col-green-1);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.open-in-app-bar-close {
    flex-shrink: 0;
    padding: 0 2px;
    border: 0;
    background: none;
    font-size: 24px;
    line-height: 1;
    color: #999999;
}
