.dialogue-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dialogue-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.input-section {
    margin-bottom: 2rem;
}

.input-section h2 {
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 1.8rem;
}

.instructions {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
}

#dialogueInput {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    resize: vertical;
}

.primary-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background-color: #357abd;
}

.characters-box {
    margin-top: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    display: none; /* Hidden by default, shown when characters are detected */
}

.characters-box.visible {
    display: block;
}

.characters-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.character-label {
    color: #666;
    font-size: 0.9rem;
}

.characters-list {
    color: #4a90e2;
    font-weight: 500;
}

.output-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.version-container {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.version-header {
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    gap: 1rem;
}

.version-header.visible {
    display: flex;
}

.version-header h3 {
    margin: 0;
    color: #333;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.character-name {
    color: #4a90e2;
    font-weight: 500;
}

.copy-button {
    background: none;
    border: none;
    color: #666;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 0.2rem;
}

.copy-button:hover {
    background-color: #e9ecef;
    color: #4a90e2;
}

.copy-button.copied {
    color: #28a745;
}

.copy-button i {
    font-size: 1.2rem;
}

.output-text {
    white-space: pre-wrap;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {
    .output-section {
        grid-template-columns: 1fr;
    }
    
    .dialogue-container {
        padding: 1rem;
    }
    
    .version-container {
        margin-bottom: 1rem;
    }
} 