﻿/* Global and main styles */
@import url('https://cdn.javanan.org/admin/css/Utility.v2.css');


:root {
    --main-bg-color: #F1EFE5;
    --white-color: #FFFFFF;
    --primary-color: #41B170;
    --primary-color-light: rgba(65, 177, 112, 0.08);
}

[v-cloak] {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

::selection,
::-moz-selection {
    background-color: var(--primary-color-light);
}

html {
    direction: rtl;
    font-family: IRANSansXFaNum;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: IRANSansXFaNum;
    margin: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background-color: #f6f6f6;
}

::selection {
    background-color: var(--primary-color);
    color: #ffffff;
}

input, button {
    font-family: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    all: unset;
    cursor: pointer;
    box-sizing: border-box;
}

p, h1, h2, h3, h4, h5, h6, hr {
    margin: 0;
}

button:focus {
    outline: none;
}

/* Layout styles */
.main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--main-bg-color);
}

@media (min-width: 1024px) and (max-width: 1650px) {
    .main-container {
        width: 36%;
    }
}

@media (min-width: 1651px) {
    .main-container {
        width: 22%;
    }
}

.page-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .page-content::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .page-content::-webkit-scrollbar-track,
    .page-content::-webkit-scrollbar-thumb,
    .page-content::-webkit-scrollbar-corner {
        display: none;
    }

.app-bottom-navbar {
    flex-shrink: 0;
    display: flex;
    background-color: var(--white-color);
    border-top: 1px solid #E0E0E0;
    /* env(safe area inset bottom) is for iphones */
    height: calc(80px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 6px;
    flex: 1;
    color: #5C5C5C;
    -webkit-tap-highlight-color: transparent;
}

    .nav-item.active {
        color: var(--primary-color);
        font-weight: 500;
    }

        .nav-item.active .nav-item__icon-box {
            background-color: var(--primary-color-light);
        }

.nav-item__icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 32px;
    border-radius: 9999px;
}

.nav-icon {
    width: 24px;
    height: 24px;
}

.nav-item__label {
    font-size: 0.8rem;
}

/* Login Page */
.login-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 1.5rem;
    background-image: url(/assets/image/login_grid.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    background-color: var(--white-color);
}

@media (min-width: 1024px) and (max-width: 1650px) {
    .login-container {
        width: 36%;
    }
}

@media (min-width: 1651px) {
    .login-container {
        width: 24%;
    }
}

.login-logo {
    width: 180px;
    height: auto;
}

.segmented-tabs {
    display: flex;
    align-items: center;
    background-color: #F6F7F7;
    border-radius: 16px;
    padding: 6px;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
}

    .segmented-tabs .tab-item {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        font-size: 15px;
        color: #242424;
        background-color: transparent;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        outline: none;
        transition: all 0.2s ease-in-out;
        font-family: inherit;
    }


        .segmented-tabs .tab-item.active-tab {
            background-color: #ffffff;
        }


form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-label {
    font-size: 0.9rem;
    margin-right: 8px;
    color: #5C5C5C;
    user-select: none;
}

.input-wrapper {
    position: relative;
    width: 100%;
    height: 50px;
}

    .input-wrapper:has(.input-action-btn) .form-input {
        padding-left: 56px;
    }

.form-input {
    display: block;
    width: 100%;
    height: 100%;
    border: 1.5px solid #E6E6E6;
    border-radius: 16px;
    outline: none;
    background-color: var(--white-color);
    font-size: 14px;
    color: #242424;
    font-family: inherit;
    padding: 0 16px;
    direction: rtl;
}

    .form-input.invalid {
        border-color: #F57070;
    }

    .form-input::placeholder {
        color: #CCCCCC;
        font-weight: 300;
        direction: rtl;
        text-align: right;
    }

.form-input--ltr {
    direction: ltr;
    text-align: left;
}

    .form-input--ltr::placeholder {
        direction: ltr;
        text-align: left;
    }

.form-input--center {
    text-align: center;
}

    .form-input--center::placeholder {
        text-align: center;
    }

.input-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: var(--primary-color-light);
    border: none;
    outline: none;
    border-radius: 12px;
    cursor: pointer;
}

