body {
    pointer-events: auto !important;
}

.layui-link {
    text-decoration: underline;
    cursor: pointer;
}

.layui-layer-radius {
    border-radius: 20px;
}

.layui-layer-radius .layui-layer-content {
    border-radius: 20px;
    overflow: hidden;
}

/* ģʹ */
.lg\:absolute.lg\:w-full {
    display: none !important;
}

[data-testid="model-switcher-o1-pro"] {
    display: none !important;
}

.list-dropdown-tabs {
    border-radius: 15px;
    padding: 10px 20px;
    width: 335px;
    background-color: #f9f9f9;
}

.list-dropdown-tabs .layui-row {
    margin: 5px 0;
}

.list-dropdown-tabs .layui-row .width {
    width: 180px;
    text-align: left;
}

[data-testid="model-switcher-o1-pro"] {
    display: none !important;
}

.right-action {
    position: fixed;
    top: 80px;
    right: 0;
    height: 36px;
    line-height: 36px;
    padding-right: 10px;
    background-color: #000;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    cursor: pointer;
    z-index: 2025;
}

.right-action>.right-action-text {
    font-size: 36px;
    line-height: 36px;
    color: #fff;
    padding-left: 10px;
}

.pr-3.init {
    display: none;
}


/* Custom Dialog */
.custom-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2026;
}

.custom-dialog-content {
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    overflow: hidden;
}

.custom-dialog-title {
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    color: #000;
}

.custom-dialog-close {
    position: absolute;
    top: 13px;
    right: 18px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: #000;
}

.custom-dialog-input {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.custom-dialog-btn {
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-dialog-confirm {
    background: #007bff;
    color: #fff;
}

.custom-dialog-cancel {
    background: #ddd;
}

/* Custom Message */
.custom-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1001;
}

/* Custom Dropdown */
.custom-dropdown {
    display: none;
    position: absolute;
    right: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    /* Increased z-index */
    min-width: 260px;
    padding: 10px;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #666666;
    font-size: 14px;
}

.dropdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-col-4 {
    flex: 0 0 33.333%;
}

.dropdown-col-8 {
    flex: 0 0 66.667%;
}

.dropdown-col-6 {
    flex: 0 0 50%;
}

.dropdown-inline {
    display: inline-flex;
    align-items: center;
}

.dropdown-subscribe {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}

.dropdown-actions {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-small {
    font-size: 12px;
}

/* Menu Items */
.menu-row {
    display: flex;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.menu-item:hover {
    background: #f5f5f5;
}

.menu-item-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.menu-item-top:hover {
    background: #f5f5f5;
}

.menu-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.menu-subscribe {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

/* Menu Items */
.menu-row {
    display: flex;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    /* Reduced font size */
}

.menu-item:hover {
    background: #f5f5f5;
}

.pr-3.init,
.pe-3.init {
    display: none;
}