.tool-html-entity {
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.tool-html-entity .entity-card {
    border: none;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border-left: 4px solid #0ea5e9;
}

.tool-html-entity .entity-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.tool-html-entity .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.tool-html-entity .form-control:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.tool-html-entity .btn-entity-go {
    background: #0ea5e9;
    color: #fff !important;
    border: none;
    font-weight: 600;
    border-radius: 0.5rem;
}

.tool-html-entity .btn-entity-go:hover,
.tool-html-entity .btn-entity-go:focus {
    background: #0284c7;
    color: #fff !important;
}

@media (max-width: 575.98px) {
    .tool-html-entity .d-flex.gap-2 .btn {
        width: 100%;
    }
}