.action-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.password-icon--hidden {
    display: none;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

    .captcha-row .input-wrapper {
        flex: 1;
        min-width: 0;
        width: auto;
    }

.img-captcha {
    width: auto;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    outline: none;
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

    .btn-primary:focus {
        box-shadow: 0 0 0 4px rgba(65, 177, 112, 0.25);
    }

.btn-danger {
    background-color: #DC2626;
    color: #ffffff;
}

.btn-danger-light {
    background-color: #FCF1F1;
    color: #DC2626;
}

.btn:disabled,
.btn.is-disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    width: auto;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
}

    .btn-text:hover {
        background-color: var(--primary-color-light);
    }

    .btn-text:focus {
        text-decoration: underline;
    }

    .btn-text:active {
        transform: scale(0.97);
    }


.app-version {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #5C5C5C;
    font-size: 0.9rem;
}

.tab-content-container {
    width: 100%;
}

.tab-pane {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .tab-pane.active {
        display: flex;
        animation: fadeInSlide 0.25s ease-out forwards;
    }

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-forms {
    display: none;
}

    .login-forms.active {
        display: flex;
        animation: fadeInSlide 0.25s ease-out forwards;
    }

.otp-description {
    color: #5C5C5C;
    padding: 0 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.otp-phone-box {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color-light);
    padding: 8px 20px 8px 8px;
    border-radius: 16px;
    cursor: pointer;
}

.otp-edit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.otp-edit-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.otp-phone-number {
    color: var(--primary-color);
    font-size: 0.9rem;
    user-select: none;
    font-family: inherit;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    direction: ltr;
    margin-top: 28px;
    width: 100%;
}

.otp-input {
    width: 60px;
    height: 70px;
    border: 1.5px solid #E6E6E6;
    border-radius: 13px;
    text-align: center;
    font-size: 20px;
    color: #242424;
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
}

    .otp-input::-webkit-outer-spin-button,
    .otp-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .otp-input:focus {
        border-color: var(--primary-color);
    }

.error-message {
    align-self: flex-start;
    margin: 0 8px;
    color: #DC2626;
    font-size: 0.8rem;
    text-align: right;
}


.register-pic-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background-color: #ffffff;
    border: 2px solid #27ae60;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

    .register-pic-box:hover {
        transform: translateY(-2px);
    }

    .register-pic-box.has-image {
        border: 1px solid #E0E0E0;
    }

.register-pic-box__icon {
    width: 30px;
    height: 30px;
    color: #27ae60;
}

.register-pic-box.has-image .register-pic-box__icon {
    display: none;
}

.register-pic-box__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-pic-box__input {
    display: none;
}

.page {
    height: 100%;
    width: 100%;
    padding: 1.5rem;
}

/* Rooms list */
.rooms-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.rooms-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #474A4B;
}

.rooms-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.25rem;
}

.rooms-fab-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid #6EC492;
    border-radius: 9999px;
    padding: 12px 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0px 4px 16px 0px rgba(65, 177, 112, 0.4);
    cursor: pointer;
    z-index: 50;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

    .rooms-fab-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }

    .rooms-fab-btn:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(65, 177, 112, 0.25);
    }

    .rooms-fab-btn svg {
        width: 22px;
        height: 22px;
    }


.search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box__input {
    width: 100%;
    height: 48px;
    background-color: #F9F9F5;
    border: 1px solid #DBDBD7;
    border-radius: 20px;
    padding: 0 48px 0 16px;
    font-size: 0.85rem;
    color: #474A4B;
    outline: none;
}

    .search-box__input::placeholder {
        color: #999999;
    }

.search-box__icon {
    position: absolute;
    right: 20px;
    color: #999999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .search-box__icon svg {
        width: 22px;
        height: 22px;
    }

.icon-button {
    width: 38px;
    height: 38px;
    background-color: #E1DFD6;
    border: none;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #292D32;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

    .icon-button svg {
        width: 22px;
        height: 22px;
    }

.rooms-scroll-container {
    overflow-y: auto;
    padding-bottom: 80px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 1.5rem;
}

    .rooms-scroll-container::-webkit-scrollbar {
        display: none;
    }

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.room-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    cursor: pointer;
}

.room-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #474A4B;
}

.room-card__description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #5C5C5C;
    min-height: 24px;
}

