@font-face {
    font-family: 'SourceHanSansSC';
    src: url('../SourceHanSansSC-Medium-2.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

.schedule-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.schedule-dialog {
    background-color: var(--wechat-white);
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 320px;
}

.schedule-dialog h3 {
    margin: 0 0 16px 0;
    font-size: 17px;
    text-align: center;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-form label {
    font-size: 14px;
    color: var(--wechat-text-secondary);
}

.schedule-form input,
.schedule-form textarea {
    padding: 10px 12px;
    border: 1px solid var(--wechat-border);
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.schedule-form textarea {
    resize: none;
}

.schedule-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.schedule-cancel,
.schedule-confirm {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.schedule-cancel {
    background-color: var(--wechat-bg);
    color: var(--wechat-text);
}

.schedule-confirm {
    background-color: var(--wechat-green);
    color: white;
}

.mass-send-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.mass-send-content {
    background-color: var(--wechat-white);
    border-radius: 12px;
    width: 95%;
    max-width: 400px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.mass-send-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 0.5px solid var(--wechat-border);
}

.mass-send-header h3 {
    margin: 0;
    font-size: 17px;
}

.mass-send-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--wechat-text-secondary);
}

.mass-send-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.mass-send-targets h4,
.mass-send-message h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--wechat-text-secondary);
}

.mass-send-target-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.mass-target-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: var(--wechat-bg);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.mass-target-item.selected {
    background-color: var(--wechat-green-light);
    color: var(--wechat-green);
}

.mass-target-item input {
    display: none;
}

.mass-send-message textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--wechat-border);
    border-radius: 8px;
    font-size: 15px;
    resize: none;
    font-family: inherit;
    outline: none;
}

.mass-send-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 0.5px solid var(--wechat-border);
}

.mass-send-footer span {
    font-size: 14px;
    color: var(--wechat-text-secondary);
}

.mass-send-confirm {
    padding: 10px 24px;
    background-color: var(--wechat-green);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.mass-send-confirm:disabled {
    background-color: #C4E8CC;
    cursor: not-allowed;
}

:root {
    --wechat-green: #07C160;
    --wechat-green-light: #E8F8EE;
    --wechat-bg: #EDEDED;
    --wechat-white: #FFFFFF;
    --wechat-text: #191919;
    --wechat-text-secondary: #888888;
    --wechat-border: #E5E5E5;
    --wechat-blue: #576B95;
    --wechat-red: #FA5151;
    --header-height: 56px;
    --input-height: 50px;
}

body {
    font-family: 'SourceHanSansSC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--wechat-bg);
    color: var(--wechat-text);
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
}

#app {
    max-width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--wechat-bg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page.active {
    transform: translateX(0);
}

.chat-header {
    height: var(--header-height);
    background-color: var(--wechat-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 0.5px solid var(--wechat-border);
    flex-shrink: 0;
    position: relative;
}

.chat-header h1 {
    font-size: 17px;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-btn {
    background: none;
    border: none;
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
    color: var(--wechat-text);
}

.header-username {
    font-size: 14px;
    color: #888888;
    margin-right: 8px;
    line-height: 36px;
}

.header-avatar {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07C160, #1AAD19);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
}

.header-menu {
    position: absolute;
    top: 50px;
    right: 12px;
    background-color: var(--wechat-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    min-width: 120px;
    overflow: hidden;
}

.header-menu-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    color: var(--wechat-text);
    cursor: pointer;
}

.header-menu-item:hover {
    background-color: var(--wechat-bg);
}

.header-menu-item:not(:last-child) {
    border-bottom: 0.5px solid var(--wechat-border);
}

.back-btn {
    background: none;
    border: none;
    font-size: 24px;
    padding: 8px;
    cursor: pointer;
    color: var(--wechat-text);
}

.chat-detail-header h1 {
    text-align: left;
    margin-left: 8px;
}

.search-bar {
    padding: 8px 12px;
    background-color: var(--wechat-bg);
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-bar input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background-color: var(--wechat-white);
    font-size: 15px;
    outline: none;
}

.search-bar button {
    background: none;
    border: none;
    font-size: 16px;
    padding: 8px;
    cursor: pointer;
    color: var(--wechat-text-secondary);
}

.conversation-list {
    flex: 1;
    overflow-y: auto;
    background-color: var(--wechat-white);
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--wechat-white);
    border-bottom: 0.5px solid var(--wechat-border);
    cursor: pointer;
    transition: background-color 0.2s;
    -webkit-user-select: none;
    user-select: none;
}

.conversation-item:hover {
    background-color: var(--wechat-bg);
}

.conversation-item.pinned {
    background-color: #F7F7F7;
}

.conversation-avatar {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background-color: var(--wechat-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
    flex-shrink: 0;
    position: relative;
}

.conversation-avatar.all {
    background-color: var(--wechat-green);
}

.conversation-avatar.group {
    background-color: var(--wechat-blue);
}

.conversation-avatar.client {
    background-color: #6467EF;
}

.conversation-avatar.client.offline {
    background-color: #CCCCCC;
}

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--wechat-green);
    border: 2px solid white;
}

.online-dot.offline {
    background-color: #CCCCCC;
}

.conversation-content {
    flex: 1;
    margin-left: 12px;
    overflow: hidden;
}

.conversation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--wechat-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-time {
    font-size: 12px;
    color: var(--wechat-text-secondary);
    flex-shrink: 0;
}

.conversation-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-preview {
    font-size: 14px;
    color: var(--wechat-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.conversation-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--wechat-text-secondary);
    flex-shrink: 0;
}

.count-online {
    color: var(--wechat-green);
}

.message-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background-color: var(--wechat-bg);
}

.message-item {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
}

.message-item.sent {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--wechat-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.message-content {
    max-width: 70%;
    margin: 0 8px;
    margin-top: 20px;
}

.message-bubble {
    padding: 10px 14px;
    border-radius: 4px;
    background-color: var(--wechat-white);
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
    -webkit-user-select: text;
    user-select: text;
}

.message-item.sent .message-bubble {
    background-color: var(--wechat-green-light);
}

.message-bubble.voice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    cursor: pointer;
}

.voice-icon {
    font-size: 18px;
}

.voice-duration {
    font-size: 14px;
    color: var(--wechat-text-secondary);
}

.message-item.sent .voice-icon {
    transform: scaleX(-1);
    order: 2;
}

.message-item.sent .voice-duration {
    order: 1;
}

.message-item:not(.sent) .voice-icon {
    order: 1;
}

.message-item:not(.sent) .voice-duration {
    order: 2;
}

.message-bubble.image {
    padding: 4px;
    background-color: transparent !important;
}

.message-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    cursor: pointer;
}

.message-bubble.file {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    cursor: pointer;
}

.file-icon {
    font-size: 36px;
}

.file-info {
    flex: 1;
    overflow: hidden;
}

.file-name {
    font-size: 14px;
    color: var(--wechat-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 12px;
    color: var(--wechat-text-secondary);
    margin-top: 2px;
}

.message-time {
    font-size: 12px;
    color: var(--wechat-text-secondary);
    text-align: center;
    margin-bottom: 16px;
}

.message-status {
    font-size: 12px;
    color: var(--wechat-text-secondary);
    margin-top: 4px;
    text-align: right;
}

.message-item.sent .message-status {
    text-align: left;
}

.status-icon {
    margin-left: 4px;
}

.status-icon.sending {
    color: var(--wechat-text-secondary);
}

.status-icon.sent {
    color: var(--wechat-green);
}

.status-icon.delivered {
    color: var(--wechat-blue);
}

.status-icon.read {
    color: var(--wechat-green);
}

.status-icon.failed {
    color: var(--wechat-red);
}

.input-area {
    height: auto;
    min-height: var(--input-height);
    background-color: #F7F7F7;
    border-top: 0.5px solid var(--wechat-border);
    display: flex;
    align-items: flex-end;
    padding: 8px 12px;
    gap: 8px;
    flex-shrink: 0;
}

.input-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: none;
    background-color: var(--wechat-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.text-input-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    min-width: 0;
    position: relative;
}

.text-input-wrapper textarea {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    background-color: var(--wechat-white);
    font-size: 15px;
    resize: none;
    max-height: 100px;
    outline: none;
    font-family: inherit;
    min-width: 0;
    width: 0;
}

.send-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: var(--wechat-green);
    color: white;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.send-btn:disabled {
    background-color: #C4E8CC;
    cursor: not-allowed;
}

.voice-input-wrapper {
    flex: 1;
}

.voice-record-btn {
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 4px;
    background-color: var(--wechat-white);
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.voice-record-btn.recording {
    background-color: #E8E8E8;
}

.voice-record-btn.cancel {
    background-color: var(--wechat-red);
    color: white;
}

.more-panel {
    background-color: #F7F7F7;
    border-top: 0.5px solid var(--wechat-border);
    padding: 16px;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.more-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
}

.more-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background-color: var(--wechat-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-item span:last-child {
    font-size: 12px;
    color: var(--wechat-text);
}

.voice-cancel-tip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
}

.cancel-tip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cancel-icon {
    font-size: 40px;
}

.context-menu {
    position: fixed;
    background-color: var(--wechat-white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    z-index: 1000;
    overflow: hidden;
}

.context-menu-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 0.5px solid var(--wechat-border);
}

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

.context-menu-item:hover {
    background-color: var(--wechat-bg);
}

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.notification.show {
    opacity: 1;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--wechat-text-secondary);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--wechat-text-secondary);
    padding: 40px;
    text-align: center;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.date-divider {
    text-align: center;
    margin: 16px 0;
    font-size: 12px;
    color: var(--wechat-text-secondary);
}

.date-divider span {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.load-more-btn {
    text-align: center;
    padding: 12px;
    color: #07C160;
    cursor: pointer;
    font-size: 14px;
    margin: 8px 0;
}

.load-more-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.no-more-records {
    text-align: center;
    padding: 12px;
    color: #999;
    font-size: 12px;
    margin: 8px 0;
}

@media (max-width: 480px) {
    .chat-header h1 {
        font-size: 16px;
    }
    
    .conversation-avatar {
        width: 44px;
        height: 44px;
    }
    
    .message-content {
        max-width: 75%;
    }
    
    .mass-send-content {
        width: 98%;
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .mass-send-header {
        padding: 12px 15px;
    }
    
    .mass-send-header h3 {
        font-size: 15px;
    }
    
    .widget-settings-body {
        padding: 12px !important;
    }
    
    .card-setting-item h4 {
        font-size: 14px !important;
    }
}

@media (min-width: 768px) {
    #app {
        max-width: 500px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
}

.guide-body h4 {
    color: var(--wechat-green);
    margin: 16px 0 8px 0;
    font-size: 15px;
}

.guide-body h4:first-child {
    margin-top: 0;
}

.guide-body p {
    color: var(--wechat-text-primary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.guide-body ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.guide-body li {
    color: var(--wechat-text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.about-body h2 {
    font-size: 20px;
}

.desktop-type-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.desktop-type-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 80px;
}

.desktop-type-btn:hover {
    border-color: #07C160;
    background: #f0fff4;
}

.desktop-type-btn.selected {
    border-color: #07C160;
    background: #e8f5e9;
}

.desktop-type-btn .type-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.desktop-type-btn .type-label {
    font-size: 12px;
    color: #333;
}

.desktop-template-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
}

.desktop-template-item {
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.desktop-template-item:hover {
    background: #e8f5e9;
}

.desktop-template-item .template-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.desktop-template-item .template-preview {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-wrapper {
    margin: 8px 12px;
}

.feedback-message {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #07C160;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.feedback-client {
    font-size: 14px;
    font-weight: 600;
    color: #07C160;
}

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

.feedback-content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.quick-commands {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    animation: slideUp 0.2s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-commands-title {
    padding: 10px 12px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-commands-list {
    padding: 0 6px 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.quick-command-item {
    padding: 8px 10px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f5f5f5;
}

.quick-command-item:hover {
    background: #07C160;
    color: white;
    transform: scale(1.02);
}

.quick-command-item:active {
    transform: scale(0.98);
}

.group-members-bar {
    background-color: var(--wechat-bg);
    border-bottom: 0.5px solid var(--wechat-border);
    padding: 8px 16px;
    flex-shrink: 0;
}

.group-members-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.group-members-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    max-height: 32px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.group-members-list.expanded {
    max-height: 200px;
}

.group-member-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background-color: var(--wechat-white);
    border-radius: 12px;
    font-size: 12px;
    color: var(--wechat-text);
    white-space: nowrap;
}

.group-member-tag .member-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
}

.group-member-tag .member-status.online {
    background-color: #07C160;
}

.group-member-tag .member-status.offline {
    background-color: #ccc;
}

.group-members-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: none;
    border: none;
    font-size: 12px;
    color: var(--wechat-text-secondary);
    cursor: pointer;
    white-space: nowrap;
}

.group-members-toggle:hover {
    color: var(--wechat-green);
}

.group-members-toggle svg {
    transition: transform 0.3s ease;
}

.group-members-toggle.expanded svg {
    transform: rotate(180deg);
}

.upload-progress-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    min-width: 280px;
}

.upload-progress-content {
    text-align: center;
}

.upload-filename {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    word-break: break-all;
}

.upload-size {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.upload-progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #07C160, #06AD56);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.upload-percent {
    font-size: 14px;
    font-weight: 600;
    color: #07C160;
}
