/* 币种符号工具样式 */

/* 搜索框 */
.currency-search-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.currency-search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    padding-right: 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.currency-search-input:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
}
.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}
.search-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    display: none;
}
.search-clear-btn:hover {
    color: #666;
}
.search-wrapper.has-value .search-clear-btn {
    display: block;
}

/* 表格 */
.currency-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}
.currency-table th,
.currency-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.currency-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}
.currency-table th::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 2px solid #ddd;
}
.currency-table tbody tr:hover {
    background: #f5f8fc;
}
.table-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* 货币符号和代码 */
.currency-symbol {
    font-size: 20px;
    font-weight: bold;
    color: #2c5282;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 4px;
    background: #e8f4fd;
    display: inline-block;
    transition: all 0.2s;
}
.currency-symbol:hover {
    background: #bee3f8;
    transform: scale(1.1);
}
.currency-symbol:active {
    transform: scale(0.95);
}
.currency-code {
    font-family: monospace;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.currency-code:hover {
    background: #e0e7ff;
    color: #4a90d9;
}

/* 复制提示 */
.copy-tip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    display: none;
    pointer-events: none;
}

/* 筛选按钮 */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.filter-btn {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.filter-btn:hover {
    background: #f0f7ff;
    border-color: #4a90d9;
}
.filter-btn.active {
    background: #4a90d9;
    color: #fff;
    border-color: #4a90d9;
}

/* 统计面板 */
.stats-panel {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: #fff;
    margin-bottom: 15px;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 28px;
    font-weight: bold;
}
.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

/* 结果提示 */
.no-result {
    text-align: center;
    padding: 40px;
    color: #999;
}
.result-count {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* AI面板 */
.ai-panel {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}
.ai-panel-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}
.ai-input-box {
    display: flex;
    gap: 10px;
}
.ai-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.ai-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
}
.ai-btn:hover {
    transform: scale(1.05);
}
.ai-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.ai-result {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    display: none;
}
.ai-result.show {
    display: block;
}
.ai-hint {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}
.ai-hint.show {
    display: block;
}
.shortcuts-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* 快速复制面板 */
.quick-copy-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}
.quick-copy-item {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.quick-copy-item:hover {
    background: #e8f4fd;
    border-color: #4a90d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.quick-copy-symbol {
    font-size: 18px;
    font-weight: bold;
    color: #2c5282;
}
.quick-copy-name {
    font-size: 12px;
    color: #666;
}
