body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0f0f0f;
    color: #f0f0f0;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 10px 20px;
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

#save-indicator {
    font-size: 12px;
    color: #666;
    transition: color 0.3s;
}

.toolbar-global {
    display: flex;
    justify-content: center;
    padding: 10px;
    background: #141414;
}

.container {
    display: flex;
    flex: 1;
    gap: 20px;
    padding: 20px;
}

.editor-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

textarea {
    flex: 1;
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    font-size: 16px;
    font-family: 'Fira Code', monospace;
    /* Fonte mono ajuda no merge */
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: border-color 0.3s;
}

textarea:focus {
    border-color: #6200ee;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-copy {
    background: #333;
    color: #ccc;
    padding: 5px 12px;
    font-size: 12px;
}

.btn-copy:hover {
    background: #444;
    color: #fff;
}

.btn-main {
    background: #6200ee;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
}

.btn-main:hover {
    background: #7c4dff;
    transform: translateY(-1px);
}

/* Prateleira de Tags */
.tags-shelf {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #141414;
    border-radius: 8px;
}

.tag-item {
    background: #333;
    color: #03dac6;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    border: 1px solid #444;
    transition: 0.2s;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-item:hover {
    background: #03dac6;
    color: #000;
    transform: scale(1.05);
}