.room-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.room-card__members {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999999;
    font-size: 0.8rem;
    font-weight: 500;
}

    .room-card__members svg {
        width: 12px;
        height: 12px;
    }

.room-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--primary-color);
}


.rooms-skeleton-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-bottom: 80px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .rooms-skeleton-list::-webkit-scrollbar {
        display: none;
    }

.empty-rooms-list__description {
    color: #5C5C5C;
    font-size: 0.8rem;
    font-weight: 500;
}

.room-skeleton-card {
    background-color: #E6E3D8;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.25);
}

.room-skeleton {
    display: block;
    background: linear-gradient( 90deg, rgba(128, 128, 128, 0.3) 25%, rgba(128, 128, 128, 0.1) 50%, rgba(128, 128, 128, 0.3) 75% );
    background-size: 200% 100%;
    border-radius: 8px;
    animation: room-skeleton-shimmer 1.5s ease-in-out infinite;
}

.room-skeleton__title {
    width: 55%;
    height: 20px;
}

.room-skeleton__description {
    width: 100%;
    height: 14px;
}

.room-skeleton__description--short {
    width: 70%;
}

.room-skeleton-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.room-skeleton__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.room-skeleton__members {
    width: 42px;
    height: 14px;
}

@keyframes room-skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.empty-rooms-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding-bottom: 40px;
}

.empty-rooms-list__icon {
    max-width: 200px;
    position: relative;
    right: -9px;
}

.empty-rooms-list__title {
    color: #242424;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.bottom-sheet {
    position: fixed;
    inset: auto 0 0;
    width: min(100%, 480px);
    max-width: 100%;
    max-height: min(80vh, 740px);
    max-height: min(80dvh, 740px);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 24px 24px 0 0;
    background: #ffffff;
    border: none;
}

    .bottom-sheet::-webkit-scrollbar {
        display: none;
    }

    .bottom-sheet[open] {
        display: flex;
        flex-direction: column;
        animation: bottom-sheet-enter 200ms ease-out both;
    }

    .bottom-sheet::backdrop {
        background: rgba(0, 0, 0, 0.45);
        animation: bottom-sheet-backdrop-enter 150ms ease-out both;
    }

    .bottom-sheet[open].is-closing {
        animation: bottom-sheet-exit 200ms ease-in both;
    }

    .bottom-sheet.is-closing::backdrop {
        animation: bottom-sheet-backdrop-exit 200ms ease-in both;
    }

@keyframes bottom-sheet-enter {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bottom-sheet-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes bottom-sheet-backdrop-enter {
    from {
        background: rgba(0, 0, 0, 0);
    }

    to {
        background: rgba(0, 0, 0, 0.45);
    }
}

@keyframes bottom-sheet-backdrop-exit {
    from {
        background: rgba(0, 0, 0, 0.45);
    }

    to {
        background: rgba(0, 0, 0, 0);
    }
}

.popup-dialog {
    position: fixed;
    inset: 0;
    width: min(90%, 380px);
    max-height: min(80vh, 740px);
    max-height: min(80dvh, 740px);
    height: fit-content;
    margin: auto;
    padding: 0.75rem;
    padding-top: 1.5rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 24px;
    background: #ffffff;
    border: none;
    flex-direction: column;
    align-items: center;
}

.reconnecting-dialog {
    width: min(90%, 340px);
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(1px);
}

.popup-dialog__icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.popup-dialog svg {
    width: 40px;
    height: 40px;
}

.popup-dialog__title {
    font-size: 18px;
    font-weight: 600;
    color: #242424;
}

.popup-dialog__description {
    color: #808080;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.mic-denied-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    background: var(--primary-color-light);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.mic-denied-link:focus-visible {
    outline: 3px solid rgba(65, 177, 112, 0.35);
    outline-offset: 3px;
}

.popup-dialog__btn-container {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    width: 100%;
}

.popup-dialog__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 10px 0;
    text-align: center;
    border-radius: 16px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
}

.popup-dialog__btn--primary {
    background: var(--primary-color);
    color: white;
}

.popup-dialog__btn--danger {
    background: #DC2626;
    color: white;
}

.popup-dialog__btn--danger-light {
    background: #FDF6F6;
    color: #DC2626;
    border: 1px solid #FCEEEE;
}

