:root {
    --app-height: 100%;
}

.app-pages {
    /* position: relative; */
    background-color: #fff;
    --app-border-radius: 10px;
}

.app-pages.bg-transparent {
    background-color: transparent;
}

section.app-pages:not(.bg-home) {
    padding-bottom: calc(54px + 0.5rem);
}

.banner-bg {
    background-image: url('../images/bg/login.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0 0 60% 50%;
    width: 200%;
    height: 450px;
}

.bg-home {
    position: relative;
    background-image: url('../images/bg/home.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-color: #101010; */
    background-position: center center;
}

.bg-home:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #101010;
    opacity: 0.6;
}

.bg-home {
    padding-bottom: calc(5.5rem + 54px);
}

.bg-home > * {
    position: relative;
}

.app-pages h1, .app-pages h2, .app-pages h3, .app-pages h4, .app-pages h5, .app-pages h6 {
    --tb-heading-color: #37486e;
}

.banner-container {
    color: #fff;
    max-width: 77%;
}

.banner-container .btn {
    --tb-btn-border-width: 2px!important;
}

.app-drawer {
    max-width: 500px;
    left: 50%;
    transform: translate(-50%);
    bottom: 0.5rem;
    width: calc(100% - 2rem);
    border-radius: var(--app-border-radius);
    background-color: rgb(255 255 255 / 10%);
    backdrop-filter: blur(10px);
    
}

.app-drawer.homepage .nav-link {
    display: inline-flex;
    width: auto;
    color: #fff;
    border-radius: var(--app-border-radius);
    font-size: 25px;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
}

.app-drawer.homepage .nav-link:not(.active) {
    color: #2b2f32;
}

.mobile-home .app-drawer.homepage .nav-link:not(.active) {
    color: #fff;
}

.modal-dialog-content {
    flex: 1;
}

.subscription-card {
    border: var(--tb-border-width) solid var(--tb-card-border-color);
    border-radius: var(--app-border-radius);
    margin-bottom: 1rem;
    flex: 1;
    max-height: calc(50% - 0.5rem);
}

.subscription-card:last-child {
    margin-bottom: 0;
}

.subscription-card.premium {
    background: var(--tb-warning-bg-subtle);
}

.physical-card {
    border: 1px solid var(--tb-border-color);
    border-radius: var(--app-border-radius);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    position: relative;
}

.notif-message-container {
    width: 100%;
    max-width: 750px;
    padding-inline: 0.825rem;
}

.notif-message-container .main-btn {
    font-size: 1rem;
}

.circle-icon-container {
    border-radius: 50%;
    font-size: 65px;
    width: 100px;
    height: 100px;
}

.profile-user-container .avatar span {
    font-size: calc(var(--tb-font-base) * 1.75);
    font-weight: 500;
}

.profile-page {
    width: 100%;
}

.profile-menu-container .nav-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.625rem 1rem;
    /* color: var(--tb-vertical-menu-item-color); */
    font-size: var(--tb-vertical-menu-item-font-size);
    font-family: var(--tb-font-sans-serif);
    margin: 0 12px;
    font-weight: var(--tb-vertical-menu-item-font-weight);
}

.profile-menu-container .nav-link i {
    display: inline-block;
    min-width: 1.75rem;
    font-size: calc(var(--tb-vertical-menu-item-font-size) * 1.3);
    line-height: 0;
}

.profile-menu-container .navbar-nav .nav-link:after {
    display: block;
    content: "\f0142";
    font-family: "Material Design Icons";
    margin-left: auto;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s,-webkit-transform .2s;
    font-size: 1.05rem;
    position: absolute;
    right: calc(20px + 1rem);
    color: var(--tb-vertical-menu-title-color);
}

.logout-btn {
    margin: 20px calc(1rem + 12px) 0;
}

.camera-bg {
    background-color: #000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.camera-bg video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.camera-bg.dimmed:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 50%);
}

.bottom-controls {
    max-width: 500px;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
    width: calc(100% - 2rem);
    border-radius: 2rem 2rem 0 0;
    background-color: rgb(0 0 0 / 10%);
    backdrop-filter: blur(10px);
}

.rotate-135 {
    transform: rotate(135deg);
}

.camera-overlay {
    top: calc(2rem + 15px);
    right: 1rem;
    max-height: 150px;
    max-width: 120px;
}

.camera-overlay video {
    max-width: 120px;
    max-height: 150px;
}

.top-controls {
    top: 0;
    background: rgb(0 0 0 / 50%);
}

.vh-50 {
    height: 50vh;
}

.btn-transparent {
    background-color: transparent;
    border: 0;
}

.btn-transparent.text-white:focus, .btn-transparent.text-white:hover {
    color: #fff!important;
}

.btn-transparent.text-green, .btn-transparent.text-green:focus, .btn-transparent.text-green:hover {
    color: #00ff00!important;
}

.btn-transparent.btn-icon {
    width: 35px;
    height: 35px;
}

.chat-conversation .conversation-list .ctext-wrap-content {
    padding: 8px 12px;
    border-radius: 20px;
}

.chat-list .conversation-name {
    padding-left: 0.25rem;
}

.chat-list.right .conversation-name {
    padding-right: 0.25rem;
}

.chat-conversation .chat-avatar img {
    width: 30px;
    height: 30px;
}

.chat-conversation .chat-avatar {
    margin: 0 10px 0 0;
}

.btn-transparent > .dot {
    display: none;
}

.btn-transparent.has-unread > .dot {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #ff6c6c;
    border-color: #ff5a5a;
    border-radius: 20px;
    font-size: 8px;
}

/* .min-vh-100 {
    min-height: -webkit-fill-available;
} */

.vh-100 {
    height: 100%;
}

.min-h-100 {
    min-height: 100%;
}

.max-h-100 {
    max-height: 100%;
}

.btn-available .p-button-label {
    font-size: 9.5px;
    margin-top: 2px;
}

@media(min-width: 769px) {
    .chat-conversation .conversation-list .ctext-wrap-content {
        background-color: #fff;
    }
}

@media(max-width: 768px) {
    input:not([type="checkbox"]):not([type="radio"]), select, textarea {
        font-size: 16px!important;
    }

    html, body, #app {
        height: var(--app-height)!important;
        overflow: hidden;
    }

    .min-vh-100 {
        min-height: var(--app-height)!important;
    }
}