body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.contacts-tool {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.contacts-tool h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.input-group {
    border: none;
    border-radius: 8px;
    background: transparent;
    transition: all 0.2s;
    position: relative;
    display: flex;
}

.form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px !important;
    background: #fff;
}

.form-control:focus {
    box-shadow: none;
    border-color: #4a90e2;
}

textarea.form-control {
    font-family: monospace;
    padding-bottom: 2.5rem;
    padding-right: 2.5rem;
}

/* 设置区域样式 */
.settings-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.region-select {
    margin-top: 0.5rem;
}

/* 行数统计样式 */
.line-stats {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    width: auto;
    min-width: 80px;
    padding: 2px 8px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.line-stats:hover {
    color: #4a90e2;
    background: #fff;
    border-color: #4a90e2;
}

.line-stats::before {
    content: "\f0c0"; /* Font Awesome的用户组图标 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
}

/* 按钮样式 */
.actions {
    display: flex;
    gap: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .actions {
        flex-direction: column;
    }
    
    .actions button {
        width: 100%;
    }
}

/* 复制成功提示 */
.copy-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
} 