.popup-dialog__btn--cancel {
    background: #E2E2E2;
    color: #242424;
}

    .popup-dialog__btn--primary:focus-visible,
    .popup-dialog__btn--danger:focus-visible,
    .popup-dialog__btn--cancel:focus-visible {
        outline: none;
        transition: box-shadow 0.15s ease-in-out;
    }

.popup-dialog__btn--primary:focus-visible {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--primary-focus-color, rgba(59, 130, 246, 0.45));
}

.popup-dialog__btn--danger:focus-visible {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(220, 38, 38, 0.35);
}

.popup-dialog__btn--cancel:focus-visible {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(36, 36, 36, 0.25);
}

.popup-dialog::-webkit-scrollbar {
    display: none;
}

.popup-dialog[open] {
    display: flex;
    flex-direction: column;
    animation: popup-dialog-fade-in 200ms ease-out both;
}

.popup-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
    animation: popup-dialog-backdrop-enter 150ms ease-out both;
}

.popup-dialog[open].is-closing {
    animation: popup-dialog-fade-out 200ms ease-in both;
}

.popup-dialog.is-closing::backdrop {
    animation: popup-dialog-backdrop-exit 200ms ease-in both;
}


@keyframes popup-dialog-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popup-dialog-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes popup-dialog-backdrop-enter {
    from {
        background: rgba(0, 0, 0, 0);
    }

    to {
        background: rgba(0, 0, 0, 0.45);
    }
}

@keyframes popup-dialog-backdrop-exit {
    from {
        background: rgba(0, 0, 0, 0.45);
    }

    to {
        background: rgba(0, 0, 0, 0);
    }
}

.create-room-bsh {
    width: 100%;
}

.bsh-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #474A4B;
    margin-right: 6px;
}

.rounded-divider {
    width: 100%;
    height: 1px;
    background-color: #E6E6E6;
    border: none;
    border-radius: 9999px;
    margin: 16px 0;
}

.create-room-bsh__form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Textarea */
.form-textarea {
    height: 100%;
    padding: 14px 16px;
}

.input-wrapper--textarea {
    height: 120px;
}

/* Toggle rows */
.toggle-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.75rem;
}

.toggle-label {
    font-size: 0.95rem;
    color: #474A4B;
}

/* Native switch */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

    .switch input:focus-visible + .slider {
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #38a169;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #F1EFE5;
    border-radius: 34px;
    transition: 0.3s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        border-radius: 50%;
        transition: 0.3s;
    }

input:checked + .slider {
    background-color: var(--primary-color);
}

    input:checked + .slider:before {
        transform: translateX(22px);
    }

.btn-secondary {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

    .btn-secondary:focus {
        box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.25);
    }

.btn-cancel {
    background-color: #F7F7F7;
    color: #999999;
}

    .btn-cancel:focus {
        box-shadow: 0 0 0 4px rgba(178, 178, 178, 0.25);
    }


.date-wheels-container {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
}

.custom-wheel .AQR_Wheel-mask {
    background: none !important;
    border-top: 2px solid #6DC391 !important;
    border-bottom: 2px solid #6DC391 !important;
    border-radius: 0 !important;
}

.small-wheel {
    width: 60px !important;
}

.large-wheel {
    width: 150px !important;
}

.fill {
    flex-grow: 1;
}

.future-rooms {
    background-color: #EBE8DD;
    border: 1px solid #D8D5CB;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.future-rooms__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.future-rooms__avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(128, 128, 128, 0.25);
    object-fit: cover;
}

.future-rooms__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.future-rooms__title {
    font-size: 0.80rem;
    font-weight: 600;
    color: #474A4B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.future-rooms__date {
    font-size: 0.65rem;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.future-rooms__time {
    display: flex;
    align-items: center;
    font-size: 0.80rem;
    font-weight: 600;
    color: #242424;
    white-space: nowrap;
}


.share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f3f4f6;
    border-radius: 22px;
    padding: 8px;
    padding-left: 16px;
    gap: 6px;
    direction: ltr;
}

.share-box-text {
    flex: 1;
    font-size: 0.9rem;
    color: #474A4B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-box-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-box-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    color: #5C5C5C;
    cursor: pointer;
}

    .share-box-action svg {
        display: block;
        width: 21px;
        height: 21px;
    }

