.uuid-tool {
    width: 100%;
}

/* ===== 工具描述 ===== */
.uuid-tool .tool-description {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #4a90d9;
}

.uuid-tool .tool-description strong {
    color: #333;
}

/* ===== 控制区 ===== */
.uuid-tool .control-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.uuid-tool .control-row label {
    font-weight: 500;
    color: #333;
}

.uuid-tool .control-row select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    outline: none;
}

.uuid-tool .control-row select:focus {
    border-color: #4a90d9;
}

/* ===== 按钮 ===== */
.uuid-tool .btn-primary {
    padding: 8px 24px;
    background: #4a90d9;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.uuid-tool .btn-primary:hover {
    background: #357abd;
}

.uuid-tool .btn-secondary {
    padding: 8px 20px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.uuid-tool .btn-secondary:hover {
    background: #e0e0e0;
}

/* ===== 结果区 ===== */
.uuid-tool .uuid-result {
    margin-top: 16px;
    min-height: 120px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 16px;
    background: #fafafa;
}

.uuid-tool .uuid-empty {
    color: #999;
    text-align: center;
    padding: 40px 0;
}

.uuid-tool .uuid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid #f0f0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: background 0.2s;
}

.uuid-tool .uuid-item:hover {
    background: #f5f8ff;
    border-color: #d0e0ff;
}

.uuid-tool .uuid-item .uuid-text {
    color: #333;
    word-break: break-all;
    user-select: all;
}

.uuid-tool .uuid-item .uuid-copy-btn {
    padding: 2px 12px;
    font-size: 12px;
    background: #e8f0fe;
    color: #4a90d9;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}

.uuid-tool .uuid-item .uuid-copy-btn:hover {
    background: #d0e4ff;
}

.uuid-tool .uuid-item .uuid-copy-btn.copied {
    background: #d4edda;
    color: #28a745;
}

/* ===== Toast 提示 ===== */
.uuid-tool .uuid-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 999;
}

.uuid-tool .uuid-toast.show {
    opacity: 1;
}

/* ===== 使用说明 ===== */
.uuid-tool .tool-guide {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.uuid-tool .tool-guide h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.uuid-tool .guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.uuid-tool .guide-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px 18px;
}

.uuid-tool .guide-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.uuid-tool .guide-item p,
.uuid-tool .guide-item li {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.uuid-tool .guide-item ul,
.uuid-tool .guide-item ol {
    padding-left: 20px;
    margin: 4px 0;
}

.uuid-tool .guide-item li {
    margin-bottom: 2px;
}

.uuid-tool .guide-item code {
    background: #e9ecef;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #d63384;
    word-break: break-all;
}

/* ===== 响应式 ===== */
@media (max-width: 600px) {
    .uuid-tool .control-row {
        flex-direction: column;
        align-items: stretch;
    }
    .uuid-tool .uuid-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .uuid-tool .uuid-item .uuid-copy-btn {
        align-self: flex-end;
    }
    .uuid-tool .guide-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 底部栏（复制全部） ===== */
.uuid-tool .uuid-bottom-bar {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 10px 16px;
    background: #f0f4fa;
    border-radius: 6px;
    border: 1px solid #e0e8f0;
}

.uuid-tool .uuid-bottom-bar .btn-secondary {
    padding: 6px 20px;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.uuid-tool .uuid-bottom-bar .btn-secondary:hover {
    background: #e8ecf0;
    border-color: #aaa;
}

.uuid-tool .uuid-bottom-bar .uuid-count-info {
    font-size: 13px;
    color: #666;
}

@media (max-width: 600px) {
    .uuid-tool .uuid-bottom-bar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        text-align: center;
    }
}