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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-dark: #333333;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-primary);
}

.app {
    position: relative;
    min-height: 100vh;
    padding: 20px;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(240, 147, 251, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(118, 75, 162, 0.4) 0%, transparent 70%);
    z-index: -1;
    animation: gradientMove 20s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(2%, 2%) scale(1.05); }
    50% { transform: translate(-1%, 3%) scale(1); }
    75% { transform: translate(-2%, -1%) scale(1.02); }
}

/* 磨砂玻璃卡片 */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 页面布局 */
.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

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

/* 首页样式 */
.home-page {
    padding-top: 40px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.sms-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.balance-icon {
    font-size: 16px;
}

.balance-text {
    font-weight: 500;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.nav-card {
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
}

.nav-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.nav-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 页面头部 */
.page-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 20px;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    margin-right: 16px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.page-header h2 {
    font-size: 22px;
    font-weight: 600;
}

/* 步骤容器 */
.step-container {
    margin-bottom: 24px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--accent-color);
}

/* 选项卡片 */
.options-card {
    padding: 8px;
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.option-item:last-child {
    margin-bottom: 0;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.option-item.selected {
    background: rgba(102, 126, 234, 0.4);
    border: 1px solid rgba(102, 126, 234, 0.6);
}

.option-icon {
    font-size: 24px;
    margin-right: 16px;
}

.option-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.option-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
}

.option-item.selected .option-check {
    opacity: 1;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group select option {
    color: #333;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.date-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range input {
    flex: 1;
}

.date-range span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 搜索框 */
.search-box {
    position: relative;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-top: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

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

.suggestion-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.suggestion-type {
    font-size: 12px;
    color: #667eea;
    margin-right: 8px;
    font-weight: 600;
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-group {
    display: flex;
    gap: 12px;
}

.btn-group .btn-primary,
.btn-group .btn-secondary {
    flex: 1;
}

/* 结果列表 */
.results-container {
    margin-bottom: 20px;
}

.result-card {
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
}

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

.result-title {
    font-size: 16px;
    font-weight: 600;
}

.result-phone {
    font-size: 14px;
    color: #6b2c91 !important;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(107, 44, 145, 0.15);
    transition: all 0.3s ease;
    font-weight: 600;
}

.result-phone:hover {
    background: rgba(107, 44, 145, 0.25);
    color: #4a1a6b !important;
}

.result-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.result-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.result-stats {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
}

.stat-value.sms {
    color: var(--info-color);
}

.stat-value.call {
    color: var(--success-color);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 标签页 */
.tab-nav {
    display: flex;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab-item {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.tab-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

/* 记录列表 */
.records-list {
    margin-bottom: 20px;
}

.record-item {
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
}

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

.record-phone {
    font-size: 15px;
    font-weight: 600;
}

.record-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.record-content {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.record-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.record-order {
    color: var(--accent-color);
}

.record-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.record-status.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.record-status.failed {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

/* 修补列表 */
.repair-list {
    margin-bottom: 20px;
}

.repair-item {
    padding: 16px;
    margin-bottom: 12px;
}

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

.repair-name {
    font-size: 16px;
    font-weight: 600;
}

.repair-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.repair-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.repair-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.phone-tag {
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border-radius: 4px;
    font-size: 12px;
}

.btn-edit {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: var(--primary-color);
    color: white;
}

/* 上传区域 */
.upload-card {
    padding: 24px;
}

.upload-area {
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.upload-area.dragover {
    border-color: var(--accent-color);
    background: rgba(240, 147, 251, 0.1);
}

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

.upload-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 13px;
    color: var(--text-secondary);
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.template-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.template-info h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.template-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.template-info ul {
    list-style: none;
    font-size: 12px;
    color: var(--text-secondary);
}

.template-info li {
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.template-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.import-result {
    margin-top: 20px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.import-result h4 {
    margin-bottom: 12px;
    color: var(--success-color);
}

.import-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.import-stat {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.import-stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.import-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.import-errors {
    max-height: 150px;
    overflow-y: auto;
}

.import-error {
    padding: 8px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--danger-color);
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 16px;
}

.btn-action {
    flex: 1;
    padding: 24px 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-action .icon {
    font-size: 32px;
}

.btn-action span:last-child {
    font-size: 14px;
    font-weight: 500;
}

.btn-action.call {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-action.sms {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 订单详情中的手机号营销按钮 */
.detail-phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    font-weight: 500;
}

.detail-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 短信预览 */
.sms-preview {
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    min-height: 80px;
}

/* 订单详情 */
.detail-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    width: 100px;
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-value {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 响应式优化 */
@media (max-width: 380px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .result-info {
        grid-template-columns: 1fr;
    }
    
    .result-stats {
        flex-direction: column;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 加载遮罩 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
}

/* 批量发送按钮 */
.btn-batch-sms {
    float: right;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-batch-sms:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* 批量发送进度 */
.batch-progress {
    margin-top: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.batch-status {
    max-height: 150px;
    overflow-y: auto;
    margin: 12px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 12px;
}

.status-item {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.status-success {
    color: var(--success-color);
}

.status-error {
    color: var(--danger-color);
}

.status-skip {
    color: var(--text-secondary);
}

/* 数据清理 */
.nav-card-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.nav-card-danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(220, 38, 38, 0.4));
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.clean-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.clean-option {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.clean-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.clean-option-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.clean-option-danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

.clean-option-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.clean-option-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.clean-option-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 短信模板管理 */
.templates-container {
    padding: 20px;
}

.template-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.template-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.template-info {
    flex: 1;
}

.template-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.template-content {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.template-time {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

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

.btn-template {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-template {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-delete-template {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-edit-template:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-delete-template:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.placeholder-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    opacity: 0.8;
}