.cc-page-header {
    margin-bottom: 16px;
}

.cc-page-header h5 {
    margin: 0 0 6px 0;
    font-weight: 600;
    color: #0d6efd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-lead {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    max-width: 720px;
}

.cc-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cc-search-input {
    max-width: 420px;
    min-width: 200px;
    flex: 1 1 200px;
}

.cc-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.cc-meta {
    padding: 10px 14px;
    background: #f8f9ff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #0d6efd;
    font-weight: 500;
}

.cc-table-scroll {
    max-height: calc(100vh - 340px);
    overflow-y: auto;
}

.cc-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    white-space: nowrap;
}

#scheduledTable td:nth-child(1) {
    max-width: 320px;
    word-break: break-word;
}

.cc-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.cc-status.active,
.cc-status.scheduled {
    background: #d1e7dd;
    color: #0f5132;
}

.cc-status.inactive,
.cc-status.draft {
    background: #e2e3e5;
    color: #41464b;
}

.cc-status.cancelled {
    background: #f8d7da;
    color: #842029;
}

.cc-status.sent {
    background: #cff4fc;
    color: #055160;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cc-actions .btn {
    padding: 2px 8px;
    font-size: 12px;
}

.cc-preview-bubble {
    background: #f0f4ff;
    border: 1px solid #d8e2ff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 48px;
}

.cc-empty-row td {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 28px 16px !important;
}
