.netdisk-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 8px;
}

.netdisk-container:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.netdisk-reply-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
    margin: 10px 0;
    color: #666;
    font-size: 16px;
    gap: 8px;
}

.netdisk-reply-notice a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.netdisk-reply-notice a:hover {
    text-decoration: underline;
}

.netdisk-left {
    display: flex;
    align-items: center;
}

.netdisk-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.netdisk-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.netdisk-download {
    width: 32px;
    height: 32px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.netdisk-download:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.netdisk-download svg {
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
}

.netdisk-download:hover svg {
    transform: scale(1.1);
}

/* Modal styles */
.fxz-netdisk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.fxz-netdisk-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.netdisk-modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 480px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.netdisk-modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.netdisk-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.netdisk-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.netdisk-modal-close:hover {
    color: #333;
}

.netdisk-modal-item {
    margin: 16px 0;
}

.netdisk-modal-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.netdisk-modal-value {
    display: flex;
    align-items: center;
}

.netdisk-modal-value.full { width: 100%; }
.btn-netdisk-fast {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ff7a18 0%, #ff5e62 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(255, 94, 98, 0.3);
}
.btn-netdisk-fast:hover { filter: brightness(1.05); }

.netdisk-modal-value input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.netdisk-modal-value input:focus {
    outline: none;
    border-color: #4c6ef5;
}

.netdisk-modal-footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.netdisk-modal-footer button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
}

.netdisk-modal-footer .btn-primary {
    background: #4c6ef5;
    color: white;
    border: none;
}

.netdisk-modal-footer .btn-primary:hover {
    background: #364fc7;
}

.netdisk-modal-footer .btn-secondary {
    background: #e9ecef;
    color: #666;
    border: none;
}

.netdisk-modal-footer .btn-secondary:hover {
    background: #dee2e6;
    color: #333;
}

/* 编辑器工具栏图标 */
.edui-icon-cloud-upload {
    background: url('../img/cloud-upload.svg') no-repeat center center !important;
    background-size: 20px 20px !important;
}

.edui-btn-toolbar .edui-btn-netdisk {
    display: inline-block;
    margin: 0 1px;
    vertical-align: top;
}

#netdisk-insert-btn.edui-button {
    margin: 2px 1px;
    padding: 0;
    cursor: pointer;
    display: inline-block;
}

#netdisk-insert-btn .edui-button-wrap {
    padding: 0 3px;
    height: 20px;
    line-height: 20px;
    border: 1px solid transparent;
}

#netdisk-insert-btn .edui-button-wrap:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    border-radius: 2px;
}

/* 通用按钮样式（非编辑器环境） */
#netdisk-insert-btn.btn-netdisk-insert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #4c6ef5 0%, #647dee 100%);
    border-radius: 4px;
    border: none;
    text-decoration: none;
}
#netdisk-insert-btn.btn-netdisk-insert:hover {
    text-decoration: none;
    filter: brightness(1.03);
}

/* 修复移动端显示 */
@media (max-width: 768px) {
    .netdisk-modal-content {
        width: calc(100% - 32px);
        margin: 16px;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }
}

/* 下载区域样式 */
.netdisk-section {
    margin: 20px 0;
}

.netdisk-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    position: relative;
}

.netdisk-section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #4c6ef5;
}

.netdisk-section-title svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.netdisk-section-content {
    padding: 0;
} 