.vue-roots {
    height: 100%;
}

.voice-permission-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
    justify-content: center;
    text-align: center;
    background: white;
}

    .voice-permission-layout svg {
        width: 70px;
        height: 70px;
        color: var(--primary-color);
    }

.room-loading-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    background: white;
    gap: 1rem;
    color: #555555;
    font-size: 0.9rem;
}



@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.permission-title {
    color: #030303;
    font-size: 1.1rem;
    font-weight: 700;
}

.permission-description {
    color: #858585;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.permission-error {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #F62746;
    color: white;
    font-weight: 600;
}

.room-error-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: white;
    text-align: center;
}

    .room-error-layout svg {
        width: 48px;
        height: 48px;
        color: #F62746;
    }

.room-error-title {
    color: #030303;
    font-size: 1.1rem;
    font-weight: 700;
}

.room-error-description {
    max-width: 420px;
    margin-top: 0.5rem;
    color: #858585;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.room-error-retry {
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font: inherit;
    cursor: pointer;
}

    .room-error-retry:focus-visible {
        outline: 3px solid #030303;
        outline-offset: 3px;
    }


.room-page {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--main-bg-color);
    position: relative;
}

.room-header {
    padding: 2rem 1.75rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

    .room-header img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

.local-name {
    color: #242424;
    font-size: 0.8rem;
    font-weight: 500;
}

.room-content {
    flex: 1;
    min-height: 0;
    padding: 2rem 1.75rem 100px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-top: 1px solid #E6E6E6;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: white;
}

    .room-content::-webkit-scrollbar {
        display: none;
    }

.room-content__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-content__header__icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.room-content__room-name {
    color: #46494A;
    font-size: 1.2rem;
    font-weight: 600;
}

.room-info-button {
    background-color: #F6F6F6;
}

.participants-grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    row-gap: 1.5rem;
}

.publishers-grid {
    margin-top: 1.5rem;
}

.listeners-grid {
    column-gap: 0.75rem;
}

.publishers-grid .participant-item {
    flex: 0 0 calc((100% - (2 * 1.25rem)) / 3);
}

.listeners-grid .participant-item {
    flex: 0 0 calc((100% - (3 * 0.75rem)) / 4);
}

.participant-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.participant-item__speaker-avatar-wrap {
    position: relative;
    display: block;
    width: 75%;
}

    .participant-item__speaker-avatar-wrap::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 26px;
        box-shadow: 0 0 0 4px #fff, 0 0 0 6px #7FC1B1;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

.participant-item__listener-avatar-wrap {
    position: relative;
    display: block;
    width: 90%;
}

.participant-item__muted-badge {
    width: 26px;
    height: 26px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

    .participant-item__muted-badge svg {
        width: 16px;
        height: 16px;
    }


.listener-reaction-badge {
    width: 22px;
    height: 22px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    position: absolute;
    left: -2px;
    bottom: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

    .listener-reaction-badge img {
        width: 13px;
        height: 13px;
    }

.speaker-reaction-badge {
    width: 26px;
    height: 26px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    position: absolute;
    left: -2px;
    bottom: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

    .speaker-reaction-badge img {
        width: 14px;
        height: 14px;
    }

    .participant-item__hand-badge {
        width: 22px;
        height: 22px;
        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16);
        border-radius: 12px;
        position: absolute;
        right: -2px;
        bottom: -2px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: white;
    }

    .participant-item__hand-badge svg {
        width: 14px;
        height: 14px;
    }

.participant-item__avatar {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 26px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.speaking-participant::after {
    opacity: 1;
}

.participant-item__name {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #242424;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
}

.room-content-divider {
    margin: 1.5rem 0;
}

.listener-item .participant-item__avatar {
    border-radius: 24px;
}

.listener-item .participant-item__avatar-wrap {
    width: 90%;
}

.room-footer {
    height: 76px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    border-top: 1px solid #E6E6E6;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: 1rem;
    padding-right: 1rem;
}

.room-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.1);
}

.menu-overlay-enter-active,
.menu-overlay-leave-active {
    transition: opacity 180ms ease;
}

.menu-overlay-enter-from,
.menu-overlay-leave-to {
    opacity: 0;
}

.floating-menu {
    position: fixed;
    z-index: 1000;
}

.floating-menu-enter-active,
.floating-menu-leave-active {
    transition: opacity 180ms ease;
}

.floating-menu-enter-from,
.floating-menu-leave-to {
    opacity: 0;
}

.floating-menu.is-open {
    display: block;
}

#room-info-menu {
    border-radius: 9999px;
    border: 1px solid #E4E4E4;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
}

