/* ── 명단 관리, 배포 히스토리 ── */

.contact-section {
    background: white; border-radius: 16px; border: 1px solid #e2e8f0;
    padding: 20px 24px; margin-top: 16px;
}
.contact-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.contact-header h2 { font-size: 16px; font-weight: 700; color: #1e293b; }
.contact-upload-row {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    padding: 12px 16px; background: #f8fafc; border-radius: 10px;
    border: 1px dashed #cbd5e1; margin-bottom: 16px;
}
.contact-upload-row input[type="file"] { font-size: 13px; }
.contact-upload-row input[type="text"] {
    padding: 7px 10px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 13px; min-width: 140px;
}
.contact-upload-btn {
    padding: 7px 16px; background: #667eea; color: white; border: none;
    border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.contact-upload-btn:hover { background: #5a6fd6; }
.contact-upload-status { font-size: 12px; color: #666; }
.contact-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.contact-table th {
    text-align: left; padding: 8px 12px; color: #64748b; font-weight: 600;
    border-bottom: 2px solid #e2e8f0; font-size: 12px;
}
.contact-table td {
    padding: 10px 12px; border-bottom: 1px solid #f1f5f9; color: #334155;
}
.contact-table tr:hover td { background: #f8fafc; }
.contact-table .contact-delete-btn {
    background: none; border: 1px solid #fecaca; color: #ef4444;
    padding: 4px 10px; border-radius: 5px; font-size: 11px; cursor: pointer;
}
.contact-table .contact-delete-btn:hover { background: #fef2f2; }
.contact-empty { text-align: center; padding: 24px; color: #94a3b8; font-size: 13px; }

/* 배포 히스토리 */
.dist-history-item {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px;
    padding: 10px 12px; transition: all 0.15s; cursor: pointer;
}
.dist-history-item:hover { border-color: #667eea; background: #eef2ff; }
.dist-date { font-size: 12px; color: #334155; font-weight: 600; }
.dist-status { font-size: 11px; font-weight: 600; }
.dist-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.dist-cta { font-size: 12px; color: #667eea; font-weight: 600; }
.dist-history-item:hover .dist-cta { text-decoration: underline; }
.dist-csv-btn {
    display: inline-flex; align-items: center; gap: 4px;
    background: none; border: 1px solid #e2e8f0; color: #64748b;
    padding: 3px 8px; border-radius: 4px; font-size: 11px; cursor: pointer;
    transition: all 0.15s;
}
.dist-csv-btn:hover { border-color: #667eea; color: #667eea; background: white; }
.dist-list-badge {
    font-size: 11px; color: #667eea; background: #eef2ff;
    padding: 1px 6px; border-radius: 3px; margin-left: 6px;
}
.dist-progress-bar {
    height: 4px; background: #e2e8f0; border-radius: 2px; margin-top: 6px; overflow: hidden;
}
.dist-progress-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }
