/* rot13.css */

.rot13-main { max-width: 860px; }

.rot-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.rot-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rot-mid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1.8rem; /* align with textarea top */
    flex-shrink: 0;
}

.rot-btn {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
}

.secondary-btn { background: #6c757d; }
.secondary-btn:hover { background: #545b62; }

.copy-btn {
    align-self: flex-start;
    margin-top: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-main);
    transition: background 0.15s;
}
.copy-btn:hover { background: var(--color-primary-dk); }
.copy-btn.copied { background: #28a745; }

.hint-text {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 600px) {
    .rot-layout { flex-direction: column; }
    .rot-mid {
        flex-direction: row;
        padding-top: 0;
        justify-content: center;
    }
}