.room-info__badge {
    padding: 6px 10px 6px 6px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
}

.room-info__badge--participant-count {
    color: #242424;
    background-color: #F6F6F6;
}

.room-info__badge--room-time {
    color: #4B76CC;
    background-color: #F8FAFD;
}

.room-info__badge--internet-status {
    width: 38px;
    height: 34px;
}

.room-info__icon-container {
    border-radius: 50%;
    background-color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .room-info__icon-container svg {
        width: 18px;
        height: 18px;
    }

.room-info__text {
    font-size: 0.8rem;
}

.pinned-link {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background-color: #F6F7F7;
    border-radius: 24px;
    text-decoration: none;
}

.pinned-link__icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 16px;
    color: #5C5C5C;
}

.pinned-link__icon {
    width: 26px;
    height: 26px;
}

.pinned-link__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    text-align: right;
}

.pinned-link__title {
    font-size: 0.8rem;
    color: #474A4B;
    line-height: 1.4;
}

.pinned-link__url {
    font-size: 0.8rem;
    color: #999999;
    line-height: 1.3;
    text-align: right;
}

.pinned-text {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    padding: 14px;
    background-color: #F6F7F7;
    border-radius: 24px;
}

.pinned-text__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pinned-text__title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #5C5C5C;
    line-height: 1.5;
}

.pinned-text__expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    background-color: #EDEEEE;
    border: 1px solid #E5E6E6;
    border-radius: 16px;
    color: #242424;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .pinned-text__expand-btn:hover {
        background-color: #e4e6e5;
    }

.pinned-text__expand-icon {
    width: 22px;
    height: 22px;
}

.pinned-text__text {
    font-size: 0.8rem;
    color: #5C5C5C;
    line-height: 1.4;
    margin: 0;
    padding-top: 12px;
    white-space: pre-line;
}

.pinned-text__expand-content {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 0.25s ease, opacity 0.25s ease;
}

.pinned-text__expand-inner {
    min-height: 0;
    overflow: hidden;
}

.pinned-expand-enter-from,
.pinned-expand-leave-to {
    grid-template-rows: 0fr;
    opacity: 0;
}

.pinned-expand-enter-to,
.pinned-expand-leave-from {
    grid-template-rows: 1fr;
    opacity: 1;
}

.pinned-expand-enter-active,
.pinned-expand-leave-active {
    transition: grid-template-rows 0.25s ease, opacity 0.25s ease;
}


.no-host {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
}

.no-host__image {
    flex-shrink: 0;
    width: 100px;
    height: auto;
    object-fit: contain;
}

.no-host__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.no-host__title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2b2d2e;
}

.no-host__text {
    margin: 0;
    font-size: 0.75rem;
    color: #8a8f91;
}

.recording-icon {
    width: 38px;
    height: 38px;
    background-color: #FEF7F7;
    border: 1px solid #FDEFEF;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ED2E2E;
    cursor: pointer;
    flex-shrink: 0;
}

    .recording-icon svg {
        width: 16px;
        height: 16px;
    }

.participant-item__speaker-title-wrap {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .participant-item__speaker-title-wrap svg {
        width: 12px;
        height: 12px;
        position: relative;
        top: 1px;
    }

.participant-menu {
    width: 204px;
    max-width: 90%;
    background: #fff;
    border-radius: 24px;
    color: #4F4F4F;
}

.participant-menu__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 14px;
    padding-top: 14px;
    padding-bottom: 16px;
}

