body {
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.editor-container {
    display: grid;
    gap: 1rem;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    font-family: monospace;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.buttons {
    display: flex;
    gap: 1rem;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: #0066ff;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #0052cc;
}

#output {
    padding: 1rem;
    padding-right: 3rem;
    background: #f5f5f5;
    border-radius: 4px;
    white-space: pre-wrap;
    position: relative;
    min-height: 3rem;
}

.output-container {
    position: relative;
}

.copy-button {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.4rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.2s;
    color: #666;
}

.copy-button:hover {
    opacity: 1;
    background: #e8e8e8;
    color: #333;
    border-color: #ccc;
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.toast.show {
    opacity: 1;
    visibility: visible;
} 
.twitter-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.2s ease;
}

.twitter-link:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
} 