.tecz-cv-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tecz-cv-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.tecz-cv-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.tecz-cv-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.tecz-cv-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.tecz-cv-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tecz-cv-tab-btn:hover {
    color: #1e293b;
    background: #e2e8f0;
}

.tecz-cv-tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #ffffff;
}

.tecz-cv-body {
    padding: 20px;
}

.tecz-cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tecz-input-col, .tecz-output-col {
    display: flex;
    flex-direction: column;
}

.tecz-cv-grid label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.tecz-mt-15 {
    margin-top: 15px;
}

textarea {
    width: 100%;
    flex-grow: 1;
    min-height: 250px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #0f172a;
    box-sizing: border-box;
    font-family: monospace;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tecz-code-output {
    background: #0f172a;
    color: #38bdf8;
    border-color: #334155;
}

.tecz-code-output:focus {
    border-color: #64748b;
    box-shadow: none;
}

.tecz-radio-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tecz-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    font-weight: normal !important;
}

.tecz-radio input {
    cursor: pointer;
    accent-color: #3b82f6;
}

.tecz-info-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 12px;
    font-size: 0.85rem;
    color: #1e3a8a;
    border-radius: 4px;
}

.tecz-info-box code {
    background: #dbeafe;
    padding: 2px 4px;
    border-radius: 3px;
}

.tecz-help-text {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #64748b;
}

.tecz-action-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.tecz-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.tecz-btn:hover {
    background: #2563eb;
}

.tecz-copy-msg {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .tecz-cv-grid {
        grid-template-columns: 1fr;
    }
    .tecz-cv-tab-btn {
        font-size: 0.75rem;
        padding: 10px 5px;
    }
}