.participant-menu__avatar {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

    .participant-menu__avatar img {
        width: 100%;
        height: 100%;
        border-radius: 34px;
        object-fit: cover;
        display: block;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

/* آیکون جنسیت */
.participant-menu__gender {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
}

    .participant-menu__gender svg {
        width: 14px;
        height: 14px;
    }

.participant-menu__gender--female {
    color: #B14161;
    background-color: #FCF8F9;
}

.participant-menu__gender--male {
    color: #5484E5;
    background-color: #F8FAFE;
}

.participant-menu__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.participant-menu__name {
    font-size: 0.85rem;
    color: #4F4F4F;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-menu__username {
    font-size: 0.75rem;
    color: #808080;
    text-align: right;
}

.participant-menu__lock {
    width: 16px;
    height: 16px;
    color: #808080;
    flex-shrink: 0;
}

/* ---------- Items ---------- */
.participant-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .participant-menu__list li:last-child .participant-menu__item {
        padding-bottom: 18px;
    }

.participant-menu__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 16px 18px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #4a4a4a;
    text-align: right;
    position: relative;
}

    .participant-menu__item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: #e6e6e6;
    }

    .participant-menu__item:focus-visible {
        outline: 2px solid #9a9a9a;
        outline-offset: -2px;
        border-radius: 8px;
    }

.participant-menu__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.participant-menu__item--danger {
    color: #DC2626;
    font-weight: 500;
}

.footer-btn-container {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F6F6F6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #242424;
}

    .footer-btn svg {
        width: 21px;
        height: 21px;
    }

.footer-btn--danger {
    background-color: #FEF7F7;
    color: #DC2626;
}

.footer-btn--primary {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    border: 1px solid #E2F3EA;
}

.footer-btn--active {
    background-color: #F0F9F4;
    color: #41B170;
}

/* ---------- Header ---------- */
.room-settings__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.room-settings__title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #474A4B;
    margin-right: 6px;
}

.room-settings__record {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px 8px 12px;
    border: 1px solid #FDEFEF;
    border-radius: 999px;
    background: #FEF7F7;
    color: #ED2E2E;
    font-size: 0.85rem;
}

    .room-settings__record svg {
        width: 19px;
        height: 19px;
        flex-shrink: 0;
    }

/* ---------- List ---------- */
.room-settings__list {
    margin-top: 1rem;
}

    .room-settings__list li {
        position: relative;
    }

        /* خط جداکننده ۸۰٪ عرض (شامل خط بالای اولین آیتم) */
        .room-settings__list li::before {
            content: "";
            position: absolute;
            inset: 0;
            height: 1px;
            background: #E6E6E6;
        }

.room-settings__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 3px;
    cursor: pointer;
    font-size: 15px;
    color: #4F4F4F;
    text-align: right;
}

    .room-settings__item:focus-visible,
    .room-settings__end:focus-visible,
    .room-settings__record:focus-visible {
        outline: 2px solid #D8D8D8;
        outline-offset: 2px;
        border-radius: 12px;
    }

.room-settings__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid transparent;
}

    .room-settings__icon svg {
        width: 20px;
        height: 20px;
    }

.room-settings__icon--blue {
    background: #F2F4F8;
    border-color: #E6EAF2;
    color: #5B75A6;
}

.room-settings__icon--green {
    background: var(--primary-color-light);
    border-color: #E2F3EA;
    color: var(--primary-color);
}

.room-settings__icon--gray {
    background: #F6F6F6;
    border-color: #E6E6E6;
    color: #4F4F4F;
}

.room-settings__icon--red {
    background: #FEF7F7;
    border-color: #FCE7E7;
    color: #DC2626;
}

/* ---------- End session ---------- */
.room-settings__end {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 6px;
    padding: 4px;
    border-radius: 16px;
    background: #FEF7F7;
    color: #DC2626;
    font-size: 15px;
    text-align: right;
}

.room-settings__end-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
}

    .room-settings__end-icon svg {
        width: 24px;
        height: 24px;
    }

.end-record__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 6px;
}

.end-record__dummy {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
}

.end-record__back {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #292D32;
    border-radius: 16px;
    background-color: #EEEEEE;
}

    .end-record__back svg {
        width: 20px;
        height: 20px;
    }

.end-record__title {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 500;
    color: #474A4B;
}

.pin-bsh__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 6px;
}

.pin-bsh__dummy {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
}

.pin-bsh__back {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #292D32;
    border-radius: 16px;
    background-color: #EEEEEE;
}

    .pin-bsh__back svg {
        width: 20px;
        height: 20px;
    }

.pin-bsh__title {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 500;
    color: #474A4B;
}

