
.url-tool-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.url-tool-header {
    display: flex;
    align-items: center;
    gap: 0.714rem;
    margin-bottom: 0.5rem;
}

.url-tool-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.url-tool-header svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #3a8ffe;
}

.tool-textarea {
    width: 100%;
    min-height: 8rem;
    padding: 0.857rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: 'Consolas', 'Monaco', monospace;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f8fafc;
    color: #2d3748;
}

.tool-textarea:focus {
    outline: none;
    border-color: #3a8ffe;
    box-shadow: 0 0 0 3px rgba(58, 143, 254, 0.1);
    background-color: #fff;
}

.tool-btn-group {
    display: flex;
    gap: 0.714rem;
    flex-wrap: wrap;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    background-color: #3a8ffe;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
}

.tool-btn:hover {
    background-color: #2b7adb;
}

.tool-btn:active {
    transform: scale(0.98);
}

.tool-btn.secondary {
    background-color: #718096;
}

.tool-btn.secondary:hover {
    background-color: #4a5568;
}

.tool-btn svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.label-text {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 500;
}