/* Browser Push Notifications - styles */

.browserpush-install-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 99999;
    background: #2e2e2e;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    padding: 12px 16px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 13px;
    max-width: 420px;
    margin: 0 auto;
}
.browserpush-install-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.browserpush-install-banner-text {
    flex: 1 1 auto;
    line-height: 1.4;
}
.browserpush-install-banner-btn {
    background: #0066cc;
    border: 0;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}
.browserpush-install-banner-btn:hover {
    background: #0055aa;
}

/* Toggle switches on the UserCP page */
.browserpush-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.browserpush-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.browserpush-checkbox:not(.hidden-checkbox) {
    position: absolute;
    opacity: 0;
}
.browserpush-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 26px;
}
.browserpush-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 50%;
}
.browserpush-checkbox:checked + .browserpush-slider {
    background-color: #2196F3;
}
.browserpush-checkbox:checked + .browserpush-slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}
