:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --warning: #f72585;
    --gray: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

.tcc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tcc-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.tcc-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tcc-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.tcc-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .tcc-main-content {
        grid-template-columns: 1fr 1fr;
    }
}

.tcc-input-section, .tcc-output-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.tcc-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tcc-section-title i {
    font-size: 1.2rem;
}

.tcc-textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition);
}

.tcc-textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.tcc-file-upload {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tcc-file-upload label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tcc-file-upload label:hover {
    background: #e9ecef;
}

.tcc-file-upload input {
    display: none;
}

.tcc-case-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tcc-case-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tcc-case-option:hover {
    background: #e9ecef;
}

.tcc-case-option.active {
    background: rgba(67, 97, 238, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.tcc-case-option i {
    font-size: 1.2rem;
}

.tcc-action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tcc-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tcc-btn-primary {
    background: var(--primary);
    color: white;
}

.tcc-btn-primary:hover {
    background: var(--primary-dark);
}

.tcc-btn-secondary {
    background: var(--light);
    color: var(--dark);
}

.tcc-btn-secondary:hover {
    background: #e9ecef;
}

.tcc-btn-success {
    background: var(--success);
    color: white;
}

.tcc-btn-success:hover {
    background: #3ab0d9;
}

.tcc-output-container {
    position: relative;
}

.tcc-output-text {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    background: var(--light);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.tcc-char-count {
    margin-top: 0.5rem;
    text-align: right;
    color: var(--gray);
    font-size: 0.9rem;
}

.tcc-article-section {
    margin-top: 3rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.tcc-article-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--light);
    padding-bottom: 0.5rem;
}

.tcc-article-section h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--secondary);
}

.tcc-article-section p {
    margin-bottom: 1rem;
}

.tcc-faq-item {
    margin-bottom: 1.5rem;
}

.tcc-faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tcc-footer {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
    background: var(--dark);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.tcc-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--success);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 10000;
}

.tcc-notification.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .tcc-title {
        font-size: 2rem;
    }
    
    .tcc-case-options {
        grid-template-columns: 1fr;
    }
    
    .tcc-action-buttons {
        flex-direction: column;
    }
    
    .tcc-btn {
        width: 100%;
        justify-content: center;
    }
}