.cc-card { padding: 28px; }
.cc-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.cc-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.cc-input-wrap { margin-bottom: 18px; }
.cc-input-wrap label { display: block; font-weight: 600; font-size: .92em; margin-bottom: 8px; }
#ccInput { width: 100%; min-height: 120px; border: 1px solid #ddd; border-radius: 8px; padding: 14px 16px; font-family: "Courier New", monospace; font-size: .9em; line-height: 1.6; resize: vertical; box-sizing: border-box; outline: none; }
#ccInput:focus { border-color: var(--site-light); }

.cc-error { background: var(--site-danger-bg); border: 1px solid var(--site-danger-border); color: var(--site-danger); border-radius: 8px; padding: 10px 14px; font-size: .88em; margin-bottom: 16px; }
.cc-error.hide { display: none; }

.cc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cc-tab-btn { background: #f7f8fa; border: 1px solid #eee; border-radius: 8px; padding: 8px 16px; font-weight: 700; font-size: .86em; color: #6b7280; cursor: pointer; }
.cc-tab-btn.cc-active { background: var(--site-dark); color: #fff; border-color: var(--site-dark); }

.cc-output-wrap { position: relative; }
.cc-code-block { font-family: "Courier New", monospace; font-size: .88em; background: #1e293b; color: #e2e8f0; border-radius: 8px; padding: 18px 20px; white-space: pre; overflow-x: auto; line-height: 1.6; }
.cc-copy-btn { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 5px 14px; font-size: .8em; font-weight: 600; color: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.cc-copy-btn:hover { background: rgba(255,255,255,.2); }
.cc-copy-btn.cc-copied { background: var(--site-success); border-color: var(--site-success); }

@media (max-width: 600px) {
    .cc-tabs { gap: 4px; }
    .cc-tab-btn { padding: 7px 12px; font-size: .8em; }
}
