* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.page {
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #1890ff;
}

.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

.tab-btn.active {
    color: #1890ff;
    border-bottom: 2px solid #1890ff;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 10px;
}

.auth-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.auth-form button {
    padding: 12px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.auth-form button:hover {
    background: #40a9ff;
}

.forgot-password-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.forgot-password-link a {
    color: #1890ff;
    text-decoration: none;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ff4d4f;
    font-size: 14px;
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #1890ff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

#user-info {
    font-size: 14px;
    color: #666;
}

.btn-primary {
    padding: 8px 16px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: #40a9ff;
}

.btn-secondary {
    padding: 8px 16px;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.btn-notification {
    position: relative;
    padding: 8px 16px;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4d4f;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.notification-panel {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 400px;
    max-height: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 1000;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.panel-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.panel-header button:hover {
    color: #666;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.notification-item:hover {
    background: #f5f5f5;
}

.notification-item.unread {
    background: #e6f7ff;
}

.notification-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.notification-time {
    font-size: 12px;
    color: #999;
}

.container {
    padding: 20px;
}

.post-card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.post-card.task-post {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border-left: 4px solid #faad14;
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.post-author {
    font-weight: 500;
    color: #1890ff;
}

.post-time {
    font-size: 12px;
    color: #999;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-media {
    margin-bottom: 10px;
}

.post-media img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
}

.post-file {
    display: inline-block;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
}

.post-detail {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 4px solid transparent;
}

.post-detail.task-detail {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border-left: 4px solid #faad14;
}

.reply-form {
    background: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 回复输入区域 */
.reply-input-area {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 10px;
    min-height: 0;
    align-items: flex-start;
}

.reply-input-area.drag-over {
    background: #e6f7ff;
    border: 2px dashed #1890ff;
    border-radius: 4px;
}

/* 回复输入框 */
.reply-form .reply-message-input {
    flex: 1 1 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    align-self: stretch;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    white-space: pre-wrap;
    word-wrap: break-word;
    outline: none;
}

.reply-form .reply-message-input:empty:before {
    content: attr(placeholder);
    color: #999;
    pointer-events: none;
}

/* 回复输入框中的图片 */
.reply-form .reply-message-input .inline-image {
    display: inline-block;
    max-width: 120px;
    max-height: 120px;
    border-radius: 4px;
    vertical-align: bottom;
    margin: 2px;
    position: relative;
}

.reply-form .reply-message-input .inline-image .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 77, 79, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.reply-form .reply-message-input .inline-image:hover .remove-btn {
    opacity: 1;
}

/* 回复输入框中的文件 */
.reply-form .reply-message-input .inline-file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 2px;
    position: relative;
    font-size: 13px;
    max-width: 200px;
}

.reply-form .reply-message-input .inline-file .file-icon {
    font-size: 14px;
}

.reply-form .reply-message-input .inline-file .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.reply-form .reply-message-input .inline-file .file-size {
    color: #999;
    font-size: 11px;
}

.reply-form .reply-message-input .inline-file .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 77, 79, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.reply-form .reply-message-input .inline-file:hover .remove-btn {
    opacity: 1;
}

/* 回复输入动作区域 */
.reply-input-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    flex-shrink: 0;
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.form-row button {
    flex-shrink: 0;
}

.form-row label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.form-row input[type="file"] {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.reply-card {
    background: white;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.reply-card.highlight-reply {
    background: #fffbe6;
    border: 2px solid #faad14;
    box-shadow: 0 0 10px rgba(250, 173, 20, 0.3);
}

.reply-card .reply-quote {
    background: #f5f5f5;
    padding: 10px;
    margin: 10px 0;
    border-left: 3px solid #1890ff;
    font-size: 13px;
    color: #666;
}

.reply-quote strong {
    color: #333;
}

.reply-quote p {
    margin: 5px 0 0 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.reply-floor {
    display: inline-block;
    background: #e6f7ff;
    color: #1890ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.reply-btn {
    margin-left: auto;
    padding: 4px 12px;
    background: white;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.reply-btn:hover {
    background: #f5f5f5;
    border-color: #1890ff;
    color: #1890ff;
}

.reply-to-info {
    background: #e6f7ff;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: block;
}

.reply-to-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.reply-to-author {
    color: #1890ff;
    font-weight: 500;
}

.reply-to-floor {
    color: #666;
    font-size: 12px;
}

.reply-to-preview {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    font-style: italic;
    word-break: break-all;
}

.cancel-reply-btn {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #666;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cancel-reply-btn:hover {
    background: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 600px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-content h2 {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.modal-content input[type="text"],
.modal-content textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.modal-content textarea {
    min-height: 150px;
    resize: vertical;
}

.modal-content .form-row {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.post-input-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.post-input-area.drag-over {
    background: #e6f7ff;
    border: 2px dashed #1890ff;
    border-radius: 4px;
}

.post-input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.post-message-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    outline: none;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.post-message-input:empty:before {
    content: attr(placeholder);
    color: #999;
    pointer-events: none;
}

.post-message-input .inline-image {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 2px 4px;
    vertical-align: middle;
}

.post-message-input .inline-image img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 4px;
    display: block;
}

.post-message-input .inline-image .remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.post-message-input .inline-image:hover .remove-btn {
    display: flex;
}

.post-message-input .inline-file {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 2px 4px;
    gap: 5px;
    position: relative;
}

.post-message-input .inline-file .file-icon {
    font-size: 16px;
}

.post-message-input .inline-file .file-name {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-message-input .inline-file .file-size {
    color: #999;
    font-size: 12px;
}

.post-message-input .inline-file .remove-btn {
    margin-left: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #999;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.post-message-input .inline-file:hover .remove-btn {
    display: flex;
}

#main-container {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
}

#left-panel {
    width: 60%;
    min-width: 300px;
    max-width: 80%;
    background: white;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ddd;
    position: relative;
    z-index: 1;
}

#resizer {
    width: 5px;
    cursor: col-resize;
    background: #e0e0e0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    position: relative;
    flex-shrink: 0;
}

#resizer:hover {
    background: #1890ff;
}

#resizer::before {
    content: '⋮⋮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
}

#resizer:hover::before {
    color: white;
}

#right-panel {
    flex: 1;
    overflow-y: auto;
    background: #f5f5f5;
    min-width: 400px;
    position: relative;
    z-index: 1;
}

.section.active {
    display: block;
}

.section-tabs {
    display: flex;
    gap: 10px;
}

.section-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-radius: 4px;
}

.section-tab.active {
    background: #1890ff;
    color: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
}

#chat-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    height: calc(100vh - 100px);
}

.chat-window {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header h3 {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
    min-height: 0;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.chat-message.own {
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 60px;
    height: 40px;
    border-radius: 20px;
    background: #1890ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-message-content {
    max-width: 70%;
    min-width: 0;
}

.chat-message-header {
    font-size: 12px;
    color: #999;
    margin-bottom: 3px;
}

.chat-message-author {
    font-weight: 500;
    color: #1890ff;
}

.revoke-btn {
    padding: 2px 8px;
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    margin-left: 8px;
}

.revoke-btn:hover {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

.chat-message.own .chat-message-header {
    text-align: right;
}

.chat-message-body {
    background: white;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    word-wrap: break-word;
}

.chat-message.own .chat-message-body {
    background: #1890ff;
    color: white;
}

.chat-message-image {
    display: block;
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    margin: 5px 0;
}

.chat-message-files {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

.chat-message-content > .chat-file-link {
    display: block;
    margin: 4px 0;
}

.chat-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    max-width: 250px;
    transition: background 0.2s, border-color 0.2s;
}

.chat-file-link:hover {
    background: #e6f7ff;
    border-color: #1890ff;
}

.chat-file-link .file-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.chat-file-link .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-message.own .chat-file-link {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    color: #333;
}

.chat-message.own .chat-file-link:hover {
    background: white;
    border-color: white;
}

.chat-message-time {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.chat-message.own .chat-message-time {
    text-align: right;
}

.chat-form {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: white;
    display: flex;
    flex-direction: row;
    min-height: 80px;
    max-height: 200px;
    overflow: hidden;
}

.chat-form .chat-message-input {
    flex: 1 1 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    align-self: stretch;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    white-space: pre-wrap;
    word-wrap: break-word;
    outline: none;
}

.chat-form .chat-message-input:empty:before {
    content: attr(placeholder);
    color: #999;
    pointer-events: none;
}

.chat-form .chat-message-input img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 4px;
    vertical-align: bottom;
    display: inline-block;
    margin: 2px;
}

.chat-form .chat-message-input .inline-image {
    display: inline-block;
    max-width: 120px;
    max-height: 120px;
    border-radius: 4px;
    vertical-align: bottom;
    margin: 2px;
    position: relative;
}

.chat-form .chat-message-input .inline-image img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 4px;
    display: block;
}

.chat-form .chat-message-input .inline-image .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 77, 79, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.chat-form .chat-message-input .inline-image:hover .remove-btn {
    opacity: 1;
}

.chat-form .chat-message-input .inline-file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 2px;
    position: relative;
    font-size: 13px;
    max-width: 200px;
}

.chat-form .chat-message-input .inline-file .file-icon {
    font-size: 14px;
}

.chat-form .chat-message-input .inline-file .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.chat-form .chat-message-input .inline-file .file-size {
    color: #999;
    font-size: 11px;
    white-space: nowrap;
}

.chat-form .chat-message-input .inline-file .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: rgba(255, 77, 79, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.chat-form .chat-message-input .inline-file:hover .remove-btn {
    opacity: 1;
}

.chat-form .form-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex: 1;
}

.chat-form .btn-primary,
.chat-form .btn-secondary,
.chat-form .send-mode-toggle {
    align-self: center;
}

.chat-resizer {
    height: 10px;
    background: #f0f0f0;
    cursor: ns-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.chat-resizer-handle {
    width: 40px;
    height: 3px;
    background: #ccc;
    border-radius: 2px;
}

.chat-resizer:hover .chat-resizer-handle {
    background: #1890ff;
}

.chat-resizer.dragging {
    background: #e6f7ff;
}

.chat-resizer.dragging .chat-resizer-handle {
    background: #1890ff;
}


.chat-form input[type="file"] {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.send-mode-toggle {
    position: relative;
}

.send-mode-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 5px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 150px;
    z-index: 100;
}

.send-mode-option {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.send-mode-option:hover {
    background: #f5f5f5;
}

.send-mode-option:last-child {
    border-radius: 0 0 4px 4px;
}

.chat-input-area {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 10px;
    min-height: 0;
    align-items: flex-start;
    position: relative;
}

.chat-input-area.drag-over {
    background: #e6f7ff;
    border: 2px dashed #1890ff;
    border-radius: 4px;
}

.chat-input-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    flex-shrink: 0;
}

.chat-input-actions .btn-primary,
.chat-input-actions .send-mode-toggle {
    align-self: stretch;
}

.upload-buttons-row {
    display: flex;
    gap: 4px;
    width: 100%;
}

.upload-buttons-row .file-upload-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 8px;
}

.chat-input-actions .btn-primary {
    white-space: nowrap;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.file-upload-btn:hover {
    background: #f5f5f5;
    border-color: #1890ff;
    color: #1890ff;
}

.file-upload-btn .icon {
    font-size: 16px;
}

.context-menu {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 10000;
    padding: 4px 0;
}

.context-menu-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.context-menu-item:hover {
    background: #f5f5f5;
}

.command-suggestions {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10000;
    margin-bottom: 5px;
}

.command-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command-suggestion-item:hover,
.command-suggestion-item.active {
    background: #007bff;
    color: white;
}

.command-name {
    font-weight: bold;
    margin-right: 10px;
}

.command-description {
    font-size: 12px;
    color: #666;
}

.command-suggestion-item:hover .command-description,
.command-suggestion-item.active .command-description {
    color: rgba(255, 255, 255, 0.8);
}

.mention-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    margin-bottom: 5px;
    width: 300px;
}

.mention-item {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.mention-item:last-child {
    border-bottom: none;
}

.mention-item:hover,
.mention-item.active {
    background: #e6f7ff;
}

.mention-avatar {
    width: 32px;
    height: 32px;
    background: #1890ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.mention-info {
    flex: 1;
    min-width: 0;
}

.mention-nickname {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mention-username {
    font-size: 12px;
    color: #999;
}

.mention-tag {
    display: inline-block;
    background: #e6f7ff;
    color: #1890ff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
    margin: 0 2px;
    white-space: nowrap;
}

.mention {
    color: #1890ff;
    font-weight: 500;
    background: #e6f7ff;
    padding: 1px 4px;
    border-radius: 2px;
}

.chat-message-body .mention {
    color: #1890ff;
    font-weight: 500;
    background: #e6f7ff;
    padding: 1px 4px;
    border-radius: 2px;
}

.sub-replies-container {
    margin-top: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
}

.sub-replies-list {
    margin-bottom: 10px;
}

.sub-replies-container.collapsed .sub-replies-list,
.sub-replies-container.collapsed .sub-replies-pagination {
    display: none;
}

.sub-replies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.sub-replies-count {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.sub-replies-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.sub-replies-toggle:hover {
    background-color: #e0e0e0;
}

.toggle-icon {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    line-height: 1;
}

.sub-reply {
    padding: 10px;
    background: white;
    border-radius: 4px;
    margin-bottom: 8px;
    border-left: 3px solid #1890ff;
}

.sub-reply:last-child {
    margin-bottom: 0;
}

.sub-reply-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reply-to-indicator {
    color: #1890ff;
    font-weight: 500;
    font-size: 14px;
}

.sub-reply-time {
    color: #999;
    font-size: 12px;
}

.sub-reply p {
    color: #333;
    line-height: 1.5;
    font-size: 14px;
}

.sub-replies-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.pagination-info {
    font-size: 12px;
    color: #999;
}

.pagination-nav {
    display: flex;
    gap: 5px;
}

.pagination-btn {
    padding: 4px 10px;
    background: white;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: #f5f5f5;
    border-color: #1890ff;
    color: #1890ff;
}

.pagination-btn.active {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.share-btn {
    margin-left: 10px;
    padding: 4px 12px;
    background: white;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.share-btn:hover {
    background: #f5f5f5;
    border-color: #1890ff;
    color: #1890ff;
}

.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1890ff;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideDownIn 0.3s ease-out;
}

.toast.hidden {
    display: none !important;
}

@keyframes slideDownIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.poll-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.poll-options-container {
    margin-top: 15px;
    max-height: 35vh;
    overflow-y: auto;
}

.poll-options-container.hidden {
    display: none;
}

.poll-config {
    margin-bottom: 15px;
}

.poll-config input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.poll-config input[type="number"] {
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 60px;
    font-size: 14px;
}

.max-choices-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.max-choices-container.hidden {
    display: none;
}

.max-choices-container label {
    font-size: 14px;
    color: #666;
}

#poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.poll-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.poll-option-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn-remove-option {
    padding: 6px 12px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.btn-remove-option:hover {
    background: #cc0000;
}

.btn-remove-option.hidden {
    display: none;
}

#add-poll-option {
    padding: 8px 16px;
    background: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

#add-poll-option:hover {
    background: #e0e0e0;
    border-color: #1890ff;
    color: #1890ff;
}

.poll-container {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.poll-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.poll-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
}

.poll-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.poll-type {
    padding: 2px 8px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 4px;
    font-size: 12px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-option-item:hover {
    background: #f5f5f5;
    border-color: #1890ff;
}

.poll-option-checkbox {
    margin: 0 10px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.poll-option-btn {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    transition: all 0.2s;
}

.poll-option-btn:hover {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
}

.poll-option-btn:active {
    transform: scale(0.98);
}

.poll-option-result {
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.poll-option-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.poll-option-stats {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.poll-progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.poll-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1890ff 0%, #52a8ff 100%);
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

.poll-submit-btn {
    margin-top: 15px;
    width: 100%;
}

.poll-closed,
.poll-voted {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.task-container {
    margin: 20px 0;
    padding: 20px;
    background: #fffbe6;
    border: 2px solid #faad14;
    border-radius: 8px;
}

.task-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd666;
}

.task-number {
    font-size: 14px;
    color: #faad14;
    font-weight: bold;
    margin-bottom: 5px;
}

.task-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.task-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.task-type {
    padding: 2px 8px;
    background: #faad14;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.task-status {
    padding: 2px 8px;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
}

.task-status.pending {
    background: #fff1f0;
    border-color: #ffccc7;
    color: #ff4d4f;
}

.task-status.in_progress {
    background: #e6f7ff;
    border-color: #bae7ff;
    color: #1890ff;
}

.task-status.completed {
    background: #f6ffed;
    border-color: #b7eb8f;
    color: #52c41a;
}

.task-status.cancelled {
    background: #f5f5f5;
    border-color: #d9d9d9;
    color: #999;
}

.task-description {
    margin: 15px 0;
    padding: 12px;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.task-claim-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.task-claim-btn:hover {
    background: linear-gradient(135deg, #ffc53d 0%, #ffd666 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 173, 20, 0.3);
}

.task-claim-btn:active {
    transform: translateY(0);
}

.task-claim-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.task-info {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ffd666;
}

.task-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.task-info-item span {
    font-weight: 500;
    color: #faad14;
}

.task-candidates-container {
    margin: 20px 0;
    padding: 20px;
    background: #fffbe6;
    border: 2px solid #faad14;
    border-radius: 8px;
}

.task-candidates-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #ffd666;
    padding-bottom: 10px;
}

.task-candidates-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 30vh;
    overflow-y: auto;
}

.task-candidate-item {
    background: white;
    border: 1px solid #ffd666;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s;
}

.task-candidate-item:hover {
    border-color: #faad14;
    box-shadow: 0 2px 8px rgba(250, 173, 20, 0.2);
}

.task-candidate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.task-candidate-type {
    padding: 4px 10px;
    background: #faad14;
    color: white;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.task-candidate-hours {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.task-candidate-description {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.task-candidate-claim-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.task-candidate-claim-btn:hover {
    background: linear-gradient(135deg, #ffc53d 0%, #ffd666 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 173, 20, 0.3);
}

.task-candidate-claim-btn:active {
    transform: translateY(0);
}

.task-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.task-options-container {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    max-height: 40vh;
    overflow-y: auto;
}

.task-config {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-config .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.task-config label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.task-config input[type="text"],
.task-config input[type="number"],
.task-config select,
.task-config textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.task-config input:focus,
.task-config select:focus,
.task-config textarea:focus {
    outline: none;
    border-color: #1890ff;
}

.task-config textarea {
    min-height: 80px;
    resize: vertical;
}

.task-candidates-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.task-candidate-row {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.candidate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.candidate-header h4 {
    margin: 0;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.btn-remove-candidate {
    padding: 4px 12px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.btn-remove-candidate:hover {
    background: #cc0000;
}

.candidate-type-select {
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 4px;
}

.candidate-type-select label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.candidate-type-select select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.candidate-custom-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.candidate-custom-fields .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.candidate-custom-fields label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.candidate-custom-fields input[type="text"],
.candidate-custom-fields input[type="number"],
.candidate-custom-fields textarea {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.candidate-custom-fields textarea {
    min-height: 80px;
    resize: vertical;
}

#add-candidate-btn {
    width: auto;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

#add-candidate-btn:hover {
    background: #e0e0e0;
    border-color: #1890ff;
    color: #1890ff;
}

.modal-content::-webkit-scrollbar,
.task-options-container::-webkit-scrollbar,
.poll-options-container::-webkit-scrollbar,
.task-candidates-list::-webkit-scrollbar,
.post-message-input::-webkit-scrollbar,
.reply-message-input::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.modal-content::-webkit-scrollbar-track,
.task-options-container::-webkit-scrollbar-track,
.poll-options-container::-webkit-scrollbar-track,
.task-candidates-list::-webkit-scrollbar-track,
.post-message-input::-webkit-scrollbar-track,
.reply-message-input::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb,
.task-options-container::-webkit-scrollbar-thumb,
.poll-options-container::-webkit-scrollbar-thumb,
.task-candidates-list::-webkit-scrollbar-thumb,
.post-message-input::-webkit-scrollbar-thumb,
.reply-message-input::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.task-options-container::-webkit-scrollbar-thumb:hover,
.poll-options-container::-webkit-scrollbar-thumb:hover,
.task-candidates-list::-webkit-scrollbar-thumb:hover,
.post-message-input::-webkit-scrollbar-thumb:hover,
.reply-message-input::-webkit-scrollbar-thumb:hover,
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo {
        font-size: 16px;
    }

    .nav-right {
        gap: 10px;
    }

    #main-container {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 110px);
        position: relative;
        z-index: 10;
    }

    #left-panel {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        display: none;
        order: 2;
        position: relative;
        z-index: 5;
    }

    #left-panel.active {
        display: flex;
        height: calc(100vh - 110px);
    }

    #right-panel {
        min-width: 100%;
        order: 1;
        height: calc(100vh - 110px);
        position: relative;
        z-index: 5;
    }

    #right-panel.hidden {
        display: none !important;
    }

    #resizer {
        display: none;
    }

    #chat-resizer {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .container {
        padding: 15px;
    }

    .post-card {
        padding: 15px;
    }

    .post-title {
        font-size: 16px;
    }

    .chat-messages {
        padding: 10px;
    }

    .chat-form {
        padding: 10px;
        min-height: auto;
    }

    .chat-message-content {
        max-width: 85%;
    }

    .chat-message-avatar {
        width: 45px;
        height: 30px;
        font-size: 11px;
    }

    .notification-panel {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        top: 55px;
        max-height: 60vh;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 14px;
        font-size: 13px;
    }

    .chat-window {
        height: 100%;
    }

    .chat-header {
        padding: 10px 15px;
    }

    .chat-header h3 {
        font-size: 16px;
    }
}

.mobile-tabs {
    display: none;
    background: white;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    gap: 10px;
    position: relative;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.mobile-tabs .tab-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1001;
    display: inline-block;
    touch-action: manipulation;
}

.mobile-tabs .tab-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
}

@media (max-width: 768px) {
    .mobile-tabs {
        display: flex;
        position: relative;
        z-index: 1000 !important;
    }

    .mobile-tabs .tab-btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent;
    }
}