.pin-bsh__btn-container {
    width: 100%;
    display: flex;
    gap: 1rem;
}

.edit-room-bsh__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 6px;
}

.edit-room-bsh__dummy {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
}

.edit-room-bsh__back {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #292D32;
    border-radius: 16px;
    background-color: #EEEEEE;
}

    .edit-room-bsh__back svg {
        width: 20px;
        height: 20px;
    }

.edit-room-bsh__title {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 500;
    color: #474A4B;
}

.blocked-users-bsh__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 6px;
}

.blocked-users-bsh__dummy {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
}

.blocked-users-bsh__back {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #292D32;
    border-radius: 16px;
    background-color: #EEEEEE;
}

    .blocked-users-bsh__back svg {
        width: 20px;
        height: 20px;
    }

.blocked-users-bsh__title {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 500;
    color: #474A4B;
}

#blocked-users-bsh {
    overflow: hidden;
    min-height: 0;
}

.blocked-users-bsh__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.blocked-users-bsh__list {
    flex: 1;
    min-height: 0;
    max-height: min(48dvh, calc(80dvh - 170px));
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .blocked-users-bsh__list::-webkit-scrollbar {
        display: none;
    }

.blocked-users-bsh__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.5rem 0.5rem;
    color: #777777;
    font-size: 0.85rem;
    min-height: 100px;
}

.blocked-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #EEEEEE;
}

.blocked-user__profile {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #F1EFE5;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blocked-user__details {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 0.2rem;
}

.blocked-user__nickname {
    overflow: hidden;
    color: #474A4B;
    font-size: 0.9rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blocked-user__username {
    overflow: hidden;
    color: #888888;
    direction: ltr;
    font-size: 0.75rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blocked-user__unblock {
    flex-shrink: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background-color: #FEF7F7;
    color: #ED2E2E;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FDEFEF;
}

    .blocked-user__unblock:disabled {
        cursor: default;
        opacity: 0.7;
    }


.custom-loader {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    border: 4px solid #f1f1f1;
    border-top-color: var(--primary-color);
    box-sizing: border-box;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.custom-loader--compact {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-width: 2px;
}

.custom-loader--small {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

.custom-loader--medium {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
}

.custom-loader--large {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
}

.custom-loader--primary {
    border-color: rgba(0, 0, 0, 0.05);
    border-top-color: var(--primary-color);
}

.custom-loader--on-primary {
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
}

.custom-loader--danger {
    border-color: #F7DADA;
    border-top-color: #DC2626;
}

.custom-loader--on-danger {
    border-color: rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
}

.more-menu {
    border-radius: 24px;
    background: white;
    display: flex;
    flex-direction: column;
}

.more-menu__button {
    padding: 16px 22px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #4F4F4F;
    font-size: 14px;
    min-width: 210px;
}

.more-menu__button svg {
    width: 22px;
    height: 22px;
}

.more-menu__divider {
    width: 80%;
    align-self: center;
    height: 1px;
    border-radius: 999px;
    border: none;
    background-color: #E6E6E6;
}

.share-room-bsh {

}

.share-room-bsh__title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #474A4B;
    margin-right: 6px;
}

.emoji-menu {
    box-sizing: border-box;
    width: min(304px, calc(100vw - 16px));
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid #E4E4E4;
    border-radius: 20px;
    background-color: white;
}

.emoji-menu__button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: #F6F6F6;
    cursor: pointer;
}

    .emoji-menu__button img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .emoji-menu__button:focus-visible {
        outline: 2px solid #242424;
        outline-offset: 2px;
    }

.custom-video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000000;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 1rem;
    cursor: pointer;
}

.custom-video-box::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    content: "";
    pointer-events: none;
}

.custom-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-video-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12px;
}

.custom-video-overlay svg {
    width: 16px;
    height: 16px;
}

.custom-video-actions-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.35);
}

.video-actions-enter-active,
.video-actions-leave-active {
    transition: opacity 0.2s ease;
}

.video-actions-enter-from,
.video-actions-leave-to {
    opacity: 0;
}

.custom-video-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.custom-video-action-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

    .custom-video-action-button svg {
        width: 20px;
        height: 20px;
    }

    .custom-video-action-button:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 3px